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 | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame] | 21 | UBOOT_ELF_zynq = "u-boot" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 22 | |
| 23 | EXTRA_IMAGEDEPENDS += " \ |
| 24 | u-boot-zynq-uenv \ |
| 25 | virtual/boot-bin \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | virtual/bootloader \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 27 | " |
| 28 | |
| 29 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 30 | |
| 31 | KERNEL_DEVICETREE = "zynq-zybo.dtb" |
| 32 | |
| 33 | IMAGE_BOOT_FILES += " \ |
| 34 | boot.bin \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 35 | uEnv.txt \ |
| 36 | " |
| 37 | |