Flashing error Jetson orin NX

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.

Hi,

Could you provide your flashing commands for us to review?

Thanks

I used this 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

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 !!!

When I tried from friend laptop this came:

[ 14]: 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, 
Formatting APP partition /dev/nvme0n1p1 ...
mke2fs 1.45.5 (07-Jan-2020)
Discarding device blocks:     4096/14417920                 done                            
Creating filesystem with 14417920 4k blocks and 3604480 inodes
Filesystem UUID: 2e194072-5366-4946-8c11-1c91f8bcf244
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424

Allocating group tables:   0/440       done                            
Writing inode tables:   0/440       done                            
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information:   0/440       done

Formatting APP parition done
Formatting APP partition /dev/nvme0n1p1 ...

@DavidDDD

I think my problem is with this

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

Hi,

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

Thanks

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