[U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big

Bryan Hundven Bryan.Hundven at watchguard.com
Fri Sep 3 19:17:45 CEST 2010


Ah. Ok.
Thanks Kumar,
I will get with timesys.
________________________________________
From: Kumar Gala [galak at kernel.crashing.org]
Sent: Friday, September 03, 2010 7:25 AM
To: Bryan Hundven
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big

>
> cd /home/bryan/Source/u-boot/nand_spl/board/freescale/p1_p2_rdb && /opt/WG/ppc-linux26-glibc211/bin/ppc-ld -Bstatic -T /home/bryan/Source/u-boot/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds -Ttext 0xfff00000  -n start.o resetvec.o cache.o cpu_init_early.o cpu_init_nand.o
> fsl_law.o law.o nand_boot.o nand_boot_fsl_elbc.o ns16550.o tlb.o tlb_table.o -L /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4 -lgcc \
>
>                -Map /home/bryan/Source/u-boot/nand_spl/u-boot-spl.map \
>
>                -o /home/bryan/Source/u-boot/nand_spl/u-boot-spl
>
> /opt/WG/ppc-linux26-glibc211/bin/ppc-ld: NAND bootstrap too big
>
> /opt/WG/ppc-linux26-glibc211/bin/ppc-ld: NAND bootstrap too big
>
> /opt/WG/ppc-linux26-glibc211/bin/ppc-ld: section .resetvec loaded at [fff00ffc,fff00fff] overlaps section .data loaded at [fff00e50,fff01017]
>
> /opt/WG/ppc-linux26-glibc211/bin/ppc-ld: /home/bryan/Source/u-boot/nand_spl/u-boot-spl: section .resetvec vma 0xfff00ffc overlaps previous sections
>
> make[1]: *** [/home/bryan/Source/u-boot/nand_spl/u-boot-spl] Error 1
>
> make[1]: Leaving directory `/home/bryan/Source/u-boot/nand_spl/board/freescale/p1_p2_rdb'
>
> make: *** [nand_spl] Error 2
>
>
>
> I'm guessing that this might be similar to a4bfc4cc466473b97c7fe84bdf261b2935887e3f
>
> But for mpc85xx...
>

I need to install the ELDK toolchains and look into this.  The newer gcc 4.4 toolchains we use aren't showing this.  Which means we've probably added something that has caused a code size increase thus breaking the SPL build.

- k


More information about the U-Boot mailing list