RE: [U-Boot-Users] Question on pre-loader to U-Boot

Thanks Larsen,
So the . = 0x0000 0000 in the ld script file is a relative address. Is it right?
Regards, zl
-----Original Message----- From: Anders Larsen [mailto:alarsen@rea.de] Sent: 2005 10 13 19:44 To: Zhang, Chris (Ex CH01) Cc: u-boot-users@lists.sourceforge.net; wd@denx.de Subject: Re: [U-Boot-Users] Question on pre-loader to U-Boot
"Zhang, Chris (Ex CH01)" Chris.Zhang@honeywell.com schreibt:
I am using at91rm9200dk u-boot from ATMEL.
I noticed that ATMEL uses programs called loader.bin and boot.bin to load U-Boot into SDRAM. The Load Address is 0x21f00000 (the upper 1M).
My question is how does this value is choosen for U-Boot? I guess it is related to linker behavior of U-Boot (right?), but there is no clue to conclude such kind of address. Thanks for any hints.
$ cat board/at91rm9200dk/config.mk TEXT_BASE = 0x21f00000
Cheers Anders

"Zhang, Chris (Ex CH01)" Chris.Zhang@honeywell.com schrieb am Freitag, 14. Oktober 2005 um 03:28 +0100:
So the . = 0x0000 0000 in the ld script file is a relative address. Is it right?
Yes.
Cheers Anders
participants (2)
-
Anders Larsen
-
Zhang, Chris (Ex CH01)