From 1f291aedaabe7acd777ccf32bc86c28a92cd5cb1 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Tue, 14 Apr 2026 14:22:03 -0400 Subject: [PATCH] raspberrypi3-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 around bluetooth and video inits. Signed-off-by: Jon Mason --- conf/machine/raspberrypi3-64.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/conf/machine/raspberrypi3-64.conf b/conf/machine/raspberrypi3-64.conf index 53e7c2a..46eec87 100644 --- a/conf/machine/raspberrypi3-64.conf +++ b/conf/machine/raspberrypi3-64.conf @@ -35,3 +35,20 @@ SERIAL_CONSOLES ?= "115200;ttyS0" VC4DTBO ?= "vc4-fkms-v3d" ARMSTUB ?= "armstub8.bin" + +# +# Below are variables ONLY needed for running with Yocto/OE's runqemu script +# +IMAGE_CLASSES += "qemuboot" + +# FIXME - doesn't fully boot to shell. Hangs around video/bluetooth inits +QB_SYSTEM_NAME = "qemu-system-aarch64" +QB_MACHINE = "-machine raspi3b" +QB_MEM = "-m 1024" +QB_DTB = "bcm2837-rpi-3-b.dtb" +QB_NETWORK_DEVICE = "-device usb-net,netdev=net0,mac=@MAC@" +QB_KERNEL_ROOT = "/dev/sda" +QB_KERNEL_CMDLINE_APPEND = "rootwait earlycon=pl011,0x3f201000" +QB_RNG = "" +QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device usb-storage,drive=disk0" +QB_DEFAULT_FSTYPE = "ext3"