Resend: The dreaded embedded environment - linker barf!
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dear Robin,
Quoted 2 lines · in message <[email protected]> you wrote:
My assumptions here are based in part on the names of the #defines
This is not a reliable method - if there is no better documentation you have to check how these #define'd variables are _used_, too.
Quoted 4 lines
It was only later I re-read the README file where it states that
CFG_MONITOR_START=CFG_FLASH_BASE- makes one of them somewhat redundant if they are equal anyway. Certainly it appears that the code assumes they are the same!!
This is not exactly correct. The README says about CFG_MONITOR_BASE:
"same as CFG_FLASH_BASE when booting from flash." In some cases U-Boot may be stored in ROM, or even in RAM, in which case CFG_MONITOR_BASE and CFG_FLASH_BASE may be different.
Quoted 3 lines
I fixed the problem by putting the environment into EEPROM - the FLASH implementation is broken. If it happens that I have to revisit the FLASH environment then I'll try and fix it :-))
No, the flash implementation is _NOT_ broken. Your configuration is broken, that's all. The flash implementation is working fine on many, many boards.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Far back in the mists of ancient time, in the great and glorious days of the former Galactic Empire, life was wild, rich and largely tax free. - Douglas Adams, _The Hitchhiker's Guide to the Galaxy_