[U-Boot] NAND bad environment block handling

Scott Wood scottwood at freescale.com
Thu Jan 8 20:57:45 CET 2009


On Thu, Jan 08, 2009 at 07:19:29AM -0800, Frans Meulenbroeks wrote:
> Is there a solution for this? (obviously I am not considering the
> situation for a single system, where I just would relocate the
> environment block; this concerns a production situation).
> 
> E.g. it would be nice if U-Boot could read the env from the next non-bad block at/after the env address.
> 
> Has someone experience in this area? Ideas? Suggestions?

As others pointed out, this is supported; just make the environment range
larger than the environment size.

However, this can be wasteful, especially with large block sizes; someone
a while ago proposed putting a pointer to the environment in the OOB of
the first block.

-Scott


More information about the U-Boot mailing list