Jetson orin NX flash failure

When I tried to flash my Jetson orin NX with Jetpack 5.1.2 I’m getting this error:

Writing qspi_bootblob_ver.txt (parittion: A_VER) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/qspi_bootblob_ver.txt
Writing /mnt/internal/qspi_bootblob_ver.txt (109 bytes) into  /dev/mtd0:66977792
Copied 109 bytes from /mnt/internal/qspi_bootblob_ver.txt to address 0x03fe0000 in flash
Writing gpt_secondary_3_0.bin (parittion: secondary_gpt) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/gpt_secondary_3_0.bin
Writing /mnt/internal/gpt_secondary_3_0.bin (16896 bytes) into  /dev/mtd0:67091968
Copied 16896 bytes from /mnt/internal/gpt_secondary_3_0.bin to address 0x03ffbe00 in flash
[ 195]: l4t_flash_from_kernel: Successfully flash the qspi
[ 195]: l4t_flash_from_kernel: Failed to write to APP
[ 195]: l4t_flash_from_kernel: The device size indicated in the partition layout xml is smaller than the actual size. This utility will try to fix the GPT.
[ 195]: l4t_flash_from_kernel: Error flashing external device
Flash failure
Cleaning up...

I tried from my colleague laptop and he was successfully able to flash.

I tried to do an OTA package generation and update from my end. So I thought I have some corruption with the sdk and I once again cloned the whole sdk and tried still getting the same error

Hi,

Could you provide the commands and the full log that meets the failure?
We also recommend use the sdk manager to flash our device.

Also some questions to confirm:

  • Is your Orin NX using a dev kit or a custom carrier board?
  • Our official host requirement is Ubuntu 20.04/18.04 running on a physical machine not a virtual machine (e.g. WSL, VirtualBox, VMware). Do your host meet the requirement?

Thanks

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

What I found from the log is that
[ 15]: l4t_flash_from_kernel: APP image /mnt/external/ is not found !!!
I cross checked with my colleague successful log he doesn’t have this.
I was able to flash the device earlier from my laptop using the same command.
My orin NX is using a jetson xavier nx carrier board.
My ubuntu requirements are fine.

Please find the attached full flash log
flash.log (261.2 KB)

Hi,

some questions to confirm:

  • What is your target version in ota update (from JP 5.1.2 to ?)

Also please dump the UART log during the flash process.

Thanks

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