[U-Boot] environment in NAND

Scott Wood scottwood at freescale.com
Fri Sep 16 00:34:43 CEST 2011


On 09/07/2011 04:34 AM, Arno Steffen wrote:
> "# save
> Saving Environment to NAND...
> Erasing Nand...
> Warning: Erase size 0x00002000 smaller than one erase block 0x00020000
>          Erasing 0x00020000 instead
> Skipping bad block at  0x000c0000
> 
> Writing to Nand... FAILED!"

In newer versions of U-Boot this is a hard failure, not a warning.

CONFIG_ENV_RANGE should probably be defaulting to CONFIG_ENV_SECT_SIZE,
not CONFIG_ENV_SIZE -- that would eliminate this problem.

-Scott



More information about the U-Boot mailing list