[U-Boot-Users] ppc start.S 'rfmci' opcode not recognized by ppc-440 compiler

k b k_bisla at hotmail.com
Thu Jan 24 19:18:01 CET 2008


Hi,
I'm working on a amcc taishan board.
The board works find with for u-boot 1.1.3 and 1.1.6. 
I'm using montavista ppc_440-gcc  build tools.
But any version after 1.2.0  compilation fails at start.S
apparently it complains about an Unrecognized opcode 'rfmci (message show below)

Questions:

1) also i made a change in the Makefile show above which made me wonder if using ppc_8xx as the default for all ppc board is a correct assumption ? 
maybe its just a place holder. or maybe the rfmci is only available in ppc_8xx. 
2) other question is what option do i have to use the latest u-boot 1.3.1 with my ppc_440 build tools as it doesn't recognizes 'rfmci' opcode.


any insights would be appreciated.
Thanks in advance !
kunal


-----------------------------------
change that i made in Makefile
-----------------------------------
 
ifeq ($(ARCH),ppc)
CROSS_COMPILE = ppc_8xx-
endif
to 
ifeq ($(ARCH),ppc)
CROSS_COMPILE = ppc_440-
endif

-----------------------------------------------------
following is the error message for make all 
-----------------------------------------------------

c_440-objcopy -O srec hello_world hello_world.srec 2>/dev/null
ppc_440-ld -g  -Ttext 0x40000 \
                        -o sched -e sched sched.o libstubs.a \
                        -L/opt/montavista/pro/devkit/ppc/440/bin/../lib/gcc-lib/powerpc-hardhat-linux/3.3.1 -lgcc
ppc_440-objcopy -O srec sched sched.srec 2>/dev/null
ppc_440-objcopy -O binary hello_world hello_world.bin 2>/dev/null
ppc_440-objcopy -O binary sched sched.bin 2>/dev/null
make[1]: Leaving directory `/export/old-root/export/share/uboot/u-boot-1.3.1/examples'
make -C cpu/ppc4xx start.o
make[1]: Entering directory `/export/old-root/export/share/uboot/u-boot-1.3.1/cpu/ppc4xx'
make[1]: Leaving directory `/export/old-root/export/share/uboot/u-boot-1.3.1/cpu/ppc4xx'
make[1]: Entering directory `/export/old-root/export/share/uboot/u-boot-1.3.1/cpu/ppc4xx'
ppc_440-gcc  -D__ASSEMBLY__ -g  -Os   -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xFFFC0000  -I/export/old-root/export/share/uboot/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/montavista/pro/devkit/ppc/440/bin/../lib/gcc-lib/powerpc-hardhat-linux/3.3.1/include -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring -msoft-float -Wa,-m440 -mcpu=440 -DCONFIG_440=1 -c -o start.o start.S
start.S: Assembler messages:
start.S:1210: Error: Unrecognized opcode: `rfmci'
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/export/old-root/export/share/uboot/u-boot-1.3.1/cpu/ppc4xx'
make: *** [cpu/ppc4xx/start.o] Error 2



_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/



More information about the U-Boot mailing list