"Bad CRC" on system start - should I worry?

Started by hkramski, February 26, 2014, 11:15:39 PM

Previous topic - Next topic

hkramski

On system startup the following warning message is shown on the serial console:

U-Boot 2013.10-rc2-08400-g8a4621c (Oct 29 2013 - 15:24:26) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: A20-OLinuXino_MICRO
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment


Bad CRC of what? Is that something I should worry about?

Regards,
   Heinz

stylesuxx

I have seen this too, and was asking myself the same question.

I found this information
Quote from: http://www.denx.de/wiki/view/DULG/WarningBadCRCUsingDefaultEnvironmentMost probably everything is OK. The message is printed because the flash sector or ERPROM containing the environment variables has never been initialized yet. The message will go away as soon as you save the envrionment variables using the saveenv command.

But I have not tried it yet.

kylebassett

"saveenv" does the trick!  I just did this on my a20.

hkramski

Thanks, "saveenv" really helps.

For the uniniated (like me) one should add that "saveenv" is only available at the u-boot command prompt and not from a running Debian (at least not in the default install).

Heinz