From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Larsen Date: Wed, 17 Sep 2003 16:35:00 +0200 Subject: [U-Boot-Users] [PATCH][CFT] bring ARM memory layout in line with the documented behaviour 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 Hi, here's a fairly lengthy patch against 0.4.8 that brings the memory layout of all supported ARM CPUs in line with the documentation. This has the positive side-effect of allowing U-Boot to actually run on PXA CPUs (the stock PXA implementation didn't set the start-address of the malloc pool at all!) The memory layout now more or less conforms to the standard as defined in the README (the absolute addresses are board-specific, of course). Since the stack and malloc-heap are now located below the U-Boot code, the TEXT_BASE of the supported ARM boards can be increased accordingly (for most (but not all) boards, the patch already does this). 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] Since I only have access to PXA-based HW, I was only able to verify that U-Boot still *builds* for all supported ARMs; I have to rely on your help to see if it also *runs* correctly. CHANGELOG: Bring ARM memory layout in line with the documentation. Wolfgang: Please don't apply this patch until we have some feedback from the ARM maintainers. Robert: When/if this patch is eventually applied, you can probably push most of your PXA -ptx stuff without having it break things. Cheers Anders -------------- next part -------------- A non-text attachment was scrubbed... Name: u-boot.arm-mem-layout.patch.gz Type: application/x-gzip Size: 6596 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20030917/9da24daf/attachment.bin