Wolfgang, 1. I think I might be making an error with the syntax. Can you verify that this is the exact correct syntax to fix the Bad CRC (quotations, colons etc) (or am I making an error somewhere in the syntax)
#define CONFIG_PREEBOOT "setenv preboot 'setenv preboot;saveenv';" 2. And also can you verify that I would add this line in the file that I am adding this line of code to is at91rm9200dk.h in /u-boot/include/configs Thanks a lot -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2008 1:43 PM To: Rugunda, Solo Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Question about Bad CRC In message <[EMAIL PROTECTED]> you wrote: > > I know that with UBoot, to fix the Bad CRC, all you have to do is to > type saveenv during the boot process. However, what if someone does not > have access to a terminal to be able to type in the saveenv command? If you don't have access to the console, you won;t even see the warning message, so just ignore it and continue to use the default environment. Where's the problem? > Basically, I want to know of a way that a Bad CRC can be fixed without a > user having to interact with the boot up process. You can do tricks like defining a CONFIG_PREBOOT command equivalent to this one: => setenv preboot 'setenv preboot;saveenv' At the time of the next boot this will first delete this setting (so it's run exactly once only), and then save the environment. > ------_=_NextPart_001_01C8BB67.BD30E8ED > Content-Type: text/html; > charset="US-ASCII" > Content-Transfer-Encoding: quoted-printable Please don't post HTML here! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] How many hardware guys does it take to change a light bulb? "Well the diagnostics say it's fine buddy, so it's a software problem." ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users