Skip to contentSkip to conversation

Problem building kernel

DISCUSSION Ron Madrid 2 participants 2 messages Dec 12, 2008

lore
Share & tools
lore

Ron Madrid

author
#0 lore raw

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 kernel

Quoted 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 2

Quoted 1 line

Ron

Try the following patch:

arch/powerpc/boot/Makefile +1 -0
index 8fc6d72..483f78d 100644
@@ -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
#1 lore raw

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.