blob: 87634fcc2c58288c8c4616a71f7c89698882f9b2 [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"
Brad Bishop754b8fa2019-08-20 09:16:20 -040025UBOOT_ELF_zynq = "u-boot"
Brad Bishop286d45c2018-10-02 15:21:57 -040026
27EXTRA_IMAGEDEPENDS += " \
28 u-boot-zynq-uenv \
29 virtual/boot-bin \
30 virtual/bitstream \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031 virtual/bootloader \
Brad Bishop286d45c2018-10-02 15:21:57 -040032 "
33
34IMAGE_BOOT_FILES += " \
35 boot.bin \
Brad Bishop286d45c2018-10-02 15:21:57 -040036 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 "