public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: RgC <sessyargc@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Current u-boot memory mapping
Date: Sat, 27 Oct 2012 20:17:00 +0900	[thread overview]
Message-ID: <20121027111700.GB30536@crg> (raw)

Hi All,

Last week I got a weird problem on an ARM platfrom.
It is using an old version of u-boot because of our design/implementation cycle, but
let's not talk about upgrading the u-boot version that I use please.


My understanding of the u-boot memory mapping is in question :-)
I've dealt with the early versions (v1.x.x) on PowerPC and ARM. I'm now dealing with
newer u-boot versions but mostly on the PowerPC arch.  So I'm not sure if everything I
know applies to the ARM arch.

In the PowerPC arch, after relocation the actual memory mapping follows the "Memory 
Management" section in the u-boot README. Bottom of RAM for exception handlers, then
free space until we reach near the top of RAM. This is populated by the stack, global
data, malloc-area, and the u-boot code. My understanding is that this design was
never altered and was implemented across all platforms.

My understanding is that after relocation no area between the bottom and the top of
RAM is reserved. We can use it freely. Is this correct?

If writing to the the "free area" in RAM results in crashing u-boot then there is
problem in the relocation procedure or a possible linker script problem.

All the best,
RgC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121027/e6c514cf/attachment.pgp>

             reply	other threads:[~2012-10-27 11:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-27 11:17 RgC [this message]
2012-10-29 18:13 ` [U-Boot] Current u-boot memory mapping Tom Rini
2012-10-31 21:49   ` RgC

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=20121027111700.GB30536@crg \
    --to=sessyargc@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox