[U-Boot] [PATCH v7 15/19] nand: mxc: Switch NAND SPL to generic SPL

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Fri Feb 22 22:24:38 CET 2013


Hi Fabio,

On Friday, February 22, 2013 10:26:47 PM, Fabio Estevam wrote:
> On Fri, Feb 22, 2013 at 6:13 PM, Benoît Thébaudeau
> <benoit.thebaudeau at advansee.com> wrote:
> 
> > CONFIG_SYS_TEXT_BASE seems fine according to this trace. But anyway, can
> > you
> > test with this change in mx31pdk.h?
> > #define CONFIG_SPL_TEXT_BASE    0x84000000
> > #define CONFIG_SYS_TEXT_BASE    0x83000000
> >
> > Can you try to revert 10/19, only for arm1136/start.S (1 line to restore)?
> > There
> > is an issue in this patch that I have already fixed in my v8.
> 
> Just tried with the above changes:
> 
> U-Boot code: 83000000 -> 8302C184  BSS: -> 830311B4
> CPU:   Freescale i.MX31 rev 2.0 at 532 MHz.
> Reset cause: POR
> Board: MX31PDK
> monitor len: 000311B4
> ramsize: 08000000
> TLB table from 87ff0000 to 87ff4000
> Top of RAM usable for U-Boot at: 87ff0000
> Reserving 196k for U-Boot at: 87fbe000
> Reserving 640k for malloc() at: 87f1e000
> Reserving 32 Bytes for Board Info at: 87f1dfe0
> Reserving 128 Bytes for Global Data at: 87f1df60
> New Stack Pointer is: 87f1df50
> RAM Configuration:
> Bank #0: 80000000 128 MiB
> relocation Offset is: 04fbe000

I have no other clue for now. Can you try asm step by step in relocate_code()?
:(

Best regards,
Benoît


More information about the U-Boot mailing list