All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] qemuboot-mips: Enable VGA device
@ 2020-01-10 17:29 Khem Raj
  2020-01-10 17:29 ` [PATCH 2/2] busybox: Update inittab Khem Raj
  2020-01-11  9:16 ` [PATCH 1/2] qemuboot-mips: Enable VGA device Richard Purdie
  0 siblings, 2 replies; 8+ messages in thread
From: Khem Raj @ 2020-01-10 17:29 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/conf/machine/include/qemuboot-mips.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/conf/machine/include/qemuboot-mips.inc b/meta/conf/machine/include/qemuboot-mips.inc
index 978820a2e0..52cb28a5d2 100644
--- a/meta/conf/machine/include/qemuboot-mips.inc
+++ b/meta/conf/machine/include/qemuboot-mips.inc
@@ -5,3 +5,8 @@ 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 = "-show-cursor -device VGA,edid=on"
+QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd"
+
-- 
2.24.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-04-03  1:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 17:29 [PATCH 1/2] qemuboot-mips: Enable VGA device Khem Raj
2020-01-10 17:29 ` [PATCH 2/2] busybox: Update inittab Khem Raj
2020-04-03  1:12   ` [OE-core] " Andre McCurdy
2020-04-03  1:36     ` Khem Raj
2020-01-11  9:16 ` [PATCH 1/2] qemuboot-mips: Enable VGA device Richard Purdie
2020-01-11 20:25   ` Khem Raj
2020-01-11 23:44     ` Richard Purdie
2020-01-12  4:50       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.