blob: ba355d5688e7d466d233f8b73141a88b71989fd5 [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
Brad Bishop286d45c2018-10-02 15:21:57 -040013
14PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
15PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
16
17MACHINE_FEATURES = "ext2 vfat usbhost usbgadget keyboard screen alsa sdio"
18SERIAL_CONSOLE = "115200 ttyPS0"
19
20MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
21
22UBOOT_MACHINE = "zynq_zybo_config"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023SPL_BINARY ?= "spl/boot.bin"
Brad Bishop286d45c2018-10-02 15:21:57 -040024FORCE_PLATFORM_INIT = "1"
25
26EXTRA_IMAGEDEPENDS += " \
27 u-boot-zynq-uenv \
28 virtual/boot-bin \
29 virtual/bitstream \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080030 virtual/bootloader \
Brad Bishop286d45c2018-10-02 15:21:57 -040031 "
32
33IMAGE_BOOT_FILES += " \
34 boot.bin \
Brad Bishop286d45c2018-10-02 15:21:57 -040035 bitstream \
36 uEnv.txt \
37 "
38
39KERNEL_FEATURES += " \
40 bsp/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.scc \
41 features/v4l2/v4l2-xilinx.scc \
42 "