When Thor uses scripts to flash an external NVMe on a custom carrier board, the following error occurs:
ERROR: might be timeout in USB write.
[flash_bsp_jetson-t264_die0]: [executeShellCommand(175)] : Return code: 3
[flash_bsp_jetson-t264_die0]: [executeShellCommand(177)] : stdout: b’Sending blob\nERROR: might be timeout in USB write.\n’
[flash_bsp_jetson-t264_die0]: [executeShellCommand(179)] : stderr: None
[flash_bsp_jetson-t264_die0]: [sendRcmCommand(774)] : Unable to execute tegrarcm command – /home/hxl/work/nvidia/R38.2/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/tegrarcm_v2 --instance /dev/bus/usb/001/031 --download blob ./rcm_blob.bin
Traceback (most recent call last):
File “/home/hxl/work/nvidia/R38.2/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/bootburn/../bootburn_t264_py/flash_bsp_images.py”, line 114, in flash_bsp_active
bootburnThor.BootRCM(“rcm-flash”, binaryLocationPath)
File “/home/hxl/work/nvidia/R38.2/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/bootburn_t264_py/bootburn_thor.py”, line 1281, in BootRCM
self.sendRcmCommand("–download blob " + blob)
File “/home/hxl/work/nvidia/R38.2/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/bootburn/../bootburn_t264_py/bootburn_lib.py”, line 775, in sendRcmCommand
AbnormalTermination(“TEGRARCM – Unable to execute command”, nverror.NvError_TegraRcmError)
File “/home/hxl/work/nvidia/R38.2/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/bootburn/../bootburn_t264_py/flashtools_nverror.py”, line 260, in AbnormalTermination
raise OSError(errorCode)
OSError: 43
command line used was:
[‘/home/hxl/work/nvidia/R38.2/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/bootburn/flash_bsp_images.py’, ‘-b’, ‘jetson-t264’, ‘–l4t’, ‘-D’, ‘-P’, ‘/home/hxl/work/nvidia/R38.2/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace’, ‘–usb-instance’, ‘1-7.2’]
TEGRARCM – Unable to execute command
Exception raised in flash BSP ACTIVE
43
[flash_bsp_jetson-t264]: start time = 1764220707.5253398
[flash_bsp_jetson-t264]: end time = 1764220709.7124677
[flash_bsp_jetson-t264]: Total Time = 2.1871278285980225
[flash_bsp_jetson-t264]: Image Flashing took 2.1871278285980225
[flash_bsp_jetson-t264]: Flashing finished Unsuccessfully!!
Cleaning up…
For the complete log and serial port output, please see the attachment.
thor flash uart print.log (41.3 KB)
thor flash.log (342.7 KB)
Execute lsusb**, the result is as follows:**
Bus 002 Device 003: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 046d:c09d Logitech, Inc. G102 LIGHTSYNC Gaming Mouse
Bus 001 Device 026: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 012: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 028: ID 0955:7026 NVIDIA Corp. APX
Bus 001 Device 008: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 1a2c:600f China Resource Semico Co., Ltd USB Gaming Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Execute the flash script with the following command:
sudo ./l4t_initrd_flash.sh jetson-agx-thor-devkit external


