Fallback environment in barebox

Juergen Beisert jbe at pengutronix.de
Tue Mar 8 10:37:47 EST 2011


Baruch Siach wrote:
> On Sun, Mar 06, 2011 at 04:59:02PM +0200, Itai Raab wrote:
> > I tried doing what you explained, but it seems like Barebox startup code
> > didn't load the environment from env1 when env0 was corrupted.
> >
> > In barebox shell I could find /dev/env1 with all the data, but when the
> > Barebox started I got:
> > 	no valid environment found on /dev/env0. Using default environment
> >
> > Looking at the startup code (common/startup.c - is this the place?) I
> > don't see any mechanism to load env1 when env0 fails.
>
> You seem to be right. Juergen, can you explain what you meant?

It seems the patches to add this feature are forgotten in one of our BSPs. :-(

I will search for them and resend them to this list. Please be patient.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |



More information about the barebox mailing list