Hi,WayneWWW
I think the USB can be ejected now, but there are still some errors. Could you help take a look? I’m not sure if this error is critical.
[ 7.147506] tegra-xusb-padctl a808680000.padctl: 00000288 poll timeout > 0451e3ce
[ 7.154295] tegra-xusb-padctl a808680000.padctl: failed to poll USB2 trk completed: -110
However, there is still an issues here. Maybe it related to nvme、uphy0 config.
[ 19.922601] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
to get adbd socket: No such file or directory
adbd64 I 01-01 00:00:19 491 493 usb.cpp:264] initializing functionfs
adbd64 I 01-01 00:00:19 491 493 usb.cpp:285] opening control endpoint /dev/usb-ffs/adb/ep0
libc: Using old property service protocol ("ro.property_service.version" is not set)
adbd64 I 01-01 00:00:19 491 493 usb.cpp:370] functionfs successfully initialized
adbd64 I 01-01 00:00:19 491 493 usb.cpp:377] registering usb transport
[ 20.919979] tegra-xudc a808670000.usb: EP 0 (type: ctrl, dir: out) enabled
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-5.2#
bash-5.2#
bash-5.2# [ 50.523966] tegra-xudc a808670000.usb: EP 2 (type: bulk, dir: out) enabled
[ 50.524012] tegra-xudc a808670000.usb: EP 3 (type: bulk, dir: in) enabled
[ 66.309780] tegra-xudc a808670000.usb: ep 2 disabled
[ 66.309825] tegra-xudc a808670000.usb: ep 3 disabled
adbd64 E 01-01 00:01:05 491 495 usb.cpp:471] aio: got error event on read total bufs 1: Cannot send after transport endpoint shutdown
adbd64 E 01-01 00:01:05 491 495 transport_usb.cpp:125] remote usb: read terminated (message): Cannot send after transport endpoint shutdown
[ 66.774424] tegra-xudc a808670000.usb: EP 2 (type: bulk, dir: out) enabled
[ 66.774476] tegra-xudc a808670000.usb: EP 3 (type: bulk, dir: in) enabled
adbd64 I 01-01 00:01:06 491 491 usb.cpp:511] closing functionfs transport
adbd64 I 01-01 00:01:06 491 493 usb.cpp:264] initializing functionfs
adbd64 I 01-01 00:01:06 491 493 usb.cpp:370] functionfs successfully initialized
adbd64 I 01-01 00:01:06 491 493 usb.cpp:377] registering usb transport
bash-5.2#
bash-5.2# dmesg |grep usb
[ 0.886450] usbcore: registered new interface driver usbfs
[ 0.888327] usbcore: registered new interface driver hub
[ 0.893570] usbcore: registered new device driver usb
[ 1.549505] usbcore: registered new interface driver usb-storage
[ 3.522871] usbcore: registered new interface driver usbhid
[ 3.528316] usbhid: USB HID core driver
[ 3.548929] usbcore: registered new interface driver snd-usb-audio
[ 4.103850] tegra-xusb-padctl a808680000.padctl: supply avdd-usb not found, using dummy regulator
[ 4.111596] tegra-xusb-padctl a808680000.padctl: supply vclamp-usb not found, using dummy regulator
[ 4.121157] (null) usb2-0: supply vbus not found, using dummy regulator
[ 7.139302] tegra-xudc a808670000.usb: Adding to iommu group 10
[ 7.147506] tegra-xusb-padctl a808680000.padctl: 00000288 poll timeout > 0451e3ce
[ 7.154295] tegra-xusb-padctl a808680000.padctl: failed to poll USB2 trk completed: -110
[ 7.162974] usbcore: registered new interface driver uas
[ 20.919979] tegra-xudc a808670000.usb: EP 0 (type: ctrl, dir: out) enabled
[ 50.523966] tegra-xudc a808670000.usb: EP 2 (type: bulk, dir: out) enabled
[ 50.524012] tegra-xudc a808670000.usb: EP 3 (type: bulk, dir: in) enabled
[ 66.309780] tegra-xudc a808670000.usb: ep 2 disabled
[ 66.309825] tegra-xudc a808670000.usb: ep 3 disabled
[ 66.774424] tegra-xudc a808670000.usb: EP 2 (type: bulk, dir: out) enabled
[ 66.774476] tegra-xudc a808670000.usb: EP 3 (type: bulk, dir: in) enabled
bash-5.2#
[flash_bsp_jetson-t264_die0]: [FlashUsingADB(1112)] : [nvme0n1] Flashing for Partition master_boot_record
[flash_bsp_jetson-t264_die0]: [SendFileUsingADB(667)] : Flashing Partition - master_boot_record of size 512 of File mbr_9_0.bin of size 512
[flash_bsp_jetson-t264_die0]: [AdbPush(334)] : Push file via ADB to target destination
[flash_bsp_jetson-t264_die0]: [executeShellCommand(156)] : command = /home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb -s 2U1TS830G00000CG2040 push mbr_9_0.bin /tmp
cwd = /home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace/flash-images
[flash_bsp_jetson-t264_die0]: [executeShellCommand(163)] : [100%] /tmp/mbr_9_0.bin
mbr_9_0.bin: 1 file pushed. 0.1 MB/s (512 bytes in 0.004s)
[flash_bsp_jetson-t264_die0]: [executeShellCommand(156)] : command = /home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb -s 2U1TS830G00000CG2040 shell /tmp/wr_sh.sh /tmp/nvdd --inputbin=/tmp/mbr_9_0.bin --device=/dev/nvme0n1 --startoffset=0 --partsize=512 --l4t
cwd = /home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace/flash-images
[flash_bsp_jetson-t264_die0]: [executeShellCommand(163)] : nvdd: /dev/nvme0n1 not found, looking by controller instance...
:[E]: IsControllerInstance : 31: Error DeviceNotFound (0x18)
:[E]: NvParseDeviceByControllerInstance : 80: Error DeviceNotFound (0x18)
:[E]: NvddGetDeviceInfo : 28: Error DeviceNotFound (0x18)
:[E]: nvdd : 460: Error DeviceNotFound (0x18)
EXITCODE=24
[flash_bsp_jetson-t264_die0]: [AdbShell(325)] : EXITCODE = 24
Process Process-1:2:
Traceback (most recent call last):
File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/bootburn/../bootburn_t264_py/bootburn_adb.py", line 1251, in FlashUsingADB
result = self.SendFileUsingADB(partitionInfo, SkipWriteZeroChunk, TempDir, queue, UpdatePartitions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/bootburn/../bootburn_t264_py/bootburn_adb.py", line 715, in SendFileUsingADB
AbnormalTermination("Write failed on (%s)" % str(partitionInfo.LinuxPartitionName), nverror.NvError_FileWriteFailed)
File "/home/wpces/Downloads/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: 59
command line used was:
['/home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/bootburn/flash_bsp_images.py', '-b', 'jetson-t264', '--l4t', '-D', '-P', '/home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace', '--usb-instance', '2-1']
Write failed on (/dev/nvme0n1)
[flash_bsp_jetson-t264_die0]: [executeShellCommand(163)] : nvdd: /dev/block/810c5b0000.spi not found, looking by controller instance...
nvdd: Using [/dev/mtd0]
EXITCODE=0
[flash_bsp_jetson-t264_die0]: [AdbShell(325)] : EXITCODE = 0
[flash_bsp_jetson-t264_die0]: [EraseQspi(1374)] : Erase Qspi took 158.5438587665558
[flash_bsp_jetson-t264_die0]: [FlashUsingADB(1112)] : [810c5b0000.spi] Flashing for Partition bct
[flash_bsp_jetson-t264_die0]: [FlashUsingADB(1149)] : Remove previous instances of BCT
[flash_bsp_jetson-t264_die0]: [FlashUsingADB(1151)] : Copy partition BCT to destination
[flash_bsp_jetson-t264_die0]: [FlashUsingADB(1162)] : Make BCT size equal to 256KB by padding zeros at the end
[flash_bsp_jetson-t264_die0]: [executeShellCommand(156)] : command = dd if=/dev/zero of=die0_bctCopiesBlob.tmp seek=8192 count=253952 bs=1
cwd = /home/wpces/Downloads/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace/flash-images
[flash_bsp_jetson-t264_die0]: [executeShellCommand(163)] : 253952+0 records in
253952+0 records out
253952 bytes (254 kB, 248 KiB) copied, 0.113414 s, 2.2 MB/s
bash-5.2#
bash-5.2# fdisk -l
Disk /dev/mtdblock0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
bash-5.2#
[ 3.760235] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 256)
[ 3.767379] pci 0000:01:00.0: VF BAR 0 [mem 0x00000000-0x0007ffff 64bit pref]
[ 3.774519] pci 0000:01:00.0: VF BAR 0 [mem 0x00000000-0x01f7ffff 64bit pref]: contains BAR 0 for 63 VFs
[ 3.784302] pci 0000:01:00.0: 0.000 Gb/s available PCIe bandwidth, limited by Unknown x0 link at 0000:00:00.0 (capable of 32.000 Gb/s with 2.5 GT/s PCIe x16 link)
[ 3.798920] pci 0000:00:00.0: bridge window [mem 0x01000000-0x01ffffff 64bit pref] to [bus 01-ff] add_size 2000000 add_align 1000000
we are use uphy0 configure6,i have remove the
-UPHY_CONFIG=“tegra264-mb1-bct-uphy-lanes-p4071-0000.dts”;
+UPHY_CONFIG=“”
but it still can not link up