Issue with Flashing AGX Orin Module using JetPack 5.1 R35.3.1 for NVMe Storage

Hello Team,

I’m utilizing the JetPack 5.1 R35.3.1 for the AGX Orin Module 32GB. I’ve connected an NVMe storage and formatted it as ext4, and the NVMe storage is recognized as /dev/nvme0n1p1. I used the SDK Manager to flash the Jetson image, choosing the Storage device as NVMe. However, the board flashing process failed. Below are the flash log and debug log.


16:12:59 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:00 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:01 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:02 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:03 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:04 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:06 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:07 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:08 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:09 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:10 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:11 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:12 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:13 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:14 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:16 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:17 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:18 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:19 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:20 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:21 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:22 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:23 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:24 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:26 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:27 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:28 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:29 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:30 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:31 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:32 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:33 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:34 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:35 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:37 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:38 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:39 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:40 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:41 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:42 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:43 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:44 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:45 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:47 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:48 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:49 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
16:13:50 INFO: Flash Jetson Linux - flash: Cleaning up...
16:13:50 ERROR: Flash Jetson Linux - flash: command terminated with error
16:13:50 SUMMARY: Flash Jetson Linux - flash: First Error: Installation failed.

Any assistance would be highly appreciated.

SDKM_logs_JetPack_5.1.1_(rev._1)_Linux_for_Jetson_AGX_Orin_modules_2023-10-01_16-07-33.zip (301.0 KB)
debug.log (130.3 KB)

Hi,

I don’t feel like there’s anything weird in the serial console log.
Can you please use 35.4.1 or a different host PC?

Hello Daye,

Thank you for responding. I tried using a different host PC and installed the latest JetPack 5.1 and L4T 35.4.1. However, I see the same error message. Please refer to the attached logs for flash and debug messages.

flash_sdkm.log (842 Bytes)
debug.log (104.0 KB)
NV_L4T_NVIDIA_NSIGHT_SYSTEMS_HOST_COMP.log (3.2 KB)
Regards,
Parashuram

Hi,

So you still got stuck in

Waiting for target to boot-up…

?

Can you try flashing the eMMC and see if your host PC can detect the device after it boots up with lsusb?
Maybe there’s some issue regarding the USB connection.

Hello,

It will wait for a while and eventually time out on its own.

Yes, I’ve flashed it to the EMMC, and the board has booted up successfully.
Here is the lsusb output.

parashuram@Parashuram-PC:~$ lsusb 
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 003 Device 002: ID 03f0:344a Hewlett-Packard 
Bus 003 Device 003: ID 03f0:134a Hewlett-Packard Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I don’t believe it’s being detected.
But how does it flash to the EMMC and not to the NVMe?

Regards,
Parashuram

Hi,

So it’s expected that it will fail to flash to NVMe drives.

That’s because the mechanism for flashing eMMC (flash.sh) and NVMe/USB drive (initrd flash) is different.
initrd flash relies on the USB device mode to send data to the device via SSH.

Can you try flashing manually with the command?

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-agx-orin-devkit internal

Or if it still does not work, consider this:
(The section: To set up an NVMe drive manually for booting)
https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/SD/FlashingSupport.html

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