Flashing Jetson Orin via USB 3.0 with l4t_initrd_flash.sh fails — QSPI flashing failure causes hang/stuck

Hi NVIDIA team,

I’m flashing the eMMC on a Jetson AGX Orin devkit via USB 3.0 using l4t_initrd_flash.sh. The main issue I’m facing is that the QSPI flashing step intermittently fails. The total time for building the image + flashing is about 11 minutes 28 seconds.

Here are the commands I’m using:

Full rebuild + flash (rootfs + QSPI):

bash

time sudo ADDITIONAL_DTB_OVERLAY="BootOrderEmmc.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --network usb0 jetson-agx-orin-devkit-super internal

Flash QSPI only:

bash

sudo ADDITIONAL_DTB_OVERLAY="BootOrderEmmc.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh -p "-c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg" --network usb0 jetson-agx-orin-devkit-super mmcblk0p1

Flash rootfs + QSPI without rebuilding:

bash

time sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --network usb0 jetson-agx-orin-devkit mmcblk0p1

My questions:

  1. What are the common causes of intermittent QSPI flashing failures on AGX Orin when using l4t_initrd_flash.sh via USB 3.0? Is this a known issue?

  2. Does the BootOrderEmmc.dtbo overlay affect QSPI flashing stability? Is it required when flashing to eMMC, or only for specific boot order configurations?

  3. I notice some commands use jetson-agx-orin-devkit-super and others use jetson-agx-orin-devkit. Could this inconsistency cause the QSPI flashing failure?

  4. Are there any recommended optimizations or workarounds to make QSPI flashing more reliable (e.g., different USB port, cable, host controller, or flashing parameters)?

  5. Is the ~11.5 minute total time normal, and does QSPI failure significantly affect it?

Any guidance would be appreciated. Thanks!
initrd_flash.txt (309.6 KB)

Hi @yuhaibao,

Could you share the complete Jetson serial console log, from the start of flashing through the failure, as a text file? Please include the messages before the first timeout, which are missing from the screenshot.

Please also confirm whether you are using the unmodified NVIDIA R39.2.0 BSP or have changed the kernel, device tree, or flashing scripts.

Thanks.