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 | |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 9 | require conf/machine/include/soc-zynq.inc |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 10 | require conf/machine/include/machine-xilinx-default.inc |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 11 | |
| 12 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" |
| 13 | |
| 14 | # u-boot configuration |
| 15 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 16 | UBOOT_MACHINE = "xilinx_zynq_virt_defconfig" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | SPL_BINARY ?= "spl/boot.bin" |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 18 | UBOOT_ELF = "u-boot" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 19 | |
| 20 | EXTRA_IMAGEDEPENDS += " \ |
| 21 | u-boot-zynq-uenv \ |
| 22 | virtual/boot-bin \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | virtual/bootloader \ |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 24 | u-boot-zynq-scr \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 25 | " |
| 26 | |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 27 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 28 | |
| 29 | KERNEL_DEVICETREE = "zynq-zybo.dtb" |
| 30 | |
| 31 | IMAGE_BOOT_FILES += " \ |
| 32 | boot.bin \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 33 | uEnv.txt \ |
| 34 | " |
| 35 | |