From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Radensky Date: Tue, 15 Sep 2009 11:57:15 +0300 Subject: [U-Boot] [PATCH] Enable usb ehci support for p2020ds board In-Reply-To: <20090915084129.75FDC832E864@gemini.denx.de> References: <1252565088.22292.1.camel@rock.ap.freescale.net><4AACB8FD.2040604@embedded-sol.com><7DF0AF56456B8F4081E3C44CCCE311DE5A366C@zch01exm23.fsl.freescale.net> <4AADF597.1010308@embedded-sol.com> <73839B4A0818E747864426270AC332C304512FE2@zmy16exm20.fsl.freescale.net> <4AAF46B4.7030603@embedded-sol.com> <20090915084129.75FDC832E864@gemini.denx.de> Message-ID: <4AAF56EB.5020004@embedded-sol.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear Felix Radensky, > > In message <4AAF46B4.7030603@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 > >