]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemuarm64: Fix graphics hang with 5.0 kernel
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Mar 2019 22:38:06 +0000 (22:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Mar 2019 18:56:37 +0000 (11:56 -0700)
Ensure we turn on edid for the VGA display which fixes a hang with the
5.0 kernel for qemuarm64.

Thanks to Jon Mason for the fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/qemuarm64.conf

index e17245a0f71f5b99b975e398a8b38b145528bccf..6919e555a876d5d7446253ecd30977f565854555 100644 (file)
@@ -17,7 +17,7 @@ QB_CPU = "-cpu cortex-a57"
 # Standard Serial console
 QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0"
 # 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"
+QB_OPT_APPEND = "-show-cursor -device VGA,edid=on"
 QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd"
 # 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"