[U-Boot-Users] What is u-boot relocation address?
Wolfgang Denk
wd at denx.de
Mon Oct 16 22:23:21 CEST 2006
In message <eh0ars$6hk$1 at sea.gmane.org> you wrote:
>
> Now I'm completely confused...
Then I recommend to read the source code.
> CFG_MONITOR_BASE is u-boot startting location before relocation?
No, it's the start address of the U-Boot image in flash.
> CFG_FLASH_BASE is the same?
This may be, but is not always the case. Both are unrelated. But the
following should always be true: CFG_FLASH_BASE <= CFG_MONITOR_BASE
<= CFG_FLASH_BASE + sizeof(your flash memory) - sizeof(u-boot image)
> TEXT_BASE is... hm... (same as both constants above) 0x0? Doesn't work. And
No, TEXT_BASE is something different. What exactly it is depends on
which architecture you're talking about.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The good Christian should beware of mathematicians and all those who
make empty prophecies. The danger already exists that mathematicians
have made a covenant with the devil to darken the spirit and confine
man in the bonds of Hell." - Saint Augustine
More information about the U-Boot
mailing list