[U-Boot] [PATCH] ARM: tegra: Use the IRAM for the early stack

Stephen Warren swarren at wwwdotorg.org
Mon Dec 9 18:09:49 CET 2013


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.


More information about the U-Boot mailing list