blob: 2c86edb38cb31307115ccc1f76e442c9f253346d [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001#@TYPE: Machine
2#@NAME: qemu-zynq7
3#@DESCRIPTION: Zynq QEMU machine support ('xilinx-zynq-a9' model)
4
5SOC_VARIANT ?= "7z"
6
7require conf/machine/include/tune-zynq.inc
8require conf/machine/include/machine-xilinx-overrides.inc
9require conf/machine/include/machine-xilinx-default.inc
10require conf/machine/include/machine-xilinx-qemu.inc
11
12MACHINE_FEATURES = "ext2 vfat"
13
14SERIAL_CONSOLE = "115200 ttyPS0"
15
16MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
17IMAGE_BOOT_FILES += "${MACHINE}.dtb"
18
19# Use the networking setup from qemuarm
20FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
21
22# This machine is a targeting a QEMU model, runqemu setup:
23IMAGE_CLASSES += "qemuboot"
24QB_MEM = "-m 1024"
25QB_MACHINE = "-machine xilinx-zynq-a9"
26QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio"
27QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@"
28