blob: 97251048fb85c06d43b8a0774ea7ad4d5dd702c4 [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"
Brad Bishop286d45c2018-10-02 15:21:57 -040017
18# Use the networking setup from qemuarm
19FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
20
21# This machine is a targeting a QEMU model, runqemu setup:
22IMAGE_CLASSES += "qemuboot"
23QB_MEM = "-m 1024"
24QB_MACHINE = "-machine xilinx-zynq-a9"
25QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio"
26QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@"
27