Custom Carrier Board - Flashing USB fails

Dear Nvidia Team

We are trying to flash a USB device on our custom carrier board. Flashing to the NVMe works, flashing to a USB device fails. We use the following command:

./l4t_initrd_flash.sh --external-device sda brla5-agx-t4000 internal

Here the log:

log_flash.txt (6.1 MB)

We use JetPack 7.1 EA. The external USB device has 120GB memory.

Thank you for your help.

Hello @sevm89,

Have you tried fishing the same USB device using that flash command on a devkit?

best regards,
Andrew
Embedded Software Engineer at ProventusNova

Perhaps your 120GB drive /dev/sda is too small. From near the end of your log one failure referenced is:

startoffset=251,255,569,920 bytes == ~234gb into the device.

If /dev/sda on the Thor is smaller than ~235gb, nvdd will treat that as an invalid parameter and fail immediately.

If you need to prove it, from the host run on Thor

adb -s 2U1TS92HO00000704040 shell lsblk -b -o NAME,SIZE,MODEL,TYPE
adb -s 2U1TS92HO00000704040 shell blockdev --getsize64 /dev/sda

If blockdev --getsize64 /dev/sda returns less than 251255569920, your usbdrive is too small.

Hi sevm89,

For Jetpack 7.1, the default expected size for external device should be larger than 234GiB.
Please refer to the Note in Quick Start — NVIDIA Jetson Linux Developer Guide:


You may add EXT_NUM_SECTORS=251658240 in the flash command if you are using 120GB USB device.

Or you can customize the t264.conf.common for the correct EXT_STORAGE_SIZE.

Thank you for your help, that worked!

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