Re: [U-Boot] Latest SPL pushed to omapzoom

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@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
Any idea?
Regards Simon
On Tue, 19 Jul 2011 10:55:52 +0530 Aneesh V aneesh@ti.com wrote:
Aargh.. That was a newly added file for which I forgot to do 'git add', so it didn't get included in the patch.
It's fixed now and updated in the same branch(again in a non-fast-forward manner as my patches are not yet upstream).
I have created another branch 'omap_upstream_wip' with the same content. I will now try to keep the 'omap_upstream' branch stable until my patches are up-stream and I rebase again. Until then any updates I have will be added to omap_upstream_wip in a non-fastforward manner.
best regards, Aneesh
On Monday 18 July 2011 11:44 PM, John Rigby wrote:
With this latest, the file omap_gpio.h seems to have gone missing. Looks like most of it has moved to cpu.h but arch/arm/cpu/armv7/omap-common/gpio.c still includes it. If it just remove the include then METHOD_GPIO_24XX is not defined anywhere.
--john
On Mon, Jul 18, 2011 at 7:48 AM, Aneesh Vaneesh@ti.com wrote:
I have deleted this branch and re-created it with the latest patches I have submitted in the new SPL framework including 4460 support.
On Friday 08 July 2011 07:41 PM, Aneesh V wrote:
http://dev.omapzoom.org/?p=bootloader/u-boot.git;a=shortlog;h=refs/heads/oma...
This is for interim use since some of you asked. SPL framework is getting re-designed in the list. I will be updating with the new framework shortly.
Also, 4460 support will be pushed shortly.
br, Aneesh

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@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
participants (2)
-
Aneesh V
-
Simon Schwarz