[U-Boot] *** Warning - bad CRC, using default environment
anup behare
anupbehare at gmail.com
Thu May 20 05:43:49 CEST 2010
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
On Wed, May 19, 2010 at 8:54 PM, Nick Thompson <nick.thompson at ge.com> wrote:
> On 18/05/10 08:11, anup behare wrote:
> > Hi,
> >
> > While using u-boot for ppc440 based board we are getting "*** Warning -
> bad
> > CRC, using default environment" message.
> > On denx site we came to know that message is printed because the flash
> > sector or ERPROM containing the environment variables has never been
> > initialized yet.
>
> That is not quite true. It is one reason, true, but it could also occur
> if your data has become corrupted and your CRC no longer matches.
>
> In the latter case you will be glad of the warning because either your
> H/W is flaking out or you have accidentally overwritten the env area
> while writing to FLASH/EEPROM/Whatever. You need to know when these things
> happen and that's what the warning is for.
>
> Just do a saveenv and hope you never see the warning again :)
>
> Nick.
>
More information about the U-Boot
mailing list