Regression: not booting anymore on OMAP35xx

Sascha Hauer s.hauer at pengutronix.de
Wed Jun 23 02:42:57 EDT 2010


On Tue, Jun 22, 2010 at 04:04:52PM +0200, Luca Ceresoli wrote:
> Sascha Hauer wrote:
> > Hi Luca,
> > 
> > On Tue, Jun 22, 2010 at 02:26:11PM +0200, Luca Ceresoli wrote:
> > > Hi,
> > > 
> > 
> > Seems that I lost the call to arch_init_lowlevel. Does the following
> > patch help?
> 
> I'm afraid it doesn't seem to.
> It fails with the same symptoms.
> 
> Luca
> 
> > 
> > 
> > diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c
> > index eea7dcf..91d2ccd 100644
> > --- a/arch/arm/cpu/start.c
> > +++ b/arch/arm/cpu/start.c
> > @@ -50,6 +50,8 @@ void __naked __bare_init reset(void)
> >  {
> >  	uint32_t r;
> >  
> > +	arch_init_lowlevel();
> > +

Ok, this has to be done *after* switching the cpu to SVC32 mode.

I tested this on my beagle board and now it works again. I pushed
a patch to the master repository.

Sorry for the inconvenience and thanks for reporting.

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