qemuarm64: Fix graphics hang with 5.0 kernel

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.

(From OE-Core rev: c112be9643f9031964be4068feeb5e2f8528c107)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2019-03-09 22:38:06 +00:00
parent 6acb45106d
commit ff35b6c57a

View 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"