[U-Boot] [PATCH] defconfig: taurus_defconfig: disable SPL
Yang, Wenyou
Wenyou.Yang at atmel.com
Wed Dec 9 08:43:53 CET 2015
Hello Heiko,
> -----Original Message-----
> From: Heiko Schocher [mailto:hs at denx.de]
> Sent: 2015年12月9日 15:39
> To: Yang, Wenyou <Wenyou.Yang at atmel.com>
> Cc: U-Boot Mailing List <u-boot at lists.denx.de>; andreas.devel at googlemail.com;
> Meier, Roger <r.meier at siemens.com>
> Subject: Re: [PATCH] defconfig: taurus_defconfig: disable SPL
>
> Hello Wenyou,
>
> Am 09.12.2015 um 08:15 schrieb Wenyou Yang:
> > Build SPL with taurus_defconfig defconfig file.
> > It build fails with following log message:
> >
> > ---8< ----
> > $ make mrproper
> > $ make taurus_defconfig
> > $ make SPL
> > [...]
> > LD spl/lib/built-in.o
> > LDS spl/u-boot-spl.lds
> > LD spl/u-boot-spl
> > arm-none-linux-gnueabi-ld: SPL image too big
> > make[1]: *** [spl/u-boot-spl] Error 1
> > make: *** [spl/u-boot-spl] Error 2
> > --->8----
> >
> > This board code is not ready for SPL for now, so disable CONFIG_SPL.
> >
> > Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
> > ---
> >
> > configs/taurus_defconfig | 1 -
> > 1 file changed, 1 deletion(-)
>
> NACK.
>
> With which toolchain?
The toolchain is Sourcery CodeBench Lite 2013.05-24. Here is the toolchain information,
---8<-----
$ arm-none-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/home/wyang/opt/arm-2013.05/bin/../libexec/gcc/arm-none-linux-gnueabi/4.7.3/lto-wrapper
Target: arm-none-linux-gnueabi
Configured with: /scratch/jbrown/2013.05-arm-linux-release/src/gcc-4.7-2013.05/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs --with-arch=armv5te --with-gnu-as --with-gnu-ld --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables} -D__CS_SOURCERYGXX_MAJ__=2013 -D__CS_SOURCERYGXX_MIN__=5 -D__CS_SOURCERYGXX_REV__=24 %{O2:%{!fno-remove-local-statics: -fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: -fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared --enable-lto --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery CodeBench Lite 2013.05-24' --with-bugurl=https://sourcery.mentor.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/jbrown/2013.05-arm-linux-release/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-mpfr=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-mpc=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-ppl=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-cloog=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-libelf=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --disable-libgomp --disable-libitm --enable-poison-system-directories --with-build-time-tools=/scratch/jbrown/2013.05-arm-linux-release/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/jbrown/2013.05-arm-linux-release/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24)
--->8---------
>
> Here current build of u-boot on travis-ci.org:
> with eldk-5.4:
> https://travis-ci.org/u-boot/u-boot/jobs/95590341
> https://travis-ci.org/u-boot/u-boot/jobs/95590311
>
> bye,
> Heiko
> >
> > diff --git a/configs/taurus_defconfig b/configs/taurus_defconfig index
> > d59912c..557b066 100644
> > --- a/configs/taurus_defconfig
> > +++ b/configs/taurus_defconfig
> > @@ -1,7 +1,6 @@
> > CONFIG_ARM=y
> > CONFIG_ARCH_AT91=y
> > CONFIG_TARGET_TAURUS=y
> > -CONFIG_SPL=y
> >
> CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9G20,MACH_TYPE=2067,BOARD_
> TAURUS"
> > CONFIG_SYS_PROMPT="U-Boot> "
> > # CONFIG_CMD_BDI is not set
> >
>
> --
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Best Regards,
Wenyou Yang
More information about the U-Boot
mailing list