blob: 27b6d072e2062f5507d2a908bfd7ad8527b2f4dc [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001#@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
8SOC_VARIANT ?= "7z"
9
10require conf/machine/include/tune-zynq.inc
11require conf/machine/include/machine-xilinx-overrides.inc
12require conf/machine/include/machine-xilinx-default.inc
13require conf/machine/include/machine-xilinx-board.inc
14
15PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
16PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
17
18MACHINE_FEATURES = "ext2 vfat usbhost usbgadget keyboard screen alsa sdio"
19SERIAL_CONSOLE = "115200 ttyPS0"
20
21MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
22
23UBOOT_MACHINE = "zynq_zybo_config"
24SPL_BINARY = "spl/boot.bin"
25FORCE_PLATFORM_INIT = "1"
26
27EXTRA_IMAGEDEPENDS += " \
28 u-boot-zynq-uenv \
29 virtual/boot-bin \
30 virtual/bitstream \
31 "
32
33IMAGE_BOOT_FILES += " \
34 boot.bin \
35 ${MACHINE}.dtb \
36 bitstream \
37 uEnv.txt \
38 "
39
40KERNEL_FEATURES += " \
41 bsp/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.scc \
42 features/v4l2/v4l2-xilinx.scc \
43 "