[U-Boot] USB detection

Marek Vasut marex at denx.de
Thu Jul 5 17:34:43 CEST 2012


Dear Albert ARIBAUD,

> Hi Manukumar,
> 
> On Thu, 05 Jul 2012 15:57:49 +0530, Manukumar
> 
> <manukumar at signal-networks.com> wrote:
> > Hello,
> > 
> > I have connected USB hard disk to P1020RB
> 
> Which board is this? Neither "git grep -i P1020RB" nor "find . iname
> '*P1020RB*'" yield any result.

Ain't it P1020RDB?

> > and in command prompt(u-boot) i used
> > command
> > => usb start
> > (Re)start USB...
> > USB:   Register 10011 NbrPorts 1
> > USB EHCI 1.00
> > scanning bus for devices... 3 USB Device(s) found
> > 
> >        scanning bus for storage devices... 1 Storage Device(s) found
> > 
> > => usb dev
> > 
> > USB device 0: Vendor: Seagate  Rev: 0130 Prod: Portable
> > 
> >             Type: Hard Disk
> >             Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
> > 
> > and USB got detected.
> > 
> > but If i used the same command in our custom board
> > => usb start
> > (Re)start USB...
> > USB:   Register 10011 NbrPorts 1
> > USB EHCI 1.00
> > scanning bus for devices... 1 USB Device(s) found
> > 
> >        scanning bus for storage devices... 0 Storage Device(s) found
> > 
> > => usb dev
> > 
> > USB device -1: device type unknown
> > 
> > 
> > How do resolve this issue and why the device is not detecting my USB
> > hard disk.?

This happens with mainline u-boot, right? Can you try older version of uboot and 
then git bisect to find the offending change please?

> Considering that you're trying this on a custom board, and assuming
> "P1020RB" is a nickname for a board supported in mainline U-Boot, there
> are two possibilities:
> 
> 1) the custom board uses exactly the same U-Boot (source, configuration
> and binaries) as P1020RB, and the issue is in HW, in which case we can
> barely help;
> 
> 2) the custom board uses a custom U-Boot, and we can barely help too,
> as this issue is not about (recent) mainline U-Boot code.
> 
> > manukumar
> > signal-networks
> 
> Amicalement,

Best regards,
Marek Vasut


More information about the U-Boot mailing list