Hi,
I used nfs to mount the root file system and had some problems.
steps are as follows:
sudo apt-get install nfs-kernel-server
set the static IP address of host
Add rootfs path in “/etc/exports”:
/home/…/Linux_for_Tegra/rootfs *(rw,sync,no_subtree_check,no_root_squash)
sudo /etc/init.d/nfs-kernel-server restart
Flash:
$ sudo ./flash.sh -N [host ip address]:/home/…/Linux_for_Tegra/rootfs jetson-xavier eth0
Target device information is displayed:
IP-Config : Retrying forever (NFS root) …
Then I re-specify the IP address of the target device
$ sudo ./flash.sh -N [host ip address]:/home/…/Linux_for_Tegra/rootfs [ -n target ip:host ip:gateway ip:netmask ] jetson-xavier eth0
But the result is the same as before.
I have a few questions that I’m not clear about
1.Power On the board and hit a key to stop the U-Boot from continuing, setenv commond not found.
Did NV change the Uboot so that only flash can be used to specify the IP address of tegra device?
Thank you very much for your reply.
I understand that TX2 uses uboot and Xavier uses cboot.
1.The previous post was run on Xavier(I also used this method on TX2 at the time and it was obviously wrong )
2.Now I am using uboot on TX2, but when my host and TX2 are connected through network cable, static IP cannot be configured on the host, and “Cable Unplugged” is displayed.
I’m using ubuntu18.04 for host
In addition, I also set ipaddr and serverip through setenv, but failed to ping