[U-Boot] USB detection
Manukumar
manukumar at signal-networks.com
Mon Jul 9 10:47:49 CEST 2012
hello
I checked with the hardware spec
in that
P1020RDB: having connection like
P1012processor -> PHY -> HUB -> ports
whereas in custom board
P1012processor -> phy -> port(single usb port)
In uboot source code initializing sequence of u-boot
is below:
1.usb_init()
2.usb_scan_devices()
3.usb_new_device(dev)
4.usb_hub_probe(dev, 0)
5.usb_hub_configure(dev)
how can we do this in u-boot source code
manukumar
signal-networks
On Thu, 2012-07-05 at 13:45 +0200, Albert ARIBAUD wrote:
> 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.
>
> > 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.?
>
> 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,
More information about the U-Boot
mailing list