blob: 9b08d1be8c31a28cba1a9146ff78a51ff4327402 [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001#@TYPE: Machine
2#@NAME: zc702-zynq7
3#@DESCRIPTION: Machine support for ZC702 Evaluation Board.
4#
5# For details on the Evaluation board:
6# http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC702-G.htm
7# For documentation and design files for the ZC702:
8# http://www.xilinx.com/support/index.html/content/xilinx/en/supportNav/boards_and_kits/zynq-7000_soc_boards_and_kits/zynq-7000_soc_zc702_evaluation_kit.html
9# For the FSBL 'zynq_fsbl_0.elf' refer to UG873 and the associated design files.
10#
11SOC_VARIANT ?= "7z"
12
13require conf/machine/include/tune-zynq.inc
14require conf/machine/include/machine-xilinx-overrides.inc
15require conf/machine/include/machine-xilinx-default.inc
16require conf/machine/include/machine-xilinx-board.inc
17require conf/machine/include/machine-xilinx-qemu.inc
18
19MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost"
20
21# u-boot configuration
22UBOOT_MACHINE = "zynq_zc702_config"
23SPL_BINARY = "spl/boot.bin"
24
25EXTRA_IMAGEDEPENDS += " \
26 u-boot-zynq-uenv \
27 virtual/boot-bin \
28 "
29
30SERIAL_CONSOLE = "115200 ttyPS0"
31
32KERNEL_DEVICETREE = "zynq-zc702.dtb"
33
34IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${KERNEL_IMAGETYPE}-zynq-zc702.dtb"
35
36# Although not fully supported you can run this machine on the mainline QEMU 'xilinx-zynq-a9' machine
37IMAGE_CLASSES += "qemuboot"
38QB_MEM = "-m 1024"
39QB_MACHINE = "-machine xilinx-zynq-a9"
40QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio"
41QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@"
42
43# Xilinx's fork of QEMU has much better results, so let's default to that
44# Use qemu-xilinx instead of mainline
45PREFERRED_PROVIDER_qemu-helper-native = "qemu-xilinx-helper-native"
46
47IMAGE_CLASSES += "qemuboot-xilinx"