[U-Boot-Users] Intel KIXRP435 platform

Hi all,
I'am playing to porting u-boot to Intel KIXRP435 board and starting from u-boot-ixp-HEAD from git.
I added kixrp435 platform cloning ixdp425 platform. I modified a include/asm-arm/arch-ixp/ixp425.h and cpu/ixp/start.S to initialize a DDR memory. The compilation fail with following error:
make[1]: Entering directory `/home/antonello/projects/u-boot/u-boot-ixp-new/cpu/ixp' xscale_be-gcc -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -mbig-endian -D__KERNEL__ -DTEXT_BASE=0x00f80000 -I/home/antonello/projects/u-boot/u-boot-ixp-new/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/mv5.0/montavista/pro/devkit/arm/xscale_be/bin/../lib/gcc/armv5teb-monta vista-linux-gnueabi/4.2.0/include -pipe -DCONFIG_ARM -D__ARM__ -mbig-endian -march=armv5te -mtune=strongarm1100 -mabi=apcs-gnu -c -o start.o start.S start.S: Assembler messages: start.S:527: Error: invalid constant (fffffbf4) after fixup make[1]: *** [start.o] Error 1 make[1]: Leaving directory `/home/antonello/projects/u-boot/u-boot-ixp-new/cpu/ixp' make: *** [cpu/ixp/libixp.a] Error 2 [root@dhcppc0 u-boot-ixp-new]#
The problem seems due to the numbers of instruction in start.S file. If I remove some instructions the compilation work fine.
I have attached a patch file. You can reproduce the problem removing #define ERROR_AFTER_FIXUP statement in cpu/ixp/start.S file.
Any suggestions ?
Antonello

Antonello Lombardinilo ha scritto:
Hi all, I'am playing to porting u-boot to Intel KIXRP435 board and starting from u-boot-ixp-HEAD from git. I added kixrp435 platform cloning ixdp425 platform. I modified a include/asm-arm/arch-ixp/ixp425.h and cpu/ixp/start.S to initialize a DDR memory. The compilation fail with following error: make[1]: Entering directory `/home/antonello/projects/u-boot/u-boot-ixp-new/cpu/ixp' xscale_be-gcc -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -mbig-endian -D__KERNEL__ -DTEXT_BASE=0x00f80000 -I/home/antonello/projects/u-boot/u-boot-ixp-new/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/mv5.0/montavista/pro/devkit/arm/xscale_be/bin/../lib/gcc/armv5teb-monta vista-linux-gnueabi/4.2.0/include -pipe -DCONFIG_ARM -D__ARM__ -mbig-endian -march=armv5te -mtune=strongarm1100 -mabi=apcs-gnu -c -o start.o start.S start.S: Assembler messages: start.S:527: Error: invalid constant (fffffbf4) after fixup make[1]: *** [start.o] Error 1 make[1]: Leaving directory `/home/antonello/projects/u-boot/u-boot-ixp-new/cpu/ixp' make: *** [cpu/ixp/libixp.a] Error 2 [root@dhcppc0 u-boot-ixp-new]# The problem seems due to the numbers of instruction in start.S file. If I remove some instructions the compilation work fine. I have attached a patch file. You can reproduce the problem removing #define ERROR_AFTER_FIXUP statement in cpu/ixp/start.S file. Any suggestions ? Antonello
Where your toolchain/compiler come from? Which version is it?
Ciao -- Marco Cavallini | KOAN sas | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com
participants (2)
-
Antonello Lombardinilo
-
Marco Cavallini [KOAN]