mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
The 6.4 kernel causes parselog failures when Xorg starts: (II) FBDEV(0): checking modes against framebuffer device... (II) FBDEV(0): mode "640x480" test failed (II) FBDEV(0): mode "640x480" test failed (II) FBDEV(0): mode "640x480" test failed (II) FBDEV(0): mode "640x480" test failed (II) FBDEV(0): mode "640x480" not found It appears to be specific to qemuarm without GL. Until this is resolved, pin the qemuarm BSP to 6.1. (From OE-Core rev: 28615ad284243db4465c843c456083c9d4b3a0c4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
#@TYPE: Machine
|
|
#@NAME: QEMU Arm Cortex-A15 machine
|
|
#@DESCRIPTION: Machine configuration for running an ARMv7 system on QEMU
|
|
|
|
require conf/machine/include/arm/armv7a/tune-cortexa15.inc
|
|
require conf/machine/include/qemu.inc
|
|
|
|
KERNEL_IMAGETYPE = "zImage"
|
|
|
|
UBOOT_MACHINE ?= "qemu_arm_defconfig"
|
|
|
|
SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
|
|
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
|
|
|
# For runqemu
|
|
QB_SYSTEM_NAME = "qemu-system-arm"
|
|
QB_MACHINE = "-machine virt,highmem=off"
|
|
QB_CPU = "-cpu cortex-a15"
|
|
QB_SMP ?= "-smp 4"
|
|
# For graphics to work we need to define the VGA device as well as the necessary USB devices
|
|
QB_GRAPHICS = "-device virtio-gpu-pci"
|
|
QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd"
|
|
# Virtio Networking support
|
|
QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
|
|
QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"
|
|
# Virtio block device
|
|
QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0"
|
|
# Virtio serial console
|
|
QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
|
|
QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon"
|
|
|
|
# 6.4 causes Xorg to fail to read the virtio framebuffer so stick with 6.1 until
|
|
# that is resolved.
|
|
PREFERRED_VERSION_linux-yocto ??= "6.1%"
|
|
|
|
KMACHINE:qemuarm = "qemuarma15"
|