TX2 and xavier mount the root filesystem from an NFS server

Hi,
I used nfs to mount the root file system and had some problems.
steps are as follows:

  1. sudo apt-get install nfs-kernel-server
    set the static IP address of host
  2. Add rootfs path in “/etc/exports”:
    /home/…/Linux_for_Tegra/rootfs *(rw,sync,no_subtree_check,no_root_squash)
  3. sudo /etc/init.d/nfs-kernel-server restart
  4. 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?

Hi,

What is the exact board you want to ask this question? You filed this issue in TX2 forum but your board config is jetson-xaver.

Also, jetson-xavier has not uboot. Uboot is only on TX2 series and Nano.

Hi,Wayne

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

Hi,

That method you see in document has nothing to do with uboot. Uboot still gets the kernel from emmc.

But the kernel from emmc will mount the rootfs from the NFS server.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.