From: Robert Schwebel <r.schwebel@pengutronix.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Memory layout on PXA
Date: Thu, 13 Feb 2003 07:38:21 +0100 [thread overview]
Message-ID: <20030213063821.GI10342@pengutronix.de> (raw)
In-Reply-To: <20030212200828.8149AC5E20@atlas.denx.de>
On Wed, Feb 12, 2003 at 09:08:23PM +0100, Wolfgang Denk wrote:
> Sorry...
No problem :-)
> > > 1) u-boot is copied from flash into memory at TEXT_BASE
> > > (typ. 0xA3000000 on PXA).
> >
> > Ack.
>
> NAK! This is NOT how it's intended to be. TEXT_BASE is the link
> address of the image in flash. You should dynamically determine the
> size of your RAM, and copy the u-boot code to the top of RAM,
> wherever that may be.
I know - just didn't have time to find out how to achieve this. This is
how it worked in the other ports.
> > > 2) The stack is below the u-boot code. From cpu/xscale/start.S,
> > > it looks like the stack is at TEXT_BASE - CFG_MALLOC_LEN - 12. I
>
> -12 ??? Aren't there any alignment requirements for XScale?
12 bytes = 3 x 4 bytes = 3 32-bit-words...? This is for the abort-stack
(however that does works exactly - I didn't use it yet).
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
next prev parent reply other threads:[~2003-02-13 6:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-12 18:40 [U-Boot-Users] Memory layout on PXA Geir Thomassen
2003-02-12 19:07 ` Robert Schwebel
2003-02-12 20:08 ` Wolfgang Denk
2003-02-13 6:38 ` Robert Schwebel [this message]
2003-02-13 6:40 ` Robert Schwebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030213063821.GI10342@pengutronix.de \
--to=r.schwebel@pengutronix.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.