
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