barebox on gta04

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 24 17:34:13 EDT 2011


Hi Johannes,

On Mon, Oct 24, 2011 at 11:11:37PM +0200, Johannes Schauer wrote:
> Hi,
> 
> 
> I was booting barebox from git on my "openmoko" gta04 today but what was
> not working was the mmc initialization.
> 
> It was failing in mmc_init_setup() in ./drivers/mci/omap_hsmmc.c after
> printing "timedout waiting for cc2!" when I had DEBUG enabled.
> 
> -%<-----------------------------------------------------------------
> barebox 2011.10.0-00107-gdac6e90-dirty (Oct 24 2011 - 22:12:10)
> 
> Board: Texas Instrument's Beagle
> omap-hsmmc at omap-hsmmc0: timedout waiting for cc2!
> Cannot reset the SD/MMC interface
> ->%-----------------------------------------------------------------
> 
> The gta04 should be very similar to the beagleboard and hence I was
> building using the omap3530_beagle_defconfig.
> 
> any hints on how to continue debugging this problem are highly
> appreciated!

You could start barebox from U-Boot (just load the barebox binary image
to RAM and jump to it using the U-Boot 'go' command). Then you could
comment out the lowlevel code from barebox (arch_init_lowlevel, pin_mux)
and see if the problem persists. Maybe there is something different in
the lowlevel code.

Another thing: Where does this string come from? We have this twice in
the driver and one of them should really be "timeout waiting for reset
done"

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list