Jetson Orin Nx flashing failed when storage device detected in usb3.0

Hi, I am working with Orin-nx and JetPack 6.2. I tried flashing the firmware using a micro-B cable while a USB 3.0 mass storage connected, and observed that the flashing is failed. also no issues observed with USB 2.0 mass storage. I am attaching the log for reference.

Also I have found that network usb0 not detecting and wating for target to boot print coming till time out when mass storage device detected in usb 3.0.

Attaching the device logs.
LOG_06_05_3.txt (63.9 KB)

I am using the flashing command
sudo BOARDID=3767 BOARDSKU=0001 FAB=300 BOARDREV=R.1 CHIP_SKU=“00:00:00:D4” ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p “-c bootloader/generic/cfg/flash_t234_qspi.xml” --flash-only --showlogs --network usb0 jetson-orin-nano-devkit nvme0n1p1

Hi mohammed.mp,

Are you using the devkit or custom board for Orin NX?

There’s no micro-B port on the devkit.
I would expect that you use a USB-C cable connected on the devkit with your host PC to flash.
Could you share the image of your setup?

From the command you shared, are you trying you flash an Orin NX 8GB(P3767-0001) with NVMe SSD connected?

Hello @KevinFFF , Thanks for the quick reply,

yes , I am using custom board for Orin NX.
Correct, I am using Orin NX 8GB with NVMe SSD connected.

please find the images of micro B setup.

Screenshot from 2025-05-07 11-54-17

@ShaneCCC could you check on this issue.

Please modify device tree for usb part. Default setting is for the NV devkit type C port which won’t work on your micro B desgin.

below link for document:

Hello @WayneWWW ,

I have modified the device tree, but I am unable to flash the device. The flashing process reports success without actually completing. I am providing the device tree changes and the file name for your reference.

dts file name :- Linux_for_Tegra/source/hardware/nvidia/t23x/nv-public/nv-platform/tegra234-p3737-0000.dtsi

Hi @WayneWWW ,

Also find the logs.

flash_device_logs_65.txt (63.9 KB)

flash_1-1_0_20250509-120419.log (5.9 KB)

tegra234-p3737-0000.dtsi is for Orin AGX to use… modify it won’t take effect here..

You better figuring out which dtb you are using first and the start to trace code.

Hello @WayneWWW ,

I have updated the device tree changes for the USB-B port, but the issue still persists. I will attach the changes for your review.

file name - /Linux_for_Tegra/source/hardware/nvidia/t23x/nv-public/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi

This change is not sufficient… you should remove all the reference to the fusb301 node because it is not present on your board.

@WayneWWW ,

yes,I have already disabled fusb301 part from device tree.

Then please share the log. and full dts converted back from dtb.

@WayneWWW ,

Please find the console log and dts file

LOG20_dts_change.txt (67.7 KB)

DTS_FILE2..zip (37.9 KB)

Does your micro usb port really have USB3 support? I saw there is USB3-1 in use in the device tree but looks like that thing is not shown in the schematic.

@WayneWWW ,

Only USB 2.0 is available on the flashing port.

Then please disable those usb3 things in your DT for that port…