[U-Boot] [PATCH] arm: Add option to disable code relocation
Wolfgang Denk
wd at denx.de
Mon Feb 6 23:24:54 CET 2012
Dear Albert ARIBAUD,
In message <4F304376.3020400 at aribaud.net> you wrote:
>
> Now if the platform is static and has a preloader of sorts, then one can
> predict (or just observe) where U-Boot would want to relocate, and set
> the preloader once and for all (for a given release of U-Boot, that is)
> to load U-Boot directly at that address. U-Boot will skip copy and
> relocation if it already resides at the right address.
This may, or may not work.
Assume you have PRAM enabled in your configuration, then the
relocation address depends on the size of the PRAM area, which is
defined by the value of an environment variable - i. e. it can be
different for each boot.
In the general case, the relocation address is NOT predictable.
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
Gewöhnlich glaubt der Mensch, wenn er nur Worte hört, es müsse sich
dabei doch auch was denken lassen. -- Goethe, Faust I
More information about the U-Boot
mailing list