All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Rpi Uboot not working ; USB keyboard undetected
Date: Thu, 26 Nov 2015 12:25:14 +0100	[thread overview]
Message-ID: <5656EC1A.6070104@redhat.com> (raw)
In-Reply-To: <2258834.BL3nKFDEvJ@pebbles.site>

Hi,

On 26-11-15 01:38, Stefan Bruens wrote:
> On Wednesday 25 November 2015 16:55:54 Sumeet Jauhar wrote:
>> Hello All,
>>
>> I am new to Rpi and for a project I need to install Uboot for Rpi. For
>> starters I installed Raspbian-jessie to the pi and it worked fine. Now I am
>> attempting to use uboot but I don't succeed. I am trying to follow the
>> instructions http://elinux.org/RPi_U-Boot  and
>> http://arrizza.org/wiki/index.php/RPI_U-boot . Here is what i have done so
>> far.
>
> There seems to be a problem with the RPi and USB Low-speed and Full-speed
> devices. The following did work (480Mbps capable):
>
> - several USB memory sticks
> - USB 3.0/2.0 SDHC card reader
> - RTL2832u based DVB-T stick
> - Haupage PCTV 290e DVB-T2 stick
>
> Following did not work:
> - several mice/keyboards (12Mbps/1.5Mbps)
> - several USB/serial adapters
>    * PL2303 (12Mbps)
>    * Cypress CYC765211 (12Mbps)
> - USB audio noname device (12Mbps)

Hmm, I'm not familiar with the rpi usb controller, but AFAIK the rpi uses
an onboard usb-2 hub, when talking to usb-1 devices attached to a usb-2
hub you must address the tt in the first usb-2 hub upstream of the
usb-1 device. See e.g.:

http://git.denx.de/?p=u-boot.git;a=commitdiff;h=4e2c4ad3604ba6f5053090749d64ed3ce5914805
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=fcdd8aaa48dfcac492cbac5436d9edc3f5928325

And also, for a controller which AFAICT is closer to the rpi usb controller:

http://git.denx.de/?p=u-boot.git;a=commitdiff;h=e740ca3cab93a8cb31d870bffecd6aa8eadf44e1

Note that the last 2 commits both do a bunch of magic to translate from usb_device
pointers to dm device pointers and back, not sure if the rpi usb controller code
has been converted to dm yet, but if it has that is a likely culprit.

I hope this helps.

Regards,

Hans

  reply	other threads:[~2015-11-26 11:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-25  8:55 [U-Boot] Rpi Uboot not working ; USB keyboard undetected Sumeet Jauhar
2015-11-26  0:38 ` Stefan Bruens
2015-11-26 11:25   ` Hans de Goede [this message]
2015-11-28 16:55     ` Simon Glass
2015-11-28 17:15       ` Stephen Warren
2015-12-07 22:36     ` Stefan Bruens
  -- strict thread matches above, loose matches on Subject: below --
2015-11-25 10:25 Sumeet Jauhar

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=5656EC1A.6070104@redhat.com \
    --to=hdegoede@redhat.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.