SAM9-L9260 & NAND bad blocks

Hi,

I’ve been trying to use an SAM9-L9260. It worked well, but what can I do if environment variables’ area get bad?

Like this:

U-Boot> saveenv
Saving Environment to NAND...
Erasing Nand...nand_erase: attempt to erase a bad block at page 0x000000c0

Best regards,

Peter

I have the very same problem on the SAM9-L9260 board, with the same page address even (seems odd?)

Erasing Nand…nand_erase: attempt to erase a bad block at page 0x000000c0

Any fix or insight into this anyone?