Thank you. That took care of it. I knew it was something small. Ron
----- Original Message ---- > From: Kumar Gala <ga...@kernel.crashing.org> > To: Ron Madrid <ron_mad...@sbcglobal.net> > Cc: linuxppc-dev@ozlabs.org > Sent: Thursday, December 11, 2008 4:21:26 PM > Subject: Re: Problem building kernel > > > On Dec 11, 2008, at 5:48 PM, Ron Madrid wrote: > > > Hello all, > > > > I got the latest kernel from git://git.denx.de/linux-2.6-denx.git > > and after > > configuring with menuconfig I am seeing these errors. I feel like > > this > > could be something simple that I am just unaware of, but I'm not sure > > and haven't been able to find anything useful when doing a web search. > > > > Any ideas? What other information would be helpful? > > > > BOOTCC arch/powerpc/boot/redboot-83xx.o > > BOOTCC arch/powerpc/boot/cuboot-sam440ep.o > > BOOTCC arch/powerpc/boot/cuboot-acadia.o > > {standard input}: Assembler messages: > > {standard input}:278: Error: Unrecognized opcode: `mtdcr' > > {standard input}:282: Error: Unrecognized opcode: `mfdcr' > > {standard input}:289: Error: Unrecognized opcode: `mtdcr' > > {standard input}:293: Error: Unrecognized opcode: `mfdcr' > > {standard input}:312: Error: Unrecognized opcode: `mtdcr' > > {standard input}:316: Error: Unrecognized opcode: `mfdcr' > > make[2]: *** [arch/powerpc/boot/cuboot-acadia.o] Error 1 > > make[1]: *** [zImage] Error 2 > > make: *** [sub-make] Error 2 > > > > Ron > > Try the following patch: > > diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile > index 8fc6d72..483f78d 100644 > --- a/arch/powerpc/boot/Makefile > +++ b/arch/powerpc/boot/Makefile > @@ -39,6 +39,7 @@ DTS_FLAGS ?= -p 1024 > > $(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 > $(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 > +$(obj)/cuboot-acadia.o: BOOTCFLAGS += -mcpu=405 > $(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 > $(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 > $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev