[U-Boot] [PATCH] arm: Add option to disable code relocation

Wolfgang Denk wd at denx.de
Wed Feb 8 00:23:17 CET 2012


Dear Dirk Behme,

In message <4F30C794.50206 at de.bosch.com> you wrote:
>
> > Also, if SPL can determine total SDRAM, copy U-Boot to the final location
> > and perform the relocations, there is no need for relocation to be done by
> > U-Boot. As I understand it, SPL loads U-Boot into a fixed address and then
> > U-Boot copies itself to top-of-RAM. We can save one copy
> 
> Yes, exactly, saving this one copy was the the reason for me to start 
> this thread.

Is nobody _reading_ what I try to explain again and again and again?

If SPL was to determing the relocation address, it would also have to
read the environment, because there are a number of environment
variables which can cause (dynamically) the relocation address to
change.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Is not that the nature of men and women -- that the  pleasure  is  in
the learning of each other?
	-- Natira, the High Priestess of Yonada, "For the World is
	   Hollow and I Have Touched the Sky", stardate 5476.3.


More information about the U-Boot mailing list