[OE-core] [PATCH 1/2] qemuboot-mips: Enable VGA device
richard.purdie at linuxfoundation.org
Sat Jan 11 09:16:35 UTC 2020
On Fri, 2020-01-10 at 09:29 -0800, Khem Raj wrote:
> 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
> Signed-off-by: Khem Raj <raj.khem at 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"
The change is probably good but it causes consistent failures in out
testimage runs for mips and mips64:
all due to errors appearing in the logs.
More information about the Openembedded-core