Failed to flash Orin NX with NVME on Xavier NX dev kit

Hi,

I downloaded BSP and rootfs of R35.2.1 and I tried to flash the system to Orin NX on Xavier NX dev kit.
I installed and used the command as recommand in How to flash Jetson Orin NX 16GB moudule

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 p3509-a02+p3767-0000 internal

But I got the out error in “Step 3: Start the flashing process” like

~/Downloads/Jetson_Linux_R35.2.1_aarch64/Linux_for_Tegra
***************************************
*                                     *
*  Step 3: Start the flashing process *
*                                     *
***************************************
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for device to expose ssh ...... RTNETLINK answers: File exists
RTNETLINK answers: File exists
...^[[B^[[1;5A^[[C RTNETLINK answers: File exists
RTNETLINK answers: File exists
Waiting for device to expose ssh ...Run command: flash on fc00:1:1:0::2
SSH ready
blockdev: cannot open /dev/mmcblk0boot0: No such file or directory
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 58
max_index=57
^[x[ 2]: l4t_flash_from_kernel: Successfully create gpt for emmc
[ 2]: l4t_flash_from_kernel: Starting to create gpt for external device
Active index file is /mnt/external/flash.idx
Number of lines is 17
max_index=16
writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed-<reserved>-0, f46b925e18ee9e06d8ea8aa2d968611d9bef0fd7
Error: Could not stat device /dev/nvme0n1 - No such file or directory.
Flash failure
Cleaning up...

What’s the problem?

Try to boot from usb drive instead of nvme drive first.

After boot up, check if that nvme could be enumerated by system.

The error log says it cannot find nvme drive.

Thank you for your suggestion. I fixed the problem by formatting the file system of nvme hard disk.

1 Like

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