[U-Boot] Nand: Uboot-Environment at bad block

Scott Wood scottwood at freescale.com
Thu Aug 4 20:02:47 CEST 2011


On 08/04/2011 05:07 AM, Daniel Gorsulowski wrote:
> Arno Steffen wrote:
>> In one of my devices, uboot-environment is located at a bad block.
>> "save
>> Saving Environment to NAND...
>> Erasing Nand...
>> Skipping bad block at  0x000c0000
>>
>> Writing to Nand... FAILED!"
>>
>> In my memory mapping I have already reseverd 2blocks.
>> How can I setup uboot in a way, that it will look at c0000 or (in case
>> of bad block) at the next block e0000?

Use CONFIG_ENV_RANGE.

-Scott



More information about the U-Boot mailing list