linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problem building kernel
@ 2008-12-11 23:48 Ron Madrid
  2008-12-12  0:19 ` Kumar Gala
  2008-12-12  0:21 ` Kumar Gala
  0 siblings, 2 replies; 6+ messages in thread
From: Ron Madrid @ 2008-12-11 23:48 UTC (permalink / raw)
  To: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem building kernel
  2008-12-11 23:48 Ron Madrid
@ 2008-12-12  0:19 ` Kumar Gala
  2008-12-12  1:03   ` Josh Boyer
  2008-12-12  0:21 ` Kumar Gala
  1 sibling, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2008-12-12  0:19 UTC (permalink / raw)
  To: Ron Madrid; +Cc: linuxppc-dev


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

I swear Josh or Grant fixed this.

- k

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem building kernel
  2008-12-11 23:48 Ron Madrid
  2008-12-12  0:19 ` Kumar Gala
@ 2008-12-12  0:21 ` Kumar Gala
  1 sibling, 0 replies; 6+ messages in thread
From: Kumar Gala @ 2008-12-12  0:21 UTC (permalink / raw)
  To: Ron Madrid; +Cc: linuxppc-dev


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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: Problem building kernel
@ 2008-12-12  0:28 Ron Madrid
  2008-12-12  1:38 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Ron Madrid @ 2008-12-12  0:28 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

Thank you.  That took care of it.  I knew it was something small.

Ron



----- Original Message ----
> From: Kumar Gala <galak@kernel.crashing.org>
> To: Ron Madrid <ron_madrid@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem building kernel
  2008-12-12  0:19 ` Kumar Gala
@ 2008-12-12  1:03   ` Josh Boyer
  0 siblings, 0 replies; 6+ messages in thread
From: Josh Boyer @ 2008-12-12  1:03 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev, Ron Madrid

On Thu, Dec 11, 2008 at 06:19:20PM -0600, Kumar Gala wrote:
>
> 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
>
> I swear Josh or Grant fixed this.

I did.  I sent a pull request to Paul today for this exact commit.

I had it sitting in the wrong branch of my tree.  Sorry about that.

josh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem building kernel
  2008-12-12  0:28 Problem building kernel Ron Madrid
@ 2008-12-12  1:38 ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2008-12-12  1:38 UTC (permalink / raw)
  To: Ron Madrid; +Cc: linuxppc-dev

Dear Ron Madrid,

In message <454690.60670.qm@web83505.mail.sp1.yahoo.com> 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

-- 
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: wd@denx.de
I'd like to meet the man who invented sex and see what  he's  working
on now.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-12-12  1:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-12  0:28 Problem building kernel Ron Madrid
2008-12-12  1:38 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2008-12-11 23:48 Ron Madrid
2008-12-12  0:19 ` Kumar Gala
2008-12-12  1:03   ` Josh Boyer
2008-12-12  0:21 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).