Boot from QSPI/NFS on Orin NX EVK

Hi, we are working on the Orin NX 16GB SOM module. We have flashed the NVMe with the latest version [L4T 35.4.1 (Jetpack 5.1.2)]. We have implemented fail-safe recovery on the board. Currently both Primary and Recovery filesystem are in NVMe but, we required that to be in different storage mediums like Primary on NVMe and Recovery on QSPI/NFS).

Is it possible to use the QSPI as a boot medium? or is it possible to boot via NFS on Orin NX UEFI?

Your input on this is very helpful to us.

Hi karthick_kk,

Are you using the devkit or custom board for Orin NX?

The latest release should be Jetpack 5.1.3(L4T R35.5.0).

Do you mean the bootchain a/b? If so, it has been enabled by default.

If you are talking about redundant rootfs, then it is not supported for QSPI since the storage in QSPI is too small to mount root file system.

The bootchain has been included in QSPI already. You can check its partition layout file(flash_t234_qspi.xml)for detailed partitions included.

Hi @KevinFFF, Thanks for the response. We are using Nvidia Devkit and using 5.1.2 ver.

Yes, QSPI is too small to mount root file system but we don’t need to mount the RootFS on QSPI. We have 64MB of QSPI, Is it possible to hold Kernel Image(30MB), dtb(250kib) & initrd(10Mb) on it and boot via QSPI? or Boot via TFTP(Image,dtb & FS from my Host PC)? Bacause in our production board, there is no possible to use a/b. Should use different boot medium for Primary & Recovery.

Please share your comments on it. This will be really helpful.

There’re Kernel Image/DTB in the partitions could be loaded if it doesn’t load them from rootfs.

I think you can refer to the DTB Support for details.

Hi @KevinFFF ,

Thanks for the update.

Yes, we could boot Image & dtb from the Recovery partition/GRUB conf but, what about the filesystem? Is that possible to load initrd into QSPI or boot via NFS filesystem is possible in Orin NX UEFI?

What is the procedure for adding my application/script(used for update Primary FS from Recovery FS) into recovery partition FS? Please share any reference links/document regarding recovery partition.

Please refer to the following instruction for this use case.
Flashing for NFS as Root

I’m not clear about this.
You would need the boot device for root filesystem like eMMC, SD, NVMe, USB Storage, Network…etc.

Hi @KevinFFF ,

Thanks for the reply. We have analysed the link which is for flashing the board via NFS. Here NFS(eth0) act as flashing medium instead of USB.

What we are expecting is “Booting Orin NX from QSIP/NFS”. For Example, Image/DTB on QSPI and Rootfs on NFS. We could boot via NFS in old version kernel via u-boot. Now we want to know, Do we pass the bootargs as /nfs/rootfs or Change extlinux.conf with NFS argument and boot via NFS on UEFI?

As my understanding, it would also boot from NFS after you use that command to flash.
That link is for JP5.1.2, but it seems some contents are missing.
You can also refer to the guide in JP6.0GA. ( Flashing Support — NVIDIA Jetson Linux Developer Guide 1 documentation)

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