
2 Jul
2003
2 Jul
'03
4:31 p.m.
Hello,
in message 3F0267CB.8040904@tait.co.nz you wrote:
When u-boot has relocated from Flash to RAM, it is correct that function pointers (eg. getenv()) still point to the Flash code rather than the RAM copy? Would this be corrected by changing the link address, in which case where do I find it (the link address that is) - in the .lds file?
This is not correct. The problem is that staticlly initialized data (like initialized function pointers() must be manually relocated. If there is such a thing left pointing to flash, it is a bug and should be fixed.
Which part of the code are you speaking of?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"Have you lived in this village all your life?" "No, not yet."