[U-Boot] IXP425 TEXT_BASE
Wolfgang Denk
wd at denx.de
Tue Aug 4 15:49:01 CEST 2009
Dear Darius Augulis,
In message <4A78342C.5090307 at gmail.com> you wrote:
>
> usually TEXT_BASE is offset, which size depends on your requirements for
No. TEXT_BASE is an absolute address.
> stack size and memory size for malloc. If your DRAM base is 0x0 and
> TEXT_BASE is 0xf80000, you will have almost 16Mb for stack and malloc
> and your u-boot code will be linked and loaded to 0xf80000 address.
> 16Mb is probably too much, or your DRAM base is not 0x0.
On architectures like ARM (where the implementation is based on a
broken concept of the system memory map) TEXT_BASE should always be
chosen to be as high as possible to put the ("relocated") U-Boot code
as close as possible to the very end of available RAM. For systems
with several RAM size options you have to set this according to the
smallest possible RAM size, of course (which is a major PITA).
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 worship peace above all.
-- McCoy, "Return to Tomorrow", stardate 4768.3
More information about the U-Boot
mailing list