[U-Boot] USB detection

Albert ARIBAUD
2012-07-05T11:45:43Z

Hi Manukumar,

On Thu, 05 Jul 2012 15:57:49 +0530, Manukumar
<manukumar@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,
--
Albert.