From dca94d9aa4672cf6beccbaf6b9a09ad83847c59e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 28 Jul 2020 19:28:52 -0700 Subject: 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: e68d2afd4a5529437824b5d6b9a2077c2fefd337) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/conf/machine/qemumips.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/conf/machine/qemumips.conf') 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" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1" QB_SYSTEM_NAME = "qemu-system-mips" + +QB_CPU = "-cpu 34Kf" -- cgit v1.2.3-54-g00ecf