Error flashing NVMe: /Linux_for_Tegra/bootloader/signed/flash.idx is not found

I have upgraded my BSP to L4T 35.5.0 JP 5.1.3. I am using the 64G AGX Orin (699 part number ending in 501). I am trying to flash to my NVMe to boot from, but am running into the following error:

The NVMe I am using:

I have edited my xml to account for my sector size from

device type="external" instance="0" sector_size="512" num_sectors="NUM_SECTORS"

to

device type="external" instance="0" sector_size="512" num_sectors="468862128"

The flash command I am using is:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml --showlogs --network usb0 cti/orin-agx/AGX922/pciex8-usb5Gbps nvme0n1p1

I am on a custom carrier board and Im also about to test on my devkit, Has anyone seen this issue before?

Hi matt.read,

Please refer to the following thread for the configurations of num_sectors and rootfs size
How to solve the issue that ssd are not entiely availiable after full disk encryption - #5 by KevinFFF

In your case, you can add -S 200GiB in your initrd flash command.

Hi @KevinFFF, unfortunately adding-S 200GiB into my original command results in the same error message.

From myXML…

sector_size="512" num_sectors="468862128"

The size for NVMe is 512*468862128= 240057409536= 223.57 GiB
The physical size of myNVMe SSD is 240 GiB

I think 240GiB is the size of this NVMe SSD declared.
The actual physical size of this SSD is 223.57 GiB as the result of fdisk -l.

Please share the full flash log and the command you used to flash the board currently.

You may also try using the following command to flash your custom board instead.

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_nvme.xml --external-only -S 200GiB --showlogs cti/orin-agx/AGX922/pciex8-usb5Gbps nvme0n1p1

Hi @matt.read,

If KevinFFF’s suggested solution doesn’t work for you, could you please share the flash_l4t_external.xml file you are using for the flashing process?

Thanks!

Jose Morera
Embedded Software Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

1 Like