mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
This is the qemu default since qemu 2.2, is generally supported better, and is recommended by upstream. It also has already been in use for arm/risc and ovmf. Additional information: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13466 https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/ '-vga virtio' emulated hardware remains in use when virgl is enabled via a runqemu override. Also, adjust the error whitelist, as there is a number of new messages coming from the drivers that are not actual errors. (From OE-Core rev: 73cb104f3307736f4922f2e0c9648f9b2d3b3b6b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
#@TYPE: Machine
|
|
#@NAME: QEMU x86 machine
|
|
#@DESCRIPTION: Machine configuration for running an x86 system on QEMU
|
|
|
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
|
|
|
|
require conf/machine/include/qemu.inc
|
|
DEFAULTTUNE ?= "core2-32"
|
|
require conf/machine/include/tune-corei7.inc
|
|
require conf/machine/include/qemuboot-x86.inc
|
|
|
|
UBOOT_MACHINE ?= "qemu-x86_defconfig"
|
|
|
|
KERNEL_IMAGETYPE = "bzImage"
|
|
|
|
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
|
|
|
|
XSERVER = "xserver-xorg \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
|
|
xf86-video-cirrus \
|
|
xf86-video-fbdev \
|
|
xf86-video-vmware \
|
|
xf86-video-modesetting \
|
|
xf86-video-vesa \
|
|
xserver-xorg-module-libint10 \
|
|
"
|
|
|
|
MACHINE_FEATURES += "x86 pci"
|
|
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
|
|
|
|
KERNEL_MODULE_AUTOLOAD += "uvesafb"
|
|
KERNEL_MODULE_PROBECONF += "uvesafb"
|
|
module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}"
|
|
|
|
WKS_FILE ?= "qemux86-directdisk.wks"
|
|
do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
|
|
|
|
#For runqemu
|
|
QB_SYSTEM_NAME = "qemu-system-i386"
|