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"