From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: tegra: Use the IRAM for the early stack
Date: Mon, 09 Dec 2013 10:09:49 -0700 [thread overview]
Message-ID: <52A5F95D.6020605@wwwdotorg.org> (raw)
In-Reply-To: <1386608764-8173-1-git-send-email-alban.bedel@avionic-design.de>
On 12/09/2013 10:06 AM, Alban Bedel wrote:
> Unlike many other platforms the tegra platform has the luxury of
> already having the SDRAM running during the early init, and it is used
> for the early stack. However the memory test of the POST subsystem is
> expecting the SDRAM to be unused, and on tegra platforms the test fail
> to run as it destroy the stack.
>
> To fix the problem simply use the IRAM for the initial stack.
Can't the POST code simply touch an unused RAM address? There is IRAM
content that needs to be preserved, so we need to make sure we don't
stomp on that. Examples are:
* BIT (Boot Information Table)
* BCT that was used to boot the system
* Perhaps the whole IRAM is filled with code/data in the LP0
suspend/resume case.
next prev parent reply other threads:[~2013-12-09 17:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-09 17:06 [U-Boot] [PATCH] ARM: tegra: Use the IRAM for the early stack Alban Bedel
2013-12-09 17:09 ` Stephen Warren [this message]
2013-12-09 18:09 ` Alban Bedel
2013-12-09 18:16 ` Stephen Warren
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=52A5F95D.6020605@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--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