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 |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 14 | |
| 15 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" |
| 16 | |
| 17 | # u-boot configuration |
| 18 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
| 19 | UBOOT_MACHINE = "zynq_zybo_config" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | SPL_BINARY ?= "spl/boot.bin" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 21 | |
| 22 | EXTRA_IMAGEDEPENDS += " \ |
| 23 | u-boot-zynq-uenv \ |
| 24 | virtual/boot-bin \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 25 | virtual/bootloader \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 26 | " |
| 27 | |
| 28 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 29 | |
| 30 | KERNEL_DEVICETREE = "zynq-zybo.dtb" |
| 31 | |
| 32 | IMAGE_BOOT_FILES += " \ |
| 33 | boot.bin \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 34 | uEnv.txt \ |
| 35 | " |
| 36 | |