From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 25 Nov 2011 13:22:42 +0100 Subject: [U-Boot] How to resolve CRC issue in Uboot and maintain the env variables In-Reply-To: <4ECF7347.9090307@easunreyrolle.com> References: <4ECF7347.9090307@easunreyrolle.com> Message-ID: <4ECF8892.1010402@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 =====================================================================