Re: Fallback environment in barebox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Boaz Ben-David wrote:
> We want to implement a mechanism in barebox to use two environment
> partitions.
> i.e. when barebox boots it will go to the first by default and try to
> use it. If for some reason it fails
> it will boot with the second one.
>
> What is the best way to implement this in barebox and did anyone do it
> already?

AFAIR a mechanism like this is already present in barebox. It tries the first 
environment, checks its CRC and if it fails it tries the next, if one exists.
Just register env0, env1, .....

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/  |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux