Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: hkramski on February 26, 2014, 11:15:39 PM

Title: "Bad CRC" on system start - should I worry?
Post by: hkramski on February 26, 2014, 11:15:39 PM
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
Title: Re: "Bad CRC" on system start - should I worry?
Post by: stylesuxx on March 04, 2014, 01:07:40 PM
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.
Title: Re: "Bad CRC" on system start - should I worry?
Post by: kylebassett on March 06, 2014, 03:32:45 AM
"saveenv" does the trick!  I just did this on my a20.
Title: Re: "Bad CRC" on system start - should I worry?
Post by: hkramski on March 08, 2014, 12:10:09 AM
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