I want to know, if i am using the default environment (the that I am using from compilation)
barebox> no valid environment found on /dev/env0. Using default environment
Or I am using the one that there is in /dev/env0
It is in the case someone break something in the NAND flash env, I want to save again the default one.
--
Benoit RAT LAMY
Engineer (Sw) \ Ingeniero (Sw)
fix. (+34) 958 285 024
cel. (+34) 617 989 123
e-mail: benoit@xxxxxxxxxxxxx
www.sevensols.com / www.sevensecurity.es
_________________________________
C/ Baza, parcela 19 Nave 3 \ Polígono Ind. Juncaril \
18210 - PELIGROS - GRANADA –SPAIN
On Fri, May 25, 2012 at 12:51 PM, Eric Bénard <eric@xxxxxxxxxx> wrote:
Hi Benoit,
Le Fri, 25 May 2012 12:08:09 +0200,
Benoit RAT <benoit@xxxxxxxxxxxxx> a écrit :
first try the boot command, if the kernel is not correct (ie : bad
> I was wondering if there was a good way to check if I have a correct kernel
> and/or filesystem in my partition before loading them.
> If it is not the case then I will check out for valid images in tftpboot or
> prompt the barebox shell.
>
checksum), the boot command returns and you can then launch a tftpboot
or give a prompt.
Check for example :
http://git.pengutronix.de/?p=barebox.git;a=blob;f=arch/arm/boards/at91sam9m10g45ek/env/bin/menu_boot;h=d0b1396de984e3b00902cfb32598dcf123afc6bf;hb=refs/heads/next
what do you mean here ?
> And another question is how can i know that I am using the barebox
> environment from nand flash instead of the one from a scripts?
>
Eric
_______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox