From: Benoit RAT <benoit@sevensols.com>
To: "Eric Bénard" <eric@eukrea.com>
Cc: barebox@lists.infradead.org
Subject: Re: Check if valid kernel and/or FS
Date: Fri, 25 May 2012 12:58:48 +0200 [thread overview]
Message-ID: <CAHvDM_dXQhSHi+gACuwnbs9i2=Sf93Bt8PBPMdKS0KvvNztmvA@mail.gmail.com> (raw)
In-Reply-To: <20120525125154.1c039173@eb-e6520>
[-- Attachment #1.1: Type: text/plain, Size: 1735 bytes --]
Thanks,
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.
--
<http://www.sevensols.com/> <http://www.sevensecurity.es>
*Benoit RAT LAMY*
Engineer (Sw) \ Ingeniero (Sw)
fix. *(+34) 958 285 024*
cel. *(+34) 617 989 123*
e-mail: benoit@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@eukrea.com> wrote:
> Hi Benoit,
>
> Le Fri, 25 May 2012 12:08:09 +0200,
> Benoit RAT <benoit@sevensols.com> a écrit :
>
> > 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.
> >
> 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 :
>
> http://git.pengutronix.de/?p=barebox.git;a=blob;f=arch/arm/boards/at91sam9m10g45ek/env/bin/menu_boot;h=d0b1396de984e3b00902cfb32598dcf123afc6bf;hb=refs/heads/next
>
> > 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 ?
>
> Eric
>
[-- Attachment #1.2: Type: text/html, Size: 5975 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-05-25 10:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-25 10:08 Benoit RAT
2012-05-25 10:51 ` Eric Bénard
2012-05-25 10:58 ` Benoit RAT [this message]
2012-05-25 12:35 ` Sascha Hauer
2012-05-25 11:10 ` Jean-Christophe PLAGNIOL-VILLARD
2012-05-25 11:12 ` Eric Bénard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHvDM_dXQhSHi+gACuwnbs9i2=Sf93Bt8PBPMdKS0KvvNztmvA@mail.gmail.com' \
--to=benoit@sevensols.com \
--cc=barebox@lists.infradead.org \
--cc=eric@eukrea.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox