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" |
| 17 | IMAGE_BOOT_FILES += "${MACHINE}.dtb" |
| 18 | |
| 19 | # Use the networking setup from qemuarm |
| 20 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" |
| 21 | |
| 22 | # This machine is a targeting a QEMU model, runqemu setup: |
| 23 | IMAGE_CLASSES += "qemuboot" |
| 24 | QB_MEM = "-m 1024" |
| 25 | QB_MACHINE = "-machine xilinx-zynq-a9" |
| 26 | QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio" |
| 27 | QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@" |
| 28 | |