RAM boot to NFS failed

Hi

I follow below step on Jetson Nano. But I failed to flash.

To RAM boot to NFS
1.Put the device into reset/recovery mode.
•Power on the carrier board and hold the RECOVERY button.
•Then press the RESET button.
2.Execute the command:
sudo ./flash.sh -N <ip-addr-of-linux-host>:/<path-to-NFS-rootfs> --rcm-boot <platform> eth0
Where:
•<ip_addr> is the IP address of the host system
•<root_path> is the path to the NFS rootfs
•<platform> is the target’s platform type: nano, jetson-xavier, tx2, or tx1

Here is the command i used

sudo ./flash.sh -N 192.168.86.145:/nfsroot --rcm-boot jetson-nano-qspi-sd eth0

And I got this err

opying cfgfile(/home/terry/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_spi_sd_p3448.xml) to flash.xml… done.
copying flasher(/home/terry/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/home/terry/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --odmdata 0x94000 --bldtb tegra210-p3448-0000-p3449-0000-a02.dtb --applet nvtboot_recovery.bin --cmd “rcmboot” --cfg flash.xml --chip 0x21 kernel boot.img; kernel_dtb tegra210-p3448-0000-p3449-0000-a02.dtb; sce_fw ; bootloader_dtb tegra210-p3448-0000-p3449-0000-a02.dtb" --bins “EBT cboot.bin; DTB tegra210-p3448-0000-p3449-0000-a02.dtb”
saving flash command in /home/terry/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/terry/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
./flash.sh: eval: line 2412: unexpected EOF while looking for matching `"’
./flash.sh: eval: line 2413: syntax error: unexpected end of file
Failed flashing t210ref.

did I put the right board name ? it is same name I use to flash to sdcard.

Thanks

Hi terry8uwg2,

Please following below steps to NFS boot:

sudo apt-get install nfs-kernel-server
Add rootfs path in "/etc/exports":
  example: /home/username/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/rootfs/
sudo /etc/init.d/nfs-kernel-server restart
sudo ./flash.sh -N 192.168.86.145:/home/username/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/rootfs/ jetson-nano-qspi-sd eth0

Hi

So no need give --rcm-boot?

Hi terry8uwg2,

The “–rcm-boot/RAM boot” is not supported on T210 based platforms.
We will modify the L4T documentation.
Sorry for inconvenience.

hello carolyuu,
I did this in accordance with the instructions for the jetson tx2 board,

sudo apt-get install nfs-kernel-server nfs-common portmap

sudo gedit /etc/exports

add this line::

/home/user/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/ *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)

sudo /etc/init.d/nfs-kernel-server restart

sudo ./flash.sh -N 10.42.0.222:/home/user/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/ jetson-tx2 eth0

it boot from nfs host(10.42.0.222) But at this point it stops with the following message…

┌───────────────────────────┤ Who are you? ├────────────────────────────┐
   │                                                                       │
   │ You entered a password that consists of less than eight characters,   │
   │ which is considered too weak. You should choose a stronger password.  │
   │                                                                       │
   │ Use weak password?                                                    │
   │                                                                       │
   │                   <Yes>                      <No>                     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘

[  275.965325] nfs: server 10.42.0.222 not responding, still trying
[  275.965331] nfs: server 10.42.0.222 not responding, still trying
[  275.965340] nfs: server 10.42.0.222 not responding, still trying
[  281.822703] nfs: server 10.42.0.222 not responding, still trying
[  282.590892] nfs: server 10.42.0.222 not responding, still trying
[  302.595604] nfs: server 10.42.0.222 not responding, still trying
[  327.177526] nfs: server 10.42.0.222 not responding, still trying

You can guide me!!

Hi hhami.2040,

Please check you have below path:

/home/user/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/

This is set your local machine rootfs folder path.

Hi carolyuu,
I don’t understand what you mean??
I must,how set it??
please help me!!

Hi hhami.2040,

$ sudo gedit /etc/exports
add this line::
/home/<b>user</b>/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/ *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
<b>--> Please make sure the path is correct.</b>
$ sudo /etc/init.d/nfs-kernel-server restart
Execute the command:
$ sudo ./flash.sh -N <ip-addr-of-linux-host>:/<path-to-NFS-rootfs> <platform> eth0
Where:
•<ip_addr> is the IP address of the host system
•<root_path> is the path to the NFS rootfs
•<platform> is the target’s platform type: nano, jetson-xavier, tx2, or tx1
Example:
$ sudo ./flash.sh -N <b>10.42.0.222</b>:/home/user/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3310/Linux_for_Tegra/rootfs/ jetson-tx2 eth0
<b>--> Please make sure the ip address of your host machine</b>

You can also check L4T documentation.