[PATCH 1/1] beagle: add missing mmc twl and control init

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 8 08:00:11 EST 2013


On Fri, Mar 08, 2013 at 01:42:45PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 13:45 Fri 08 Mar     , Sascha Hauer wrote:
> > On Fri, Mar 08, 2013 at 01:21:43PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > On 08:41 Fri 08 Mar     , Sascha Hauer wrote:
> > > > On Thu, Mar 07, 2013 at 12:45:18AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > > > take from xloader
> > > > > 
> > > > > with this the mmc work even when booting from nand
> > > > 
> > > > Which beagle board revision do you have? With this patch the MMC
> > > > doesn't work at all anymore, even when booting from it.
> > > c3
> > 
> > Me too. Have you tested the patch?
> I use my current flashed barebox and re-run barebox
> 
> and it works
> 
> I boot from NAND

Just tried again with current master + this patch flashed as xloader +
2nd stage flashed to Nand. It breaks compiling the xloader support btw:

arch/arm/boards/beagle/built-in.o: In function `beagle_devices_init':
lowlevel.c:(.text.beagle_devices_init+0x18): undefined reference to `twl4030_get'
lowlevel.c:(.text.beagle_devices_init+0x2c): undefined reference to `twlcore_reg_write'
lowlevel.c:(.text.beagle_devices_init+0x36): undefined reference to `twlcore_reg_write'

To fix this I enabled the twl support for now.

But still it doesn't work

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