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 |
| 13 | require conf/machine/include/machine-xilinx-board.inc |
| 14 | |
| 15 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" |
| 16 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" |
| 17 | |
| 18 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget keyboard screen alsa sdio" |
| 19 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 20 | |
| 21 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| 22 | |
| 23 | UBOOT_MACHINE = "zynq_zybo_config" |
| 24 | SPL_BINARY = "spl/boot.bin" |
| 25 | FORCE_PLATFORM_INIT = "1" |
| 26 | |
| 27 | EXTRA_IMAGEDEPENDS += " \ |
| 28 | u-boot-zynq-uenv \ |
| 29 | virtual/boot-bin \ |
| 30 | virtual/bitstream \ |
| 31 | " |
| 32 | |
| 33 | IMAGE_BOOT_FILES += " \ |
| 34 | boot.bin \ |
| 35 | ${MACHINE}.dtb \ |
| 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 | " |