armsr: enable framebuffer emulation for virtio-gpu/drm displays
authorMathew McBride <matt@traverse.com.au>
Sun, 26 May 2024 04:12:58 +0000 (14:12 +1000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 23 Jun 2024 14:15:28 +0000 (16:15 +0200)
commitea7383e7215c36e47a769f34c57aa458300b8bc2
treeb661f6272aeb1e8b76936e05554a92b894d17041
parent4468c2f4bd054be02f91d68ab42f9f08e79d199e
armsr: enable framebuffer emulation for virtio-gpu/drm displays

This was discovered when trying to run OpenWrt on Hetzner Cloud's
Arm-based instances.

Hetzner uses QEMU/KVM with virtio-gpu as the main display device,
together with an ACPI firmware. This was not displaying a console
previously.

This setup can be emulated by qemu using options below:
qemu-system-aarch64 \
    -machine virt \
    -bios QEMU_EFI.fd \
    -device virtio-gpu \
    -usb \
    -device qemu-xhci,id=xhci \
    -device usb-tablet,bus=xhci.0 \
    -device usb-kbd,bus=xhci.0 \
    -vnc :0

Signed-off-by: Mathew McBride <matt@traverse.com.au>
target/linux/armsr/config-6.6