[U-Boot] NAND bad environment block handling

Wolfgang Denk wd at denx.de
Sun Jan 11 22:56:38 CET 2009


Dear Frans Meulenbroeks,

In message <817622.67175.qm at web33604.mail.mud.yahoo.com> you wrote:
> 
> > Time to look into UBI, me thinks.
> 
> For u-boot env settings??

Why not? Once the flash is UBI managed, there are  virtually  no  bad
blocks any more.

> My problem that the designated env blocks can be bad or become bad during the lifetime of the device. Not desirable especially not for expensive devices.

As mentioned before, U-Boot supports bad block handling on NAND, so
just allocate a few spare blocks to the environment area.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Keep your eyes wide open before marriage, half shut afterwards.
                                                 -- Benjamin Franklin


More information about the U-Boot mailing list