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

Bryan Hundven Bryan.Hundven at watchguard.com
Fri Sep 3 04:25:31 CEST 2010


This was a git clone from today.
Built with a pretty standard e500v2 gnuspe timesys toolchain.

I was able to build and run P1020RDB_config on the freescale demo board.

---------------------------------------------------------------
From: Bryan Hundven
Sent: Thursday, September 02, 2010 2:42 PM
To: u-boot at lists.denx.de
Subject: P1011RDB & P1020RDB: NAND bootstrap too big

 When I build either P1011RDB_NAND_config or P1020RDB_NAND_config, I get:

make[1]: Entering directory `/home/bryan/Source/u-boot/nand_spl/board/freescale/p1_p2_rdb'

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc  -D__ASSEMBLY__ -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -DCONFIG_NAND_SPL -c -o start.o start.S

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc  -D__ASSEMBLY__ -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -DCONFIG_NAND_SPL -c -o resetvec.o resetvec.S

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o cache.o cache.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o cpu_init_early.o cpu_init_early.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o cpu_init_nand.o cpu_init_nand.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o fsl_law.o fsl_law.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o law.o law.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o nand_boot.o nand_boot.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o nand_boot_fsl_elbc.o nand_boot_fsl_elbc.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o ns16550.o ns16550.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o tlb.o tlb.c

/opt/WG/ppc-linux26-glibc211/bin/ppc-gcc -g  -Os   -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xfff00000 -DRESET_VECTOR_ADDRESS=0xeffffffc -I/home/bryan/Source/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/WG/ppc-linux26-glibc211/toolchain/bin/../lib/gcc/powerpc-timesys-linux-gnuspe/4.4.4/include
 -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes -fno-stack-protector -DCONFIG_NAND_SPL -c -o tlb_table.o tlb_table.c

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...






More information about the U-Boot mailing list