[OE-core] [PATCH] qemuboot-mips: Enable cirrus VGA device

Khem Raj raj.khem at gmail.com
Mon Jan 13 03:30:23 UTC 2020


This helps in booting weston images ( core-image-weston ) with fbdev
backend, without this westons initialization of fbdev backend fails
because it does not get correct frame buffer settings and exits
pre-maturely

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
v2: Fix regression, where core-image-sato would not boot on qemumips
    after this change

 meta/conf/machine/include/qemuboot-mips.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/conf/machine/include/qemuboot-mips.inc b/meta/conf/machine/include/qemuboot-mips.inc
index 978820a2e0..d44b96c18c 100644
--- a/meta/conf/machine/include/qemuboot-mips.inc
+++ b/meta/conf/machine/include/qemuboot-mips.inc
@@ -5,3 +5,6 @@ QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
 QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet"
 # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
 QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
+
+# For graphics to work we need to define the VGA device as well as the necessary USB devices
+QB_OPT_APPEND += "-device cirrus-vga"
-- 
2.24.1



More information about the Openembedded-core mailing list