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" |
| 25 | |
| 26 | EXTRA_IMAGEDEPENDS += " \ |
| 27 | u-boot-zynq-uenv \ |
| 28 | virtual/boot-bin \ |
| 29 | virtual/bitstream \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 30 | virtual/bootloader \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 31 | " |
| 32 | |
| 33 | IMAGE_BOOT_FILES += " \ |
| 34 | boot.bin \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 35 | bitstream \ |
| 36 | uEnv.txt \ |
| 37 | " |
| 38 | |
| 39 | KERNEL_FEATURES += " \ |
| 40 | bsp/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.scc \ |
| 41 | features/v4l2/v4l2-xilinx.scc \ |
| 42 | " |