Setting up environment variables under linux
Quoted 8 lines
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
Quoted 9 lines
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 theCONFIG_FILEor to adapt your config file.Best regards,
Wolfgang Denk
Signature · 2 lines
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren unter http://www.gmx.net/info
Quoted 4 lines · In message <[email protected]> you wrote:
No, I uncommented the
HAVE_REDUNDdefinition. But I kept the definition ofCONFIG_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
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "If God had wanted us to use the metric system, Jesus would have had 10 apostles."