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 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 -Slib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
make: *** [lib/asm-offsets.s] Error 1
Any idea?
Regards
Simon
Quoted 44 lines · On Tue, 19 Jul 2011 10:55:52 +0530 Aneesh V <[email protected]> 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 toomap_upstream_wipin a non-fastforward manner.best regards,
AneeshQuoted 27 lines · John Rigby
With this latest, the file
omap_gpio.hseems to have gone missing. Looks like most of it has moved tocpu.hbutarch/arm/cpu/armv7/omap-common/gpio.cstill includes it. If it just remove the include thenMETHOD_GPIO_24XXis not defined anywhere.--john
Quoted 19 lines · Aneesh V
I have deleted this branch and re-created it with the latest patches I have submitted in the new SPL framework including 4460 support.
Quoted 13 lines · Aneesh V
http://dev.omapzoom.org/?p=bootloader/u-boot.git;a=shortlog;h=refs/heads/omap_upstream
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,
Quoted 17 lines · Simon Schwarz
Hi Aneesh,
If I use your
omap_upstreamthe build fails with:
make ARCH=arm CROSS_COMPILE=$CROSS_COMPILEomap4_panda_configConfiguring foromap4_pandaboard...
simon at Zitronenbaum:~/tmp/test/u-boot$ make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE all Generatinginclude/autoconf.mk
cc1: error: bad value (armv5) for -march= switch Generatinginclude/autoconf.mk.dep
cc1: error: bad value (armv5) for -march= switch
gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float(quoted diff) +0
-5-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
Quoted 2 lines
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