[U-Boot] USB cardreader issue

Gupta, Ajay Kumar ajay.gupta at ti.com
Fri Dec 3 06:50:01 CET 2010


Hi All,

I am trying to read images from SD cards attached to
a USB card reader. "usb start" command shows errors
as per logs copied below.

Is there any known issue in supporting usb card readers
In general or it's compatibility issue with few card
readers?

Regards,
Ajay

1) Card reader - [A]
======================================================================
U-Boot > usb start
 (Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... READ_CAP ERROR
1 Storage Device(s) found

U-Boot > usb tree
Device Tree:
  1  Mass Storage (12 Mb/s, 500mA)
     Generic USB2.0-CRW 20060413092100000

U-Boot > fatinfo usb 0:1
** Can't read from device 0 **
** Unable to use usb 0:1 for fatinfo **

U-Boot > usb info
1: Mass Storage,  USB Revision 2.0
 - Generic USB2.0-CRW 20060413092100000
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0bda  Product 0x0158 Version 81.149
   Configuration: 1
   - Interfaces: 1 Bus Powered 500mA
   - String: "CARD READER"
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - String: "Bulk-In, Bulk-Out, Interface"
     - Endpoint 1 Out Bulk MaxPacket 512
     - Endpoint 2 In Bulk MaxPacket 512

2) Card reader - [B]
======================================================================
U-Boot # usb start
 (Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
1 Storage Device(s) found

U-Boot # usb tree
Device Tree:
  1  Mass Storage (12 Mb/s, 100mA)
     Generic Mass Storage Device 058F312D81B

U-Boot # usb info
1: Mass Storage,  USB Revision 2.0
 - Generic Mass Storage Device 058F312D81B
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x058f  Product 0x6362 Version 1.38
   Configuration: 1
   - Interfaces: 1 Bus Powered 100mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 Out Bulk MaxPacket 512
     - Endpoint 2 In Bulk MaxPacket 512


More information about the U-Boot mailing list