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