[U-Boot] *** Warning - bad CRC, using default environment

Nick Thompson nick.thompson at ge.com
Thu May 20 10:33:35 CEST 2010


On 20/05/10 04:43, anup behare wrote:
> Hi Nick,
> 
> 
> I observed that when i used saveenv the warning never occurred, but when i
> used to erase the flash and burn the u-boot that warning comes again hence I
> will have to use saveenv on u-boot command prompt.
> 
> 
> ~Anup

Yes, indeed! The warning was trying to let you know that your work flow is
wrong. Flash can be eased in sectors. The env should be in a sector(s) on
it's own. There is no need to erase that sector(s) to re-flash U-Boot.

Erase only U-Boot before re-flashing U-Boot. This will keep all you env
data (which is valuable) intact and the warning will not reappear. If it
does reappear you've done /something/ wrong and the warning will catch
that for you again.

It's a good warning, honestly. Hang on to it. Learn to love it.

Nick.


More information about the U-Boot mailing list