From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH REPOST] ARM: rpi_b: power on SDHCI and USB HW modules
Date: Fri, 06 Dec 2013 12:19:17 -0700 [thread overview]
Message-ID: <52A22335.8060903@wwwdotorg.org> (raw)
In-Reply-To: <20131206133738.GA50279@localhost>
On 12/06/2013 06:37 AM, Andre Heider wrote:
> Hi Stephen,
>
> On Tue, Dec 03, 2013 at 09:01:55PM -0700, Stephen Warren wrote:
>> Send RPC commands to the VideoCore to turn on the SDHCI and USB modules.
>> For SDHCI this isn't needed in practice, since the firmware already
>> turned on the power in order to load U-Boot. However, it's best to be
>> explicit. For USB, this is necessary, since the module isn't powered
>> otherwise. This will allow the kernel USB driver to work.
>
> I didn't test this patch yet, but from skimming over it it looks similar to
> what I tried with barebox a while back.
>
> What I did notice with the "set power" mbox call is that it takes way longer
> than 100ms (the current mbox call timeout) to finish on a cold boot. You
> don't seem to bump the timeout here, and with 100ms I always hit it and
> hence the mbox call failed for me. Don't you get these huge delays?
I didn't notice this, but I'll have to double-check to be completely sure.
What firmware version are you using? I'm currently using the latest
firmware (as of a week or two ago) from the git repo in github. I do
recall issues with the set_power call operating incorrectly, although I
think not a timeout, in the past, but that issue was mostly fixed in a
firmware update quite a while ago. For details, see:
https://github.com/raspberrypi/firmware/issues/106
next prev parent reply other threads:[~2013-12-06 19:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-04 4:01 [U-Boot] [PATCH REPOST] ARM: rpi_b: power on SDHCI and USB HW modules Stephen Warren
2013-12-05 17:50 ` Stephen Warren
2013-12-06 13:37 ` Andre Heider
2013-12-06 19:19 ` Stephen Warren [this message]
2013-12-07 4:50 ` Stephen Warren
2013-12-09 19:52 ` Andre Heider
2013-12-09 20:16 ` Stephen Warren
2013-12-09 20:35 ` Andre Heider
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=52A22335.8060903@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox