public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] location independence
@ 2006-12-07  7:41 cam at sysgo.com
  0 siblings, 0 replies; 2+ messages in thread
From: cam at sysgo.com @ 2006-12-07  7:41 UTC (permalink / raw)
  To: u-boot

Hello,

I have to evaluate if U-Boot fulfills an special requirement, and for that I
have to answer the following:

Is the part of the U-Boot code that is executed from flash "location
independent"? By "location independent" I mean code that can be executed from
any address range (in flash) without any modification. The target is MPC85xx.
(The bootpage is obviously out of question).

Best regards,
Carlos Mitidieri

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] location independence
@ 2006-12-11  8:10 TXEMA LOPEZ
  0 siblings, 0 replies; 2+ messages in thread
From: TXEMA LOPEZ @ 2006-12-11  8:10 UTC (permalink / raw)
  To: u-boot

Is the part of the U-Boot code that is executed from flash "location
independent"? By "location independent" I mean code that can be executed from
any address range (in flash) without any modification. The target is MPC85xx.


I don't know the details of the MPC85xx architecture, I'm only familiar with the MPC5200 architecture but I think both cases could be familiar. The U-Boot code running from flash is linker address dependent, so you can not, by example, put an image of U-Boot in a different address that it was linked and jump to it from a smaller boot. It is because you must reassign the GOT and the FIXUP sections in a similar way It's done when U-Boot is relocated in RAM.     

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-11  8:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07  7:41 [U-Boot-Users] location independence cam at sysgo.com
  -- strict thread matches above, loose matches on Subject: below --
2006-12-11  8:10 TXEMA LOPEZ

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