[U-Boot-Users] Set bootcmd through BDI2000

Ben Warren bwarren at qstreams.com
Thu Jun 28 17:05:57 CEST 2007


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 





More information about the U-Boot mailing list