Error flashing Jetson Orin Nano (8GB) evm for A/B partition

Hi
I am trying to flash Jetson Orin Nano (8GB) with R35.4.1 to boot from nvme and enable A/B partitions for OTA updates. I am following the workflow #5 of the README_initrd_flash.txt. I have been getting the following error.

sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 -S 70GiB -c ./tools/kernel_flash/flash_l4t_nvme_rootfs_ab.xml jetson-orin-nano-devkit external

Error:

...
Sha1 checksum matched for /qspi/internal/qspi_bootblob_ver.txt
Writing /qspi/internal/qspi_bootblob_ver.txt (109 bytes) into  /dev/mtd0:66977792
Copied 109 bytes from /qspi/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 /qspi/internal/gpt_secondary_3_0.bin
Writing /qspi/internal/gpt_secondary_3_0.bin (16896 bytes) into  /dev/mtd0:67091968
Copied 16896 bytes from /qspi/internal/gpt_secondary_3_0.bin to address 0x03ffbe00 in flash
[ 210]: l4t_flash_from_kernel: Successfully flash the qspi
[ 210]: l4t_flash_from_kernel: Flashing success
Error flashing non-qspi storage

Cleaning up...

I am attaching the complete log file.
log.txt (561.4 KB)

1 Like

I have similar observation. I see the nvsdkmanager_flash.sh the script works fine but when we use l4t_initrd_flash.sh (workflow3) the flashing is a failure.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Hi rohit.bhandarkar,

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

[   2.5200 ] End sector for APP, expected at: 41943006, actual: 0
Error: Return value 4

What’s the physical size of your NVMe SSD?
Could you share the flash_l4t_nvme_rootfs_ab.xml from your BSP package for further check?