[U-Boot] how can i change u-boot load address?

Wolfgang Denk wd at denx.de
Tue Oct 7 09:36:14 CEST 2008


Dear Roman,

In message <40a670230810061636u3c7c3c1dn26f6860a1b463d8b at mail.gmail.com> you wrote:
> 
> Can the value of TEXT_BASE be arbitrary chosen for test purposes?

No, it cannot. You have to define a memory map for your system, which
will result in certain restrictions for the choice of TEXT_BASE.

In general, you have to understand what you are doing, and in detail.

> I'm trying to understand how it's done on ARM --

On ARM it's being done wrong  -  no  real  relocation  is  preformed;
instead,  U-Boot is liked to a fixed address in RAM. The startup code
(mostly assembler) can run from ROM (too).

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
Vulcans believe peace should not depend on force.
	-- Amanda, "Journey to Babel", stardate 3842.3


More information about the U-Boot mailing list