summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/qemumips.conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-07-28 19:28:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-12 10:53:45 +0100
commitff84adc9d27ce182e4f5a813f2039f0642f9cfe6 (patch)
treee2e0bfda63e54ec4be9d531f55a0e7428ff017f7 /meta/conf/machine/qemumips.conf
parent09c99632ac74f4ebd9e8fa4696f8d0ddaea37d36 (diff)
downloadpoky-ff84adc9d27ce182e4f5a813f2039f0642f9cfe6.tar.gz
qemumips: Use 34Kf CPU emulation
Few years ago we switched to using mips32r2 tunings for qemumips however the default CPU emulation still remained 24Kf which is not optimal for mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU emulation when running qemu in system mode Boot time to console is ~1s faster with this setting, hopefully this should speed up qemumips in general [1] https://www.qemu.org/docs/master/system/target-mips.html#preferred-cpu-models-for-mips-hosts (From OE-Core rev: 6f24a70ed9323a89cb9d0e6c56bacb6a59e2c31f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e68d2afd4a5529437824b5d6b9a2077c2fefd337) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/qemumips.conf')
-rw-r--r--meta/conf/machine/qemumips.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf
index 31ad754483..4617c3c7b6 100644
--- a/meta/conf/machine/qemumips.conf
+++ b/meta/conf/machine/qemumips.conf
@@ -12,3 +12,5 @@ KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
12SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1" 12SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
13 13
14QB_SYSTEM_NAME = "qemu-system-mips" 14QB_SYSTEM_NAME = "qemu-system-mips"
15
16QB_CPU = "-cpu 34Kf"