[U-Boot] [PATCH] i.MX28: Fix initial stack pointer position

Fabio Estevam festevam at gmail.com
Mon Apr 2 16:10:45 CEST 2012


On Mon, Apr 2, 2012 at 1:21 AM, Marek Vasut <marex at denx.de> wrote:
> The patch:
>
>  m28evk: Use GENERATED_GBL_DATA_SIZE
>  commit 1084606c972ea5f1d89f69bdbd978b867d0ee521
>
> introduced usage of GENERATED_GBL_DATA_SIZE and calculation of initial stack
> pointer position defived from that. Due to a small typo, the SP position moved
> to 0x21f80, which is past the SRAM area. This didn't manifest on the real
> hardware as the SRAM repeats there (address bits in the CPU being ignored).
>
> Though this was caught in QEMU, where it crashed the emulator.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>

Tested-by: Fabio Estevam <fabio.estevam at freescale.com>


More information about the U-Boot mailing list