From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 5 Jul 2012 17:34:43 +0200 Subject: [U-Boot] USB detection In-Reply-To: <20120705134543.134da313@aari01-12> References: <1337677828.2382.30.camel@Manukumar> <1341484069.3616.14.camel@Manukumar> <20120705134543.134da313@aari01-12> Message-ID: <201207051734.43585.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert ARIBAUD, > 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. 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