[U-Boot-Users] Re: [PATCH][CFT] bring ARM memory layout in line with the documentation
Anders Larsen
alarsen at rea.de
Mon Oct 27 17:02:41 CET 2003
Steven Scholz <steven.scholz at imc-berlin.de> schreibt:
>I am confused about ARM and the use of TEXT_BASE:
That's understandable.
>
>Anders Larsen wrote:
> > Memory layout example based on my PXA255 (TEXT_BASE = 0xA07E0000):
> >
> > 0xA079FF74 Monitor Stack (growing downwards)
> > 0xA079FF80 Board Info Data and permanent copy of Global Data
> > 0xA07A0000 Malloc Arena
> > 0xA07E0000 RAM copy of Monitor Code
> > ... optional: Frame Buffer
> > 0xA07FFFFF [End of RAM]
The ordering of the blocks in the above memory map is only valid with
my patch applied.
>
>Wolfgang Denk wrote:
>
>> TEXT_BASE determines the start address in FLASH memory which is used
>> before relocation.
...for all architectures except ARM.
>
>Now is TEXT_BASE the "address in FLASH memory" or the address of the "RAM
>copy
>of Monitor Code"???
For ARM, TEXT_BASE refers to the RAM copy;
for all other architectures TEXT_BASE refers to FLASH.
Cheers
Anders
More information about the U-Boot
mailing list