From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Heider Date: Fri, 6 Dec 2013 14:37:38 +0100 Subject: [U-Boot] [PATCH REPOST] ARM: rpi_b: power on SDHCI and USB HW modules In-Reply-To: <1386129715-5820-1-git-send-email-swarren@wwwdotorg.org> References: <1386129715-5820-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20131206133738.GA50279@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? Regards, Andre