Skip to contentSkip to conversation

qemumips.conf: Use mips32r2 tuning definitions

PATCH In review Peter Seebach 2 participants 3 messages Aug 15, 2014 – Aug 25, 2014

lore
Share & tools
lore
#0 lore raw

cover qemumips.conf: Use mips32r2 tuning definitions

This makes two changes, one explicit and one implicit.

Explicit: Change the included tune file.
Implicit: Change the default tune.

qemumips appears to support mips32r2 just fine, and there's not a huge amount of interest in plain-old mips32. This matters to me because I have a desire to use a toolchain which supports mips32r2 but not mips32r1. (At least, in terms of prebuilt binaries.) But it might generally improve life for people using qemumips a lot to have it be slightly closer to typical modern hardware, and I don't think it'll hurt anyone.

The following changes since commit 4321c553d5ae816e566234e981a0815bba046d39:

SIGGEN_EXCLUDERECIPES_ABISAFE: add initscripts (2014-08-11 17:44:09 +0100)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib seebs/qemumips32r2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/qemumips32r2

Peter Seebach (1):
qemumips.conf: Default to (and support) mips32r2

 meta/conf/machine/qemumips.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/1 qemumips.conf: Default to (and support) mips32r2

The MIPS emulation for qemumips actually supports
mips32r2:
isa : mips1 mips2 mips32r1 mips32r2

We should probably use that tuning file.

This implicitly changes the default value of DEFAULTTUNE to mips32r2.

---
 meta/conf/machine/qemumips.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/machine/qemumips.conf +1 -1
index ce1c419..d9d2421 100644
@@ -3,7 +3,7 @@
 #@DESCRIPTION: mti_malta32_be
 
 require conf/machine/include/qemu.inc
-require conf/machine/include/tune-mips32.inc
+require conf/machine/include/tune-mips32r2.inc
 
 KERNEL_IMAGETYPE = "vmlinux"
 KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
Signature · 1 line
1.7.1
#2 lore raw

Re: [PATCH 1/1] qemumips.conf: Default to (and support) mips32r2

Quoted 19 lines · Peter Seebach

The MIPS emulation for qemumips actually supports
mips32r2:
isa : mips1 mips2 mips32r1 mips32r2

We should probably use that tuning file.

This implicitly changes the default value of DEFAULTTUNE to mips32r2.

---
 meta/conf/machine/qemumips.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/machine/qemumips.conf +0 -0
index ce1c419..d9d2421 100644

meta/conf/machine/qemumips.conf line 6

Quoted 5 lines
meta/conf/machine/qemumips.conf +1 -1
@@ -3,7 +3,7 @@
 #@DESCRIPTION: mti_malta32_be
 
 require conf/machine/include/qemu.inc
-require conf/machine/include/tune-mips32.inc
+require conf/machine/include/tune-mips32r2.inc

I am OK with this.