[U-Boot] [PATCH v11 18/30] nand: mxc: Switch NAND SPL to generic SPL

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Tue Apr 9 22:57:04 CEST 2013


Hi Albert,

On Tuesday, April 9, 2013 10:17:04 PM, Albert ARIBAUD wrote:
> Hi Benoît,
> 
> On Tue,  9 Apr 2013 21:48:47 +0200, Benoît Thébaudeau
> <benoit.thebaudeau at advansee.com> wrote:
> 
> > This also fixes support for mx31pdk and tx25, which had been broken by
> > commit
> > e05e5de7fae5bec79617e113916dac6631251156.
> > 
> > Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> > Acked-by: Scott Wood <scottwood at freescale.com>
> > Tested-by: Fabio Estevam <fabio.estevam at freescale.com>
> > ---
> > Changes in v11:
> >  - mx31pdk: Rename u-boot-nand.bin to u-boot-with-spl.bin (new target
> >  binary
> >    name) in prg_uboot command.
> >  - mx31pdk: Enlarge CONFIG_SYS_NAND_U_BOOT_SIZE from 0x32000 to 0x3f800
> >  (which
> >    corresponds to the size allocated for this purpose in NAND Flash) in
> >    order to
> >    leave enough room whatever the toolchain used.
> >  - mx31pdk: Set back CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE by
> >  0x00100000
> >    because the original U-Boot at CONFIG_SYS_TEXT_BASE was overlapping the
> >    global data being written prior to relocation by
> >    arch/arm/lib/board.c:board_init_f().
> 
> I gather this patch is exactly what finally worked for Fabio's mx31?

Correct, apart from the file renaming in prg_uboot, which has no influence here.

Best regards,
Benoît


More information about the U-Boot mailing list