[U-Boot-Users] Function pointers after relocation
Robin Gilks
robin.gilks at tait.co.nz
Wed Jul 9 06:46:11 CEST 2003
Nye Liu wrote:
> Is this at all related to this problem:
>
> http://sourceforge.net/mailarchive/message.php?msg_id=5376039
>
> i.e. env not being copied from flash in relocate() when ENV_IS_EMBEDDED
> is set?
>
Turned out that it was CFG_MONITOR_LEN which was defined as being too
large so the pre-processor stuff in include/environment.h was setting
ENV_IS_EMBEDDED when it shouldn't.
Sorted that, quick tweak to remove un-necessary GOT(environment) from
start.S (since its not in the image it won't be in the GOT table!!) and
it all works :-))
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks at tait.co.nz
New Zealand
More information about the U-Boot
mailing list