Flashing Orin NX giving "flash failure" error

Hi all, I want to use metropolis on my Orin NX board, so I am following these steps given on the official website.

I am using manual steps for installation as I want to install jetpack version 6.0 DP. After following all steps, at the last step, "flash image’, I am using this line of code to flash the image:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -p "-c ./bootloader/generic/cfg/flash_t234_qspi.xml" -c ./tools/kernel_flash/flash_l4t_t234_nvme.xml --showlogs --network usb0 jetson-orin-nano-devkit nvme0n1p1

It reaches to a stage where it shows this log at the end and stops the process of flashing:

Formatting APP parition done
Formatting APP partition /dev/nvme0n1p1 ...
tar -xpf /mnt/external/system.img  --checkpoint=10000 --warning=no-timestamp --numeric-owner --xattrs --xattrs-include=*  -C  /tmp/ci-JpmRtjjuQG
tar: Read checkpoint 10000
tar: Read checkpoint 20000
tar: Read checkpoint 30000
tar: Read checkpoint 40000
tar: Read checkpoint 50000
tar: Read checkpoint 60000
tar: Read checkpoint 70000
tar: Read checkpoint 80000
tar: Read checkpoint 90000
tar: Read checkpoint 100000
Flash failure
Cleaning up...

I have attached a file of my logs.
flash_error.txt (270.1 KB)

If I run the command again, without removing the board, it gives different error:

ECID is 
Board ID() version() sku() revision()
Chip SKU(00:00:00:D3) ramcode() fuselevel(fuselevel_production) board_FAB()
emc_opt_disable_fuse:(0)
Error: Unrecognized module SKU 
Cleaning up...

full logs when I run it second time.
flash_error_1.txt (51.7 KB)

What can be the reason for this error?

Hello @akash.parikh,

Can you try the following commands instead?

./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1   -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml"   --showlogs --network usb0 jetson-orin-nano-devkit internal

Please let us know how it goes.

Also, with regards to your second question. It might be happening because at that point the board could already been taken out of recovery mode and therefore, if you run the script again without power cycle, it is not able to get the data from the board. You can verify this by running lsusb after a failed install and see if the board shows or not.

regards,
Andrew

Please try with JetPack 6.0 GA SW.

1 Like

Hi Andrew,

thanks for the reply. I tried your command and it is failing at the same stage.

Hi @kayccc, how can I install that from my SDK manager, I only see 6 (2 rev.) and older versions from jetpack 5. Are there any link for manual lnstallation steps for 6.0 GA SE?

This one should be Jetpack 6.0GA.(R36.3.0)
Please share the result of the following command if your board can boot up.

$ cat /etc/nv_tegra_release

Hi @KevinFFF,

The board is not booting up.

Are you using the devkit or custom board for Orin NX?

Why there’s no board information in your log?

It seems flash script can’t recognize your board.

I am using devkit only. This error appears when I try flashing it again after the first error. I think the board comes out of recovery mode at that time, which is why it is showing this error.

For the devkit, have you tried to flash it through SDK Manager from a standalone Ubuntu host PC?

Sorry for the delay in the reply. Actually, I wanted to flash Jetpack 6.0 DP version. With the SDK, I flashed the Rev.2 version. It is working properly.

Please do not use Jetpack 6.0 DP since it is developer preview version and it may be unstable.

It should be the Jetpack 6.0GA Rev.2, which is the latest release of JP6.

Yes, but I want to flash jetpack 6.0 DP. When I do that manually, with the command, I am getting this error.