Skip to contentSkip to conversation

qemuboot-mips: Enable cirrus VGA device

PATCH New Khem Raj 1 participant 1 message Jan 13, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 qemuboot-mips: Enable cirrus VGA device

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

---
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(+)
meta/conf/machine/include/qemuboot-mips.inc +3 -0
index 978820a2e0..d44b96c18c 100644
@@ -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"
Signature · 1 line
2.24.1