All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH][CFT] bring ARM memory layout in line with the documented behaviour
@ 2003-09-17 14:35 Anders Larsen
  2003-09-18 11:00 ` [U-Boot-Users] " Wolfgang Denk
  2003-12-06 16:08 ` [U-Boot-Users] [PATCH][CFT] bring ARM memory layout in line with the documented behaviour Wolfgang Denk
  0 siblings, 2 replies; 17+ messages in thread
From: Anders Larsen @ 2003-09-17 14:35 UTC (permalink / raw)
  To: u-boot

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 

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2003-12-07  8:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-17 14:35 [U-Boot-Users] [PATCH][CFT] bring ARM memory layout in line with the documented behaviour Anders Larsen
2003-09-18 11:00 ` [U-Boot-Users] " Wolfgang Denk
2003-09-18 12:15   ` Anders Larsen
2003-09-18 21:20     ` Wolfgang Denk
2003-10-13 16:10       ` [U-Boot-Users] Re: [PATCH][CFT] bring ARM memory layout in line with the documentation Anders Larsen
2003-10-13 16:16         ` Robert Schwebel
2003-10-13 16:40         ` Wolfgang Denk
2003-10-14  7:55           ` Anders Larsen
2003-10-14 20:30             ` Wolfgang Denk
2003-10-16  9:56               ` Robert Schwebel
2003-10-16 10:31                 ` Wolfgang Denk
2003-10-16 10:50                   ` Robert Schwebel
2003-10-16 11:21                     ` Wolfgang Denk
2003-10-27 15:05   ` [U-Boot-Users] Re: [PATCH][CFT] bring ARM memory layout in line with the documented behaviour Steven Scholz
2003-10-27 16:02     ` [U-Boot-Users] Re: [PATCH][CFT] bring ARM memory layout in line with the documentation Anders Larsen
2003-12-06 16:08 ` [U-Boot-Users] [PATCH][CFT] bring ARM memory layout in line with the documented behaviour Wolfgang Denk
2003-12-07  8:37   ` Robert Schwebel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.