TX2 boot entirely from NFS

I’m actually booting my TX2 dev kits (I’ve 3 of them) like this:

sudo ./flash.sh -n 10.1.1.11:10.1.1.1:10.1.1.1:255.255.240.0 -N 10.1.1.1:/srv/nfs/tx2-1 jetson-xavier-nx-devkit-tx2-nx

It works fine but the kernel is booted from the eMMC. I would like to have the TX2 booting entirely from NFS?

Is there a way to accomplish this (by tweaking u or c-boot maybe)?

If not, is there a way to flash the kernel from a nfs booted TX2 ?

Thanks for your precious help.

Hi,

That is not supported.
You can only mounts NFS as rootfs, but the kernel image will still be loaded from the eMMC.

I’m not sure what you are referring to here.
You mean how to update the kernel image on the eMMC?

You mean how to update the kernel image on the eMMC?

Yes. The idea would be to be able to upgrade the kernel without reflashing it manually, so from the TX2 itself.

Hi,

I think you can mount the rootfs on the eMMC so you can access it, and replace the file /boot/Image.
Or for a fail-safe way, create a new entry in your extlinux.conf so you can switch back to the backup one in case the new kernel fails to work.

1 Like

Indeed. rsyncing /boot from NFS to mmc /boot and tweaking extlinux.conf did the trick.
Thank you very much.

1 Like