Sample Header Ad - 728x90

Some USB drives are not recognized in U-Boot, while others are

2 votes
1 answer
47 views
I'm using U-Boot 2020.10. In U-Boot, out of two USB drives, one is recognized and the other is not. Once Debian 12 is running, I have my two USB drives that are recognized and use the same driver xhci-hcd. Here are the dmesg logs for the unrecognized USB drive [ 2.460318] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd [ 2.597067] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6387 [ 2.597073] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.597077] usb 1-1.2: Product: Mass Storage [ 2.597081] usb 1-1.2: SerialNumber: F2611EC0 [ 2.597845] usb-storage 1-1.2:1.0: USB Mass Storage device detected [ 2.612148] scsi host1: usb-storage 1-1.2:1.0 Here is the output of the command fdisk -l /dev/sdb1 Disk /dev/sdb1: 7.5 GiB, 8052015104 bytes, 15726592 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 Disklabel type: dos Disk identifier: 0x0a0dff65 Device Boot Start End Sectors Size Id Type /dev/sdb1p1 * 1869881445 3571221465 1701340021 811.3G 7a unknown /dev/sdb1p2 * 1634566756 3553817813 1919251058 915.2G 72 unknown /dev/sdb1p3 0 0 0 0B 0 Empty /dev/sdb1p4 * 28049408 28049849 442 221K 0 Empty Partition table entries are not in disk order. The detected size is also incorrect with the USB drive recognized by U-Boot Disk /dev/sdb1: 1.9 GiB, 2013233664 bytes, 3932097 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 Disklabel type: dos Disk identifier: 0x73696420 Device Boot Start End Sectors Size Id Type /dev/sdb1p1 1936286752 6221126032 4284839281 2T 45 unknown /dev/sdb1p2 1853169786 3723051230 1869881445 891.6G 65 Novell Netware 386 /dev/sdb1p3 1701978226 3336544981 1634566756 779.4G 20 unknown /dev/sdb1p4 0 3468733439 3468733440 1.6T d unknown When I run usb start in U-Boot, the following error message appears. Starting the controller USB XHCI 1.00 scanning bus usb@2f00000 for devices... Device not responding to set address. USB device not accepting new address (error=80000000) The error seems to be a timeout to me, but I don't know why the USB drive doesn't respond in U-Boot. Why is one of the USB drives not recognized in U-Boot?
Asked by Tears4fears (21 rep)
Jul 8, 2025, 07:46 PM
Last activity: Jul 9, 2025, 04:15 AM