SAM9-L9260 saveenv fails w/ "attempt to erase bad block

I’m unable to save changes in u-boot with saveenv - it always returns

U-Boot> saveenv

Saving Environment to NAND…

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

==================

what am I forgetting?

Thanks - Mark

Well, after some fiddling, I found that doing a complete restore using the steps in the “SAM9_L9260 Quick Start Guide.txt” file, saveenv once again behaved as expected… UNTIL one tries to save a MAC address to it for tftp booting.

setenv ethaddr xx:xx:xx:xx:xx:xx

saveenv

things break, and remain broken until you start from scratch again.

Can someone else confirm this behavior?

THanks - Mark