bareboxenv usage
Marc Kleine-Budde
mkl at pengutronix.de
Tue Sep 13 08:00:03 EDT 2011
On 09/13/2011 01:25 PM, Boaz Ben-David wrote:
> There's something I don't get.
>
> If loadenv/saveenv are not bad-block aware, why are they used in barebox
> by default?
They operate on bad block aware devices (in barebox) by default.
> When the system boots envfs_load is used to load the environment from
> /dev/env0 or whatever.
>
> If /dev/env0 is not bad-block aware device (like the bb devices) this
> means this could fail because of
> a bad block in the env partition. Am I right?
Nope - the raw NAND is usually attached as "/dev/env0_raw" and the bad
block aware device as "/dev/env0".
cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20110913/7a58a462/attachment.sig>
More information about the barebox
mailing list