Problem building kernel
Thank you. That took care of it. I knew it was something small.
Ron
----- Original Message ----
Quoted 50 lines
From: Kumar Gala <[email protected]>
To: Ron Madrid <[email protected]>
Cc: [email protected]
Sent: Thursday, December 11, 2008 4:21:26 PM
Subject: Re: Problem building kernelQuoted 25 lines · Ron Madrid
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 2Quoted 1 line
Ron
Try the following patch:
arch/powerpc/boot/Makefile +1
-0@@ -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
Dear Ron Madrid,
Quoted 1 line · In message <[email protected]> you wrote:
Thank you. That took care of it. I knew it was something small.
It's fixed in our tree now, too.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] I'd like to meet the man who invented sex and see what he's working on now.