Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: zybo-linux-bd-zynq7 |
| 3 | #@DESCRIPTION: Machine support for zybo-linux-bd project. |
| 4 | # |
| 5 | # generated base on ZYBO linux-bd project |
| 6 | # |
| 7 | |
| 8 | SOC_VARIANT ?= "7z" |
| 9 | |
| 10 | require conf/machine/include/tune-zynq.inc |
| 11 | require conf/machine/include/machine-xilinx-overrides.inc |
| 12 | require conf/machine/include/machine-xilinx-default.inc |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 13 | |
| 14 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" |
| 15 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" |
| 16 | |
| 17 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget keyboard screen alsa sdio" |
| 18 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 19 | |
| 20 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| 21 | |
| 22 | UBOOT_MACHINE = "zynq_zybo_config" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | SPL_BINARY ?= "spl/boot.bin" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 24 | FORCE_PLATFORM_INIT = "1" |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame] | 25 | UBOOT_ELF_zynq = "u-boot" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 26 | |
| 27 | EXTRA_IMAGEDEPENDS += " \ |
| 28 | u-boot-zynq-uenv \ |
| 29 | virtual/boot-bin \ |
| 30 | virtual/bitstream \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 31 | virtual/bootloader \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 32 | " |
| 33 | |
| 34 | IMAGE_BOOT_FILES += " \ |
| 35 | boot.bin \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 36 | bitstream \ |
| 37 | uEnv.txt \ |
| 38 | " |
| 39 | |
| 40 | KERNEL_FEATURES += " \ |
| 41 | bsp/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.scc \ |
| 42 | features/v4l2/v4l2-xilinx.scc \ |
| 43 | " |