[U-Boot] Latest SPL pushed to omapzoom

Aneesh V aneesh at ti.com
Tue Jul 19 13:26:54 CEST 2011


Hi Simon,

On Tuesday 19 July 2011 04:19 PM, Simon Schwarz wrote:
> Hi Aneesh,
>
> If I use your omap_upstream the build fails with:
> make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE omap4_panda_config
> Configuring for omap4_panda board...
> simon at Zitronenbaum:~/tmp/test/u-boot$ make ARCH=arm
> CROSS_COMPILE=$CROSS_COMPILE all Generating include/autoconf.mk
> cc1: error: bad value (armv5) for -march= switch
> Generating include/autoconf.mk.dep
> cc1: error: bad value (armv5) for -march= switch
> gcc -DDO_DEPS_ONLY \
> 		-g  -Os   -fno-common -ffixed-r8 -msoft-float
> -D__KERNEL__ -I/home/simon/tmp/test/u-boot/include -fno-builtin
> -ffreestanding -nostdinc
> -isystem /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/include
> -pipe  -DCONFIG_ARM -D__ARM__         -march=armv5 -Wall
> -Wstrict-prototypes    \ -o lib/asm-offsets.s lib/asm-offsets.c -c -S
> lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
> make: *** [lib/asm-offsets.s] Error 1

Apparently you are using x86 tool chain. Looks like there is something
wrong with the "CROSS_COMPILE=$CROSS_COMPILE" you have used.

best regards,
Aneesh


More information about the U-Boot mailing list