* [U-Boot-Users] Cannot assemble cpu/ppc4xx/start.S for sequoia
@ 2007-06-21 11:07 Niklaus Giger
2007-06-21 11:52 ` Stefan Roese
2007-06-21 11:53 ` Rafal Jaworowski
0 siblings, 2 replies; 3+ messages in thread
From: Niklaus Giger @ 2007-06-21 11:07 UTC (permalink / raw)
To: u-boot
Hi
After pulling the recent git merges from stefan I get the following error:
ppc_4xx-gcc -D__ASSEMBLY__ -g -Os -fPIC -ffixed-r14 -meabi
-fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xFFFA0000
-I/home/ng/u-boot/build.sequoia/include2 -I/home/ng/u-boot/build.sequoia/include
-I/home/ng/u-boot/u-boot.work/include -fno-builtin -ffreestanding -nostdinc
-isystem /home/hcu/eldk-4.1/usr/bin/../lib/gcc/powerpc-linux/4.0.0/include -pipe
-DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring
-msoft-float -Wa,-m405 -mcpu=405 -DCONFIG_440=1 -c -o
/home/ng/u-boot/build.sequoia/cpu/ppc4xx/start.o start.S
start.S: Assembler messages:
start.S:1211: Error: Unrecognized opcode: `rfmci'
I am using ppc_4xx-gcc --version
ppc_4xx-gcc (GCC) 4.0.0 (DENX ELDK 4.1 4.0.0)
Any hints would be appreciated.
Best regards
Niklaus
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Cannot assemble cpu/ppc4xx/start.S for sequoia
2007-06-21 11:07 [U-Boot-Users] Cannot assemble cpu/ppc4xx/start.S for sequoia Niklaus Giger
@ 2007-06-21 11:52 ` Stefan Roese
2007-06-21 11:53 ` Rafal Jaworowski
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2007-06-21 11:52 UTC (permalink / raw)
To: u-boot
Hi Niklaus,
On Thursday 21 June 2007, Niklaus Giger wrote:
> After pulling the recent git merges from stefan I get the following error:
>
> ppc_4xx-gcc -D__ASSEMBLY__ -g -Os -fPIC -ffixed-r14 -meabi
> -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xFFFA0000
> -I/home/ng/u-boot/build.sequoia/include2
> -I/home/ng/u-boot/build.sequoia/include
> -I/home/ng/u-boot/u-boot.work/include -fno-builtin -ffreestanding -nostdinc
> -isystem /home/hcu/eldk-4.1/usr/bin/../lib/gcc/powerpc-linux/4.0.0/include
> -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29
> -mstring -msoft-float -Wa,-m405 -mcpu=405 -DCONFIG_440=1 -c -o
Hmmm. CONFIG_440 is set _and_ cpu=405. This is the source of the problem.
> /home/ng/u-boot/build.sequoia/cpu/ppc4xx/start.o start.S
> start.S: Assembler messages:
> start.S:1211: Error: Unrecognized opcode: `rfmci'
Is this a PPC405 based board or a PPC440 based board? Please include your
board config file and I'll take a look at it.
As you may have noticed all 4xx boards (405 & 440) compile clean with ELDK4.0.
Viele Gr??e,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Cannot assemble cpu/ppc4xx/start.S for sequoia
2007-06-21 11:07 [U-Boot-Users] Cannot assemble cpu/ppc4xx/start.S for sequoia Niklaus Giger
2007-06-21 11:52 ` Stefan Roese
@ 2007-06-21 11:53 ` Rafal Jaworowski
1 sibling, 0 replies; 3+ messages in thread
From: Rafal Jaworowski @ 2007-06-21 11:53 UTC (permalink / raw)
To: u-boot
Niklaus Giger wrote:
>
> After pulling the recent git merges from stefan I get the following error:
>
> ppc_4xx-gcc -D__ASSEMBLY__ -g -Os -fPIC -ffixed-r14 -meabi
> -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xFFFA0000
> -I/home/ng/u-boot/build.sequoia/include2 -I/home/ng/u-boot/build.sequoia/include
> -I/home/ng/u-boot/u-boot.work/include -fno-builtin -ffreestanding -nostdinc
> -isystem /home/hcu/eldk-4.1/usr/bin/../lib/gcc/powerpc-linux/4.0.0/include -pipe
> -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring
> -msoft-float -Wa,-m405 -mcpu=405 -DCONFIG_440=1 -c -o
> /home/ng/u-boot/build.sequoia/cpu/ppc4xx/start.o start.S
> start.S: Assembler messages:
> start.S:1211: Error: Unrecognized opcode: `rfmci'
>
> I am using ppc_4xx-gcc --version
> ppc_4xx-gcc (GCC) 4.0.0 (DENX ELDK 4.1 4.0.0)
>
>
> Any hints would be appreciated.
>
Hi Niklaus,
Do you see any complaints about 'sed' not found? One thing that might be
going wrong is while checking for the 440 vs. 405.
The board config file is found (using sed...) to decide on the variant
-- see cpu/ppc4xx/config.mk. When the tool is not available the
config.mk would default to chosing 405 and likely lead to such problems.
kind regards,
Rafal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-21 11:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-21 11:07 [U-Boot-Users] Cannot assemble cpu/ppc4xx/start.S for sequoia Niklaus Giger
2007-06-21 11:52 ` Stefan Roese
2007-06-21 11:53 ` Rafal Jaworowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox