| #@TYPE: Machine |
| #@NAME: qemu-zynq7 |
| #@DESCRIPTION: Zynq QEMU machine support ('xilinx-zynq-a9' model) |
| |
| SOC_VARIANT ?= "7z" |
| |
| require conf/machine/include/tune-zynq.inc |
| require conf/machine/include/machine-xilinx-overrides.inc |
| require conf/machine/include/machine-xilinx-default.inc |
| require conf/machine/include/machine-xilinx-qemu.inc |
| |
| MACHINE_FEATURES = "ext2 vfat" |
| |
| SERIAL_CONSOLE = "115200 ttyPS0" |
| |
| MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| |
| # Use the networking setup from qemuarm |
| FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" |
| |
| # This machine is a targeting a QEMU model, runqemu setup: |
| IMAGE_CLASSES += "qemuboot" |
| QB_MEM = "-m 1024" |
| QB_MACHINE = "-machine xilinx-zynq-a9" |
| QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio" |
| QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@" |
| |