[OE-core] [PATCH 2/2] tune-mips-24k: add QEMU_EXTRAOPTIONS for DSP and MIPS16e cores
git at andred.net
Wed Jul 27 08:16:49 UTC 2016
On Di, 2016-07-26 at 11:02 -0700, Khem Raj wrote:
> > On Jul 26, 2016, at 8:49 AM, André Draszik <git at andred.net> wrote:
> > The core emulated by default by qemu-mips(el) just crashes with
> > illegal instruction when encountering DSP and/or MIPS16e
> > instructions - we have to specify a CPU that supports the extra
> > instructions.
> > This is an issue when generating a rootfs and e.g. running some
> > of the package postinstall scriptlets.
> > The patch to qemu to add 24KEc as a CPU has been accepted
> > upstream, so let's use that CPU here as well as needed.
> > Signed-off-by: André Draszik <git at andred.net>
> > ---
> > meta/conf/machine/include/mips/tune-mips-24k.inc | 6 ++++++
> These changes probably belong to meta/classes/qemu.bbclass
OK, I wasn't sure, as core-i7 puts them into the tune-file, and some PPCs
put them into the qemu class.
I'll send an updated patch.
More information about the Openembedded-core