public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Fixup relocation patch.]
@ 2007-02-14  9:24 Joakim Tjernlund
  2007-02-14 11:27 ` Txema Lopez
  0 siblings, 1 reply; 12+ messages in thread
From: Joakim Tjernlund @ 2007-02-14  9:24 UTC (permalink / raw)
  To: u-boot

> From: Txema Lopez [mailto:tlopez at aotek.es] 
> Sent: 14 February 2007 09:01
> To: Joakim Tjernlund
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] [PATCH] Fixup relocation patch.]
> 
> Joakim Tjernlund wrote:
> 
> >I wonder, how far off is a fully relocatable u-boot? That 
> is, burn it anywhere
> >in flash and start it from there?
> >
> > Jocke
> >
> >  
> >
> Hi Jocke,
> The patch was done precisely for it. You can copy a U-Boot 
> image from an 
> address in flash to another and calculate the new pointers in 
> the GOT an 
> FIXUP sections before do the copy.
> But you need another change in U-Boot to turn it fully relocatable. 
> U-Boot is hardly joined with the link address TEXT_BASE. You must 
> replace it for a label in U-Boot and change the lines in the 
> U-Boot code 
> where there is a direct or indirect reference (as 
> CFG_MONITOR_BASE) to 
> TEXT_BASE.
> 
> Best regards,
> Txema

Hi Txema

Can you give an example on how to change these references to
TEXT_BASE/CFG_MONITOR_BASE?

 Regards
         Jocke

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <45D1DB7D.7050403@fagorautomation.es>]

end of thread, other threads:[~2007-02-14 12:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-14  9:24 [U-Boot-Users] [PATCH] Fixup relocation patch.] Joakim Tjernlund
2007-02-14 11:27 ` Txema Lopez
2007-02-14 12:07   ` Joakim Tjernlund
     [not found] <45D1DB7D.7050403@fagorautomation.es>
2007-02-13 16:21 ` Txema Lopez
2007-02-13 16:40   ` Joakim Tjernlund
2007-02-13 16:48     ` Grant Likely
2007-02-13 16:51   ` Grant Likely
2007-02-13 18:23     ` J. William Campbell
2007-02-14  6:50       ` Grant Likely
2007-02-13 18:37     ` Joakim Tjernlund
2007-02-14  8:01       ` Txema Lopez
2007-02-14  7:30     ` Txema Lopez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox