From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Benoit RAT <benoit@sevensols.com>
Cc: barebox@lists.infradead.org
Subject: Re: Check if valid kernel and/or FS
Date: Fri, 25 May 2012 13:10:20 +0200 [thread overview]
Message-ID: <20120525111020.GH2202@game.jcrosoft.org> (raw)
In-Reply-To: <CAHvDM_cjKPKt205M3W+Cn8ns0+_GeYbj7xrtX6D+iiu9cJVt4g@mail.gmail.com>
On 12:08 Fri 25 May , Benoit RAT wrote:
> Hy barebox guy,
> 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.
> Regards,
kernel yes rootfs no
but this not really the right way to do
the best wyay is to use bootcounter with a watchdog
so if after x times your boot is failling you can boot the failsafe or anthink
you want
> 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?
in the log if see
envfs: wrong magic on
which mean you load from the builtin
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-05-25 11:10 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
2012-05-25 12:35 ` Sascha Hauer
2012-05-25 11:10 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
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=20120525111020.GH2202@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
--cc=benoit@sevensols.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