From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafal Jaworowski Date: Thu, 21 Jun 2007 13:53:16 +0200 Subject: [U-Boot-Users] Cannot assemble cpu/ppc4xx/start.S for sequoia In-Reply-To: <467A781F.268B.006F.0@netstal.com> References: <467A781F.268B.006F.0@netstal.com> Message-ID: <467A66AC.2070100@semihalf.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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