diff options
author | Jon Mason <jdmason@kudzu.us> | 2021-09-16 18:20:06 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-17 21:32:51 +0100 |
commit | 961158653170f53de58672e474c41f1533f469fc (patch) | |
tree | 42298f8e20ee3dc16f3f917fa758403cfa42b48f /meta/conf/machine/qemuarmv5.conf | |
parent | 6450138afebffcc55ab32afadd5fb979274fff2b (diff) | |
download | openembedded-core-contrib-961158653170f53de58672e474c41f1533f469fc.tar.gz |
machine/qemuarm*: use virtio graphics
Switch to using virtio graphics for the Arm QEMU machines. You will
noticed the difference in the dmesg by seeing:
[ 2.693337] [drm] pci: virtio-gpu-pci detected at 0000:00:10.0
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/qemuarmv5.conf')
-rw-r--r-- | meta/conf/machine/qemuarmv5.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/machine/qemuarmv5.conf b/meta/conf/machine/qemuarmv5.conf index 6c99a52965..252d6286d8 100644 --- a/meta/conf/machine/qemuarmv5.conf +++ b/meta/conf/machine/qemuarmv5.conf @@ -13,7 +13,8 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1" QB_SYSTEM_NAME = "qemu-system-arm" QB_MACHINE = "-machine versatilepb" QB_KERNEL_CMDLINE_APPEND = "vmalloc=256" -QB_OPT_APPEND = "-usb -device usb-tablet" +QB_GRAPHICS = "-device virtio-gpu-pci" +QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" PREFERRED_VERSION_linux-yocto ??= "5.13%" QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}" |