[ELDK] Cross-compiling Linux kernel - unrecognized Opcode

Qasim Maqbool qasim.maqbool at gmail.com
Thu Feb 21 11:56:28 CET 2013


Hi Detlev,

Yes I realize that mistake. I was updating binutils at the host instead of
in the toolchain.
Just a couple of things then:

I intend to compile Linux for MPC 8544, so will the ELDK 5.3 for target
e500v2 work for this?
And also, is there any dependency on the host kernel version?

Thanks,
Qasim


On Thu, Feb 21, 2013 at 2:56 PM, Detlev Zundel <dzu at denx.de> wrote:

> Hi Qasim,
>
> > I am trying to compile the Denx Linux-2.6 for the Power PC 85xx
> > architecture but I'm facing the unrecognized opcode error:
> >
> > arch/powerpc/kernel/epapr_hcalls.S: Assembler messages:
> > arch/powerpc/kernel/epapr_hcalls.S:27: Error: Unrecognized opcode:
> `wrteei'
> > make[1]: *** [arch/powerpc/kernel/epapr_hcalls.o] Error 1
> > make: *** [arch/powerpc/kernel] Error 2
> >
> > I am using Ubuntu 12.04, Linux kernel 3.2.0-37, with ELDK v4.2 (which
> > installs perfectly). I have also tried Fedora 16 with the same ELDK
> version
> > but that still gives me the same errors. I have also tried updating
> > binutils-devel to version 2.23 but I still cant get the kernel to
> compile.
>
> Did you really update the "cross binutils" which are actually contained
> in the ELDK?  I would be much surprised if you did that.
>
> > Any suggestions?
>
> What version of linux-2.6-denx are you actually trying to compile?
>
> Also, ELDK 4.2 is already somewhat old, did you try using the
> powerpc-e500v2 version of ELDK 5.3?  For example it has newer
> binutils...
>
> Cheers
>   Detlev
>
> --
> "Milk?" called Reg. "Er, please." "One lump or two?" "One, please."
> "Sugar?"
>
>     Dirk Gently's Holistic Detective Agency, Douglas Adams
> --
> DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
>


More information about the eldk mailing list