Cannot flash image to SSD

Hi There,

I am using L4T 36.3
I have a Jetson Orin Nano custom board with HDMI output and no EEPROM.

This is the file of nano.conf

source “${LDK_DIR}/p3768-0000-p3767-0000-a0.conf”



if [ “${UPHYLANE}” = “c7x1” ]; then
elif [ “${UPHYLANE}” = “c7x2” ]; then

I use the following command to flash images to the SSD.

sudo ./tools/kernel_flash/ --external-device nvme0n1p1 -p "-c ./bootloade
r/generic/cfg/flash_t234_qspi.xml" -c ./tools/kernel_flash/flash_l4t_t234_nvme.xml --showlogs --network usb0 nano nvme0n1p1

It is unable to write image to the SSD.
After flashing the system boot up with initrd.

bash-5.1# cat /proc/cmdline
root=/dev/initrd rw rootwait mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0 bl_pr
of_dataptr=2031616@0x271E10000 bl_prof_ro_ptr=65536@0x271E00000

But if I use the following command, it can flash image to the SSD successfully.
Then the system boot up with rootfs on the SSD.

sudo ./ nano internal

root@nano:~# cat /proc/cmdline
root=PARTUUID=e92dad79-2264-455d-913f-fc3776eac9c6 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0 nospectre_bhb video=efifb:off console=tty0 bl_prof_dataptr=2031616@0x271E10000 bl_prof_ro_ptr=65536@0x271E00000

How to flash image to SSD with
flash.log (270.0 KB)

Device failed to boot to the initrd flash kernel. Please retrive the serial log during flashing to debug further.

Get the log as requested.

Here you are.
serial.log (124.1 KB)

Check your USB schematic first.
tegra-xudc driver is not up so it fails to create SSH connection over RNDIS and hence times out.

I can flash successfully with following command.

$ sudo ./ nano internal

Is this doesn’t means USB hardware is OK? does not care anything about your hardware design at all…
Saying works helps nothing in identifying the root cause.

Hi Dave,
The flashing of the USB schematic is copied from the Orin Nano dev kit.
After flashing,I can see the usb0 ethernet interface on the custom board
and nothing happens on the host (Ubuntu 22.04) but Waiting for target to boot-up... timeout.

Could you give me some hints or documents on how to debug?
Thanks a lot.

You should also check the serial console log during flashing.

This helps nothing.

What are requirements for flashing on a host PC?
E.g. NFS server? DHCP server?

RNDIS, for establishing SSH connection, and NFS server, for mounting file systems, are required.

I can use L4T 35.5 to flash with initrd successfully but L4T 36.3.
Could you check it for me? Thanks.

Please do this.

What is your dmesg after your “boot up” case with usb0 appeared?

I guess this is just another “actually your board is not copy orin nano devkit” case which we have seen a lot from other users…

You don’t need to dump rel-35.5 cases. They do not matter. Just dump your rel-36.3 boot up case with your so-called “usb0” appeared case log out.

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