raspberrypi4-64.conf: add QB_ variables for runqemu

Add the relevant QB_ variables sufficient to get the QEMU raspi1ap model
running with runqemu.

Unfortunately, it doesn't fully boot to shell, and seems to hang trying
to find boot media (for both SD and USB boot devices).

Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Jon Mason authored and Khem Raj committed 2026-10-13 19:30:08 -07:00
1 parent 1f291aedaa
commit e8e1692de4
1 file changed
+17
+17
View File
@@ -39,3 +39,20 @@ KERNEL_IMAGETYPE_DIRECT ?= "Image"
KERNEL_BOOTCMD ?= "booti"
ARMSTUB ?= "armstub8-gic.bin"
#
# Below are variables ONLY needed for running with Yocto/OE's runqemu script
#
IMAGE_CLASSES += "qemuboot"
# FIXME - boot hangs trying to find the boot media, for both SD and USB
QB_SYSTEM_NAME = "qemu-system-aarch64"
QB_MACHINE = "-machine raspi4b"
QB_MEM = "-m 2048"
QB_DTB = "bcm2711-rpi-4-b.dtb"
QB_NETWORK_DEVICE = "-device usb-net,netdev=net0,mac=@MAC@"
QB_KERNEL_ROOT = "/dev/sda"
QB_KERNEL_CMDLINE_APPEND = "rootwait earlycon=pl011,mmio32,0xfe201000"
QB_RNG = ""
QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device usb-storage,drive=disk0"
QB_DEFAULT_FSTYPE = "ext3"