Skip to contentSkip to conversation

CFG_LOaD_ADDR and TEXT_BASE???

U-Boot-Users André Stierenberg 2 participants 2 messages Mar 25, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

i have a question for u-boot. what exactly describes the definition CFG_LOAD_ADDR? What load adress is it? For the kernel or for u-boot relocated in RAM? And in the board-specific file config.mk, what exactly describes TEXT_BASE?

Andr?

CFG_LOAD_ADDRTEXT_BASE

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

i have a question for u-boot. what exactly describes the definition CFG_LOAD_ADDR? What load adress is it? For the kernel or for u-boot

It's the default value for the "loadaddr"environment variable. It has nothing to do with the relocation of U-Boot to RAM.

Quoted 2 lines

relocated in RAM? And in the board-specific file config.mk, what exactly describes TEXT_BASE?

It's the address where the text segment of your image will start. In other words, TEXT_BASE+0x100 is typically the reset entry point for your system. See cpu/*/start.S

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"Who is the oldest inhabitant of this village?"
"We haven't got one; we had one, but he died three weeks ago."