[U-Boot] How to resolve CRC issue in Uboot and maintain the env variables

Stefano Babic sbabic at denx.de
Fri Nov 25 13:22:42 CET 2011


On 25/11/2011 11:51, Zaheer Sheriff wrote:
> Hi,
> When I got the warning like
> 
> **** Warning - bad CRC, using default environment*
> 
> I came across the reason for this in
> _http://www.denx.de/wiki/view/DULG/WarningBadCRCUsingDefaultEnvironment_
> 
> Question:
>    I have ported U-Boot to a custom board. It seems to boot OK, but it
>    prints:
> 
>    *** Warning - bad CRC, using default environment
> 
>    Why?
> Answer:
>    Most 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.
> 
> 
> 
> How to resolve this. Yes every time I could not save the environment,

You have not said which processor you use, which kind of board, which
board you used as reference, if you are running the current U-boot
version...you told us nothing, how can we help ?

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list