mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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 <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 lines
422 B
Plaintext
17 lines
422 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: QEMU MIPS32 machine
|
|
#@DESCRIPTION: Machine configuration for running a MIPS system on QEMU
|
|
|
|
require conf/machine/include/qemu.inc
|
|
require conf/machine/include/tune-mips32r2.inc
|
|
require conf/machine/include/qemuboot-mips.inc
|
|
|
|
KERNEL_IMAGETYPE = "vmlinux"
|
|
KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
|
|
|
|
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
|
|
|
|
QB_SYSTEM_NAME = "qemu-system-mips"
|
|
|
|
QB_CPU = "-cpu 34Kf"
|