
28 Jun
2007
28 Jun
'07
5:05 p.m.
On Thu, 2007-06-28 at 07:43 -0700, Angad wrote:
Doing a setenv and saveenv write the variables to the eeprom. Erasing th eflash via the BDI does not reset those variables. Is there a way to erase the eeprom from the BDI.
Thanks for the replies.
If your environment is in NOR flash, make sure you wipe out both the primary and secondary (if you're using redundancy) sectors. This will wipe the environment.
I'm assuming you're using dedicated sectors for environment. If your environment is embedded in U-boot, you'll have to re-flash the image.
If you're using a serial flash, you'll have to find another way, since BDI doesn't do SPI or I2C as far as I know.
regards, Ben