From: Robert Schwebel Date: Mon, 31 Mar 2003 14:52:09 +0200 Subject: [U-Boot-Users] Memory map on ARM In-Reply-To: <20030331123317.51C75C587C@atlas.denx.de> References: <20030331114826.GY7702@pengutronix.de> <20030331123317.51C75C587C@atlas.denx.de> Message-ID: <20030331125209.GB7702@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Mar 31, 2003 at 02:33:12PM +0200, Wolfgang Denk wrote: > > Would you accept a patch with board configuration dependend code for > > board.c as a workaround solution, just to make the boards work with the > > release? > > The patch I've seen before? The only thing I did is to change mem_malloc_init (_armboot_real_end); into mem_malloc_init(_armboot_start - CFG_MALLOC_LEN); in board.c. Everything else is ok, at least for my ports I don't have do do other changes. > But this does only re-order the position of some memory areas. This > should have zero impact on the functioning or non-functioning of the > code at all. I relocate u-boot to the top of RAM as recommended in the readme, which means that it breaks if mem_malloc_init() wants to initialize the malloc are above _armboot_real_end. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Braunschweiger Str. 79, 31134 Hildesheim, Germany Handelsregister: Amtsgericht Hildesheim, HRA 2686 Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4