Check if valid kernel and/or FS
benoit at sevensols.com
Fri May 25 06:58:48 EDT 2012
I want to know, if i am using the default environment (the that I am using
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 at sevensols.com
*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 at eukrea.com> wrote:
> Hi Benoit,
> Le Fri, 25 May 2012 12:08:09 +0200,
> Benoit RAT <benoit at sevensols.com> a écrit :
> > I was wondering if there was a good way to check if I have a correct
> > 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
> > prompt the barebox shell.
> first try the boot command, if the kernel is not correct (ie : bad
> checksum), the boot command returns and you can then launch a tftpboot
> or give a prompt.
> Check for example :
> > 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?
> what do you mean here ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the barebox