blob: d7af056a39c160e702db4ff0bcd3ca64318d4130 [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001#@TYPE: Machine
2#@NAME: zybo-zynq7
3#@DESCRIPTION: Machine support for ZYBO.
4#
5# For details on the ZYBO board:
6# https://www.digilentinc.com/Products/Detail.cfm?Prod=ZYBO
7#
8
Andrew Geissler84ad7c52020-06-27 00:00:16 -05009require conf/machine/include/soc-zynq.inc
Brad Bishop286d45c2018-10-02 15:21:57 -040010require conf/machine/include/machine-xilinx-default.inc
Brad Bishop286d45c2018-10-02 15:21:57 -040011
12MACHINE_FEATURES = "ext2 vfat usbhost usbgadget"
13
14# u-boot configuration
15PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050016UBOOT_MACHINE = "xilinx_zynq_virt_defconfig"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017SPL_BINARY ?= "spl/boot.bin"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050018UBOOT_ELF = "u-boot"
Brad Bishop286d45c2018-10-02 15:21:57 -040019
20EXTRA_IMAGEDEPENDS += " \
21 u-boot-zynq-uenv \
22 virtual/boot-bin \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023 virtual/bootloader \
Andrew Geissler84ad7c52020-06-27 00:00:16 -050024 u-boot-zynq-scr \
Brad Bishop286d45c2018-10-02 15:21:57 -040025 "
26
Andrew Geissler84ad7c52020-06-27 00:00:16 -050027SERIAL_CONSOLES ?= "115200;ttyPS0"
Brad Bishop286d45c2018-10-02 15:21:57 -040028
29KERNEL_DEVICETREE = "zynq-zybo.dtb"
30
31IMAGE_BOOT_FILES += " \
32 boot.bin \
Brad Bishop286d45c2018-10-02 15:21:57 -040033 uEnv.txt \
34 "
35