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

login
register
mail settings
Submitter Peter Seebach
Date Aug. 15, 2014, 1:42 a.m.
Message ID <5303a1f15a0c44dcc34e7bdec060629518e6cd6e.1408066680.git.peter.seebach@windriver.com>
Download mbox | patch
Permalink /patch/78295/
State Accepted
Commit ed3b6ed10df0993f0a9b14806827bff2911875fa
Headers show

Comments

Peter Seebach - Aug. 15, 2014, 1:42 a.m.
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.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
---
 meta/conf/machine/qemumips.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Khem Raj - Aug. 25, 2014, 4:23 p.m.
On 14-08-14 20:42:47, Peter Seebach wrote:
> 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.
> 
> Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
> ---
>  meta/conf/machine/qemumips.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf
> index ce1c419..d9d2421 100644
> --- a/meta/conf/machine/qemumips.conf
> +++ b/meta/conf/machine/qemumips.conf
> @@ -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.

Patch

diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf
index ce1c419..d9d2421 100644
--- a/meta/conf/machine/qemumips.conf
+++ b/meta/conf/machine/qemumips.conf
@@ -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"