PetaLinux and Yocto tools do this for you. It is recommended you clear the -machine-path directory between boots. Specifies that this is a microblaze-fdt machine.
Specifies that this is an ARM-generic-fdt machine. This machine will have 512MB of RAM allocated This machine will have 4GB of RAM allocated -m 512M Specifies the image pmu_rom_qemu_sha3.elf.Īllocates memory size bytes of RAM for the virtual machine. kernel /path/to/kernel/pmu_rom_qemu_sha3.elf Specifies an image, such as a kernel or bare-metal image. Specifies the QEMU hardware description to be zynqmp-qemu-multiarch-arm.dtb.
hw-dtb /path/to/dtb/zynqmp-qemu-multiarch-arm.dtb See: -dtb vs -hw-dtb for how this differs from the -dtb parameter. The hardware description for the QEMU machine.
QEMU MONITOR COMMANDS DRIVER
Sets driver properties for devices created by the machine model. Speficies the QEMU hardware description to be system.dtb and passes it to the Linux Kernel (if present). If a Linux kernel is present, the dtb is passed to it through a memory buffer. Anything that QEMU cannot emulate is discarded. drive file=/path/to/img/qemu_boot.img,if=sd,format=raw,index=1Ĭreates an SD drive at index 1 with the image qemu_boot.img. When writing data to an address, the order must be addr=,data=,data-len=