All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manukumar <manukumar@signal-networks.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] USB detection
Date: Mon, 09 Jul 2012 14:17:49 +0530	[thread overview]
Message-ID: <1341823669.3686.30.camel@Manukumar> (raw)
In-Reply-To: <20120705134543.134da313@aari01-12>

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@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,

  parent reply	other threads:[~2012-07-09  8:47 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1337677828.2382.30.camel@Manukumar>
2012-05-22 14:15 ` [U-Boot] Nand flash R/W,saveenv issue Marek Vasut
2012-05-22 17:56   ` Scott Wood
2012-05-23  5:56     ` Manukumar
2012-05-23  8:02       ` Wolfgang Denk
2012-05-23  8:30         ` Manukumar
2012-05-23 16:16           ` Scott Wood
2012-05-30  5:02             ` [U-Boot] problem while making kernel up Manukumar
2012-05-30 16:18               ` Scott Wood
2012-05-31  4:15                 ` Manukumar
2012-05-31 16:21                   ` Scott Wood
2012-06-01  3:58                     ` Manukumar
2012-06-01 10:10                     ` Manukumar
2012-06-01 17:15                       ` Scott Wood
2012-06-06  8:13                         ` Manukumar
2012-07-05 10:27                         ` [U-Boot] USB detection Manukumar
2012-07-05 11:45                           ` Albert ARIBAUD
2012-07-05 15:34                             ` Marek Vasut
2012-07-09  8:47                             ` Manukumar [this message]
2012-07-09 12:18                               ` Albert ARIBAUD
2012-07-10  2:17                               ` Marek Vasut
2012-07-12  6:10                                 ` Manukumar
2012-10-25 12:21                                   ` Manukumar
2012-10-25 13:26                                     ` RgC
2012-09-26 10:42                               ` [U-Boot] bootm command in U-boot Manukumar
2012-09-26 14:14                                 ` Wolfgang Denk
2012-10-03 12:24                               ` [U-Boot] Booting through nand flash with other address Manukumar
2012-10-03 15:22                                 ` Scott Wood
2012-10-04 10:18                                   ` Manukumar
2012-10-04 17:21                                     ` Scott Wood
2012-12-04 12:04                                       ` [U-Boot] access u-boot environment variables from kernel space Manukumar
2012-12-04 13:24                                         ` Yegor Yefremov
2012-12-04 16:26                                           ` Scott Wood
2012-12-04 16:35                                             ` Steve Strobel
2013-01-25  6:50                                             ` Manukumar
2013-01-25  9:22                                               ` Wolfgang Denk
2012-11-23  4:08                                   ` [U-Boot] Quer on JTAG Manukumar
2012-11-23  5:33                                     ` Wolfgang Denk
2012-09-11 12:47                       ` [U-Boot] Nand Flash Programing and Board Bring Up Manukumar
2012-09-11 14:10                         ` Marek Vasut
2012-05-23 22:45       ` [U-Boot] Nand flash R/W,saveenv issue Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341823669.3686.30.camel@Manukumar \
    --to=manukumar@signal-networks.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.