How to flash Orin NX 8GB on Xavier NX devkit?

Hello everyone,

I am hoping to flash my Orin NX 8G device on Xavier NX devkit or my carrier board. The JetPack version is R35.3.1. I am unsure of which command to use.

Specifically, I am wondering whether I should use the
“sudo ./flash jetson-orin-nano-devkit external” command
or the “sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 jetson-orin-nano-devkit internal”
command to complete the flash process. Can anyone provide some insights, Thanks.

I am not sure what ‘only supported via l4t_initrd_flash.sh’ means.
Is means I can not use ./flash.sh?

Hi Jerry-W,

Yes, Orin NX does not have internal eMMC, so please use initrd to flash into external device like NVMe drive.

If you are using Orin NX + Xavier NX devkit carrier board, please use the following command to flash the NVMe.

$sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \
--showlogs --network usb0 p3509-a02+p3767-0000 internal

Thank you Kevin, but I have two questions. The first one, P3767-0000 is the Orin NX16GB module. I use the Orin NX 8GB module. Do I use the same command?
The second question, what is the use of “ADDITIONAL_DTB_OVERLAY_OPT=“BootOrderNvme.dtbo” ”in the command? Can it be omitted?

Sorry, I just found it should not be supported in Jetpack 5.1.1(R35.3.1).
Please refer to the following thread for detail.
Orin Nano 系统安装失败 - #2 by kayccc

Okay, I got it. Thank you for your reply.

i met the same question, and my GPU is jetson orign NX 16GB, when use the cmd “sudo ADDITIONAL_DTB_OVERLAY_OPT=“BootOrderNvme.dtbo” ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 p3509-a02+p3767-0000 internal”, it post the error:“exportfs: /home/sq/nvidia/nx/Linux_for_Tegra/rootfs does not support NFS export”

You can try it out using SDK Manager. I was successful using SDK Manager on the Xavier NX carrier board.

Hi, I am attempting to flash a Orin NX 16GB module with Xavier NX devkit carrier board. I get a FileNotFoundError when invoking BootOrderNvme.dtbo, the rest of my flash command is identical to what @KevinFFF commented. Any fixes?

Please apply the following patch for Orin NX + p3509 carrier board.

--- a/scripts/board_config/p3509-a02+p3767-0000.conf
+++ b/scripts/board_config/p3509-a02+p3767-0000.conf
@@ -55,7 +55,7 @@ update_flash_args_common()
                        BPFDTB_FILE="tegra234-bpmp-3767-0000-a00-3509-a02.dtb";
                fi
        elif [ "${board_sku}" = "0001" ]; then
-               DTB_FILE="tegra234-p3767-0000-p3509-a02.dtb";
+               DTB_FILE="tegra234-p3767-0001-p3509-a02.dtb";
                BPFDTB_FILE="tegra234-bpmp-3767-0001-3509-a02.dtb";
        elif [ "${board_sku}" = "0003" ] || [ "${board_sku}" = "0005" ]; then
                DTB_FILE="tegra234-p3767-0003-p3509-a02.dtb";

Hi, I made the change via the patch you posted but get the same error about BootOrderNvme.dtbo not being found. Are we meant to manually define this overlay somewhere?

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