blob: b6a21e4fc4714044aef3d74367037b840536f53a [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
Andrew Geissler84ad7c52020-06-27 00:00:16 -05008require conf/machine/include/soc-zynq.inc
Brad Bishop286d45c2018-10-02 15:21:57 -04009require conf/machine/include/machine-xilinx-default.inc
Brad Bishop286d45c2018-10-02 15:21:57 -040010
Brad Bishop286d45c2018-10-02 15:21:57 -040011PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
12
13MACHINE_FEATURES = "ext2 vfat usbhost usbgadget keyboard screen alsa sdio"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050014SERIAL_CONSOLES ?= "115200;ttyPS0"
Brad Bishop286d45c2018-10-02 15:21:57 -040015
16MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
17
Andrew Geissler84ad7c52020-06-27 00:00:16 -050018UBOOT_MACHINE = "xilinx_zynq_virt_defconfig"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019SPL_BINARY ?= "spl/boot.bin"
Brad Bishop286d45c2018-10-02 15:21:57 -040020FORCE_PLATFORM_INIT = "1"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050021UBOOT_ELF = "u-boot"
Brad Bishop286d45c2018-10-02 15:21:57 -040022
23EXTRA_IMAGEDEPENDS += " \
24 u-boot-zynq-uenv \
25 virtual/boot-bin \
26 virtual/bitstream \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027 virtual/bootloader \
Andrew Geissler84ad7c52020-06-27 00:00:16 -050028 u-boot-zynq-scr \
Brad Bishop286d45c2018-10-02 15:21:57 -040029 "
30
31IMAGE_BOOT_FILES += " \
32 boot.bin \
Brad Bishop286d45c2018-10-02 15:21:57 -040033 bitstream \
34 uEnv.txt \
35 "
36
37KERNEL_FEATURES += " \
38 bsp/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.scc \
39 features/v4l2/v4l2-xilinx.scc \
40 "