Re: [U-Boot-Users] Setting up environment variables under linux

What EXACTLY did you configure?
Did you keep the setting of HAVE_REDUND? And is does your system really use redundand flash sectors?
Did you keep the definition of CONFIG_FILE? and what does your config file contain?
No, I uncommented the HAVE_REDUND definition. But I kept the definition of CONFIG_FILE. However, my config file contains, I think, the right informations:
# MTD device name Device offset Env. size Flash sector size /dev/mtd2 0x0000 0x4000 0x4000
Misconfiguration. I think you left the "#define HAVE_REDUND" in the header file but use only a simple (non-redundand) flash sector; or you forgot to remove the CONFIG_FILE or to adapt your config file.
Best regards,
Wolfgang Denk

In message 10631.1082825403@www52.gmx.net you wrote:
No, I uncommented the HAVE_REDUND definition. But I kept the definition of CONFIG_FILE. However, my config file contains, I think, the right informations:
Then run under a debugger, or add some debug code to print at least the expected and the actual values of the CRC checksum read from flash.
Best regards,
Wolfgang Denk
participants (2)
-
Juergen Oberhofer
-
Wolfgang Denk