Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | #@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 | |
| 9 | SOC_VARIANT ?= "7z" |
| 10 | |
| 11 | require conf/machine/include/tune-zynq.inc |
| 12 | require conf/machine/include/machine-xilinx-overrides.inc |
| 13 | require conf/machine/include/machine-xilinx-default.inc |
| 14 | require conf/machine/include/machine-xilinx-board.inc |
| 15 | |
| 16 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" |
| 17 | |
| 18 | # u-boot configuration |
| 19 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
| 20 | UBOOT_MACHINE = "zynq_zybo_config" |
| 21 | SPL_BINARY = "spl/boot.bin" |
| 22 | |
| 23 | EXTRA_IMAGEDEPENDS += " \ |
| 24 | u-boot-zynq-uenv \ |
| 25 | virtual/boot-bin \ |
| 26 | " |
| 27 | |
| 28 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 29 | |
| 30 | KERNEL_DEVICETREE = "zynq-zybo.dtb" |
| 31 | |
| 32 | IMAGE_BOOT_FILES += " \ |
| 33 | boot.bin \ |
| 34 | ${KERNEL_IMAGETYPE}-zynq-zybo.dtb \ |
| 35 | uEnv.txt \ |
| 36 | " |
| 37 | |