All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big
@ 2010-09-02 21:42 Bryan Hundven
  2010-09-03  2:25 ` Bryan Hundven
  0 siblings, 1 reply; 6+ messages in thread
From: Bryan Hundven @ 2010-09-02 21:42 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big
  2010-09-02 21:42 [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big Bryan Hundven
@ 2010-09-03  2:25 ` Bryan Hundven
  2010-09-03 14:25   ` Kumar Gala
  2010-09-03 16:29   ` Kumar Gala
  0 siblings, 2 replies; 6+ messages in thread
From: Bryan Hundven @ 2010-09-03  2:25 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big
  2010-09-03  2:25 ` Bryan Hundven
@ 2010-09-03 14:25   ` Kumar Gala
  2010-09-03 17:17     ` Bryan Hundven
  2010-09-03 16:29   ` Kumar Gala
  1 sibling, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2010-09-03 14:25 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big
  2010-09-03  2:25 ` Bryan Hundven
  2010-09-03 14:25   ` Kumar Gala
@ 2010-09-03 16:29   ` Kumar Gala
  2010-09-03 17:45     ` Bryan Hundven
  1 sibling, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2010-09-03 16:29 UTC (permalink / raw)
  To: u-boot


On Sep 2, 2010, at 9:25 PM, Bryan Hundven wrote:

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

What git commit are you on?  What toolchain are you using?

- k

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big
  2010-09-03 14:25   ` Kumar Gala
@ 2010-09-03 17:17     ` Bryan Hundven
  0 siblings, 0 replies; 6+ messages in thread
From: Bryan Hundven @ 2010-09-03 17:17 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big
  2010-09-03 16:29   ` Kumar Gala
@ 2010-09-03 17:45     ` Bryan Hundven
  0 siblings, 0 replies; 6+ messages in thread
From: Bryan Hundven @ 2010-09-03 17:45 UTC (permalink / raw)
  To: u-boot

git commit: bd2313078114c4b44c4a5ce149af43bcb7fc8854

toolchain: is provided by the timesys build factory. I'm not sure what information I can give about it, so I'll give you some version numbers and if you have more questions, please ask.

GNU Binutils 2.20.1.20100303

Target: powerpc-timesys-linux-gnuspe
Configured with: /here/workdir/factory/build_powerpc-timesys-linux-gnuspe/gcc-4.4.4/gcc-4.4.4/configure --target=powerpc-timesys-linux-gnuspe --host=i386-redhat-linux --build=i386-redhat-linux --prefix=/here/w
orkdir/factory/build_powerpc-timesys-linux-gnuspe/toolchain --with-sysroot=/here/workdir/factory/build_powerpc-timesys-linux-gnuspe/toolchain --with-headers=/here/workdir/factory/build_powerpc-timesys-linux-gn
uspe/toolchain/include --enable-languages=c,c++ --with-gmp=/here/workdir/factory/build_powerpc-timesys-linux-gnuspe/gmp-5.0.1/gmp-host-install --with-mpfr=/here/workdir/factory/build_powerpc-timesys-linux-gnus
pe/mpfr-2.4.2/mpfr-host-install --disable-nls --disable-libgcj --disable-libgomp --disable-libmudflap --disable-libssp --with-gnu-ld --with-gnu-as --enable-shared --enable-checking=release --with-system-zlib -
-enable-__cxa_atexit --disable-libunwind-exceptions --enable-threads=posix --with-long-double-128 --enable-secureplt --with-cpu=8540 --enable-e500_double --disable-decimal-float --disable-multilib --enable-cxx-flags=-mcpu=8540
Thread model: posix
gcc version 4.4.4 (GCC)

glibc-2.11

There are a few patches that timesys applies.
I also know that there are updates to the current factory.
Let me build a new one and compare the output and see what happens.

-Bryan
________________________________________
From: Kumar Gala [galak at kernel.crashing.org]
Sent: Friday, September 03, 2010 9:29 AM
To: Bryan Hundven
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big

On Sep 2, 2010, at 9:25 PM, Bryan Hundven wrote:

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

What git commit are you on?  What toolchain are you using?

- k

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-03 17:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02 21:42 [U-Boot] P1011RDB & P1020RDB: NAND bootstrap too big Bryan Hundven
2010-09-03  2:25 ` Bryan Hundven
2010-09-03 14:25   ` Kumar Gala
2010-09-03 17:17     ` Bryan Hundven
2010-09-03 16:29   ` Kumar Gala
2010-09-03 17:45     ` Bryan Hundven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.