
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: wd@denx.de [mailto:wd@denx.de] 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 7773DF3D5AD05647B155E7F56554B45CB35ED6@srvhouexc13.nov.com 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