From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Larsen Date: Mon, 27 Oct 2003 17:02:41 +0100 Subject: [U-Boot-Users] Re: [PATCH][CFT] bring ARM memory layout in line with the documentation In-Reply-To: <3F9D3433.4060809@imc-berlin.de> References: <20030918110044.6595DC59E4@atlas.denx.de> <3F9D3433.4060809@imc-berlin.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Steven Scholz 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