]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemuboot-mips: Enable cirrus VGA device
authorKhem Raj <raj.khem@gmail.com>
Mon, 13 Jan 2020 03:30:23 +0000 (19:30 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jan 2020 22:21:31 +0000 (22:21 +0000)
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@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/include/qemuboot-mips.inc

index 978820a2e0bbfda19431a9daba2273d56bb3b489..d44b96c18cbe25527b596940ae345976d6b3b7e3 100644 (file)
@@ -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"