[U-Boot] [PATCH] Enable usb ehci support for p2020ds board
Felix Radensky
felix at embedded-sol.com
Tue Sep 15 10:57:15 CEST 2009
Wolfgang Denk wrote:
> Dear Felix Radensky,
>
> In message <4AAF46B4.7030603 at embedded-sol.com> you wrote:
>
>> Hu Mingkai-B21284 wrote:
>>
>
> [Full quote deleted]
>
>
> Hey, eveybody on this thread: could you *please* stop full-quoting?
> Please read http://www.netmeister.org/news/learn2quote.html
>
> ...
>
Sorry about that.
>> I've tested another USB stick with this board, and was recognized properly.
>> Also, the problematic stick works fine with Linux, so I still suspect
>> there's a
>> problem in u-boot EHCI driver. Can you test your board with smaller/older
>> devices, the one that has problems is 512MB Sandisk Cruizer Mini.
>>
>
> Is there any chance that this non-working stick is not a high-speed
> device? Eventually this EHCI driver has problems with full-speed (or
> low-speed) devices?
>
No, this is high speed device. linux-2.6.31 running on this board
reports this:
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
fsl-ehci fsl-ehci.0: GetStatus port 1 status 90001803 POWER sig=j CSC
CONNECT
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 1-1: new high speed USB device using fsl-ehci and address 2
usb 1-1: default language 0x0409
usb 1-1: udev 2, busnum 1, minor = 1
usb 1-1: New USB device found, idVendor=0781, idProduct=5150
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Cruzer Mini
usb 1-1: Manufacturer: SanDisk Corporation
usb 1-1: SerialNumber: 200435130107dcd07f5f
usb 1-1: uevent
usb 1-1: usb_probe_device
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: uevent
usb-storage 1-1:1.0: usb_probe_interface
usb-storage 1-1:1.0: usb_probe_interface - got id
scsi0 : SCSI emulation for USB Mass Storage devices
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access SanDisk Cruzer Mini 0.3 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 0:0:0:0: [sda] 1000944 512-byte logical blocks: (512 MB/488 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda:
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
Felix.
> Best regards,
>
> Wolfgang Denk
>
>
More information about the U-Boot
mailing list