[U-Boot-Users] Function pointers after relocation

Robin Gilks robin.gilks at tait.co.nz
Wed Jul 2 07:04:11 CEST 2003


Greetings

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?

board = mpc866ads (fads alike)
cpu   = mpc866    (mpc860 alike)
all changes based on ads860+fads merge!!


-- 
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