I was trying to flash my Jetson orin NX with custom carrier board. I was not able to flash the APP image from my laptop.
[ 13]: l4t_flash_from_kernel: Warning: skip writing esp_alt partition as no image is specified
writing item=15, 9:0:APP, 953962496, 59055800320, , , fixed-<reserved>-1,
[ 13]: l4t_flash_from_kernel: APP image /mnt/external/ is not found !!!
Erased 67108864 bytes from address 0x00000000 in flash
Flash index file is /mnt/internal/flash.idx
Number of lines is 58
max_index=57
Writing br_bct_BR.bct (parittion: BCT) into /dev/mtd0
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
[ 175]: l4t_flash_from_kernel: Successfully flash the qspi
[ 175]: 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.
[ 175]: l4t_flash_from_kernel: Failed to write to APP
[ 175]: l4t_flash_from_kernel: Error flashing external device
Flash failure
Cleaning up...
Changed the partition layout xml and flash was successful but when tried to boot it’s showing rootfs mount fail in uart log.
But I was able to successfully flash and boot from my friends laptop using the same sdk and flashing command. The laptop configurations were identical also.
I don’t think this is issue with flashing command, I was able to flash with the same command from my friends laptop.
Is this something related with permission related issues since I am getting this error,
l4t_flash_from_kernel: APP image /mnt/external/ is not found !!!
Warning: skip writing esp_alt partition as no image is specified
/lib/ld-linux-aarch64.so.1: No such file or directory
Copying APP image into /Linux_for_Tegra/tools/kernel_flash/images/external/.raw
mount: /tmp/ci-EfKJo54U0i: failed to setup loop device for /Linux_for_Tegra/bootloader/.raw.
But I was able to find the /lib/ld-linux-aarch64.so.1 file in the rootfs
Is the issue solved?
If not, please attach the whole flashing log and the serial console log for us to review.
About serial console log, you could refer to below link