From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manukumar Date: Mon, 09 Jul 2012 14:17:49 +0530 Subject: [U-Boot] USB detection In-Reply-To: <20120705134543.134da313@aari01-12> References: <1337677828.2382.30.camel@Manukumar> <201205221615.07965.marex@denx.de> <4FBBD34F.5010501@freescale.com> <1337752596.2378.37.camel@Manukumar> <20120523080211.B633820025A@gemini.denx.de> <1337761847.2378.71.camel@Manukumar> <4FBD0D43.1060208@freescale.com> <1338354171.2370.13.camel@Manukumar> <4FC64859.2070609@freescale.com> <1338437711.2367.9.camel@Manukumar> <4FC79A7F.8050003@freescale.com> <1338545434.2370.11.camel@Manukumar> <4FC8F89F.5080005@freescale.com> <1341484069.3616.14.camel@Manukumar> <20120705134543.134da313@aari01-12> Message-ID: <1341823669.3686.30.camel@Manukumar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > 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,