[U-Boot-Users] Function pointers after relocation

nyet at mrv.com nyet at mrv.com
Wed Jul 9 18:15:34 CEST 2003


This is identical to my 8xx problem.

Wolfgang, still not convinced those GOT(environment) need
#ifdef ENV_IS_EMBEDDED?

On Wed, Jul 09, 2003 at 04:46:11PM +1200, Robin Gilks wrote:
> 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