Jeson Orin Nano, NVME with USB boot

Good Day

I am trying to achieve the following on my Jetson Orin Board.

I want my board to normally run+boot from NVME, but when a USB is present (and valid partitions etc) to boot from USB. My intended use for this is to create a “flashing USB” that will be able to update the nvme of my running boards. So board running old rootfs, install USB and reboot, boots to USB that then flashes nvme to newer.

I am using a Jetson Orin Nano (P3768-0003) on JP6.1, I am currently flashing my board with

sudo ./flash.sh jetson-orin-nano-devkit-nvme internal

From the …/JetPack_6.1_Linux_JETSON_ORIN_NANO_8GB/Linux_for_Tegra/ directory

I have tried adapting this to

sudo ADDITIONAL_DTB_OVERLAY=“BootOrderUsb.dtbo” ./flash.sh jetson-orin-nano-devkit-nvme internal (intention is to get board to prioritize USB)

And then “flashing” my USB with

sudo BOARDID=3768 BOARDSKU=0003 FAB=301 ./tools/kernel_flash/l4t_initrd_flash.sh -c tools/kernel_flash//flash_l4t_t234_nvme.xml -S 20GiB --external-device sda1 --direct sdb jetson-orin-nano-devkit-nvme external (USB is /dev/sdb on HOST)

However the system is not booting, it boots without the USB fitted but when fitting USB system is completely unresponsive

Hi,

Please make sure the commands executed successfully.
Note that the default root filesystem size may exceed 57 GiB.

Thanks