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 | |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 8 | require conf/machine/include/soc-zynq.inc |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 9 | require conf/machine/include/machine-xilinx-default.inc |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 10 | |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 11 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" |
| 12 | |
| 13 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget keyboard screen alsa sdio" |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 14 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 15 | |
| 16 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| 17 | |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 18 | UBOOT_MACHINE = "xilinx_zynq_virt_defconfig" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | SPL_BINARY ?= "spl/boot.bin" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 20 | FORCE_PLATFORM_INIT = "1" |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 21 | UBOOT_ELF = "u-boot" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 22 | |
| 23 | EXTRA_IMAGEDEPENDS += " \ |
| 24 | u-boot-zynq-uenv \ |
| 25 | virtual/boot-bin \ |
| 26 | virtual/bitstream \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 27 | virtual/bootloader \ |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 28 | u-boot-zynq-scr \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 29 | " |
| 30 | |
| 31 | IMAGE_BOOT_FILES += " \ |
| 32 | boot.bin \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 33 | bitstream \ |
| 34 | uEnv.txt \ |
| 35 | " |
| 36 | |
| 37 | KERNEL_FEATURES += " \ |
Andrew Geissler | a9ff2b3 | 2020-10-16 10:11:54 -0500 | [diff] [blame] | 38 | bsp/xilinx/zybo-linux-bd-zynq7/zybo-linux-bd-zynq7.scc \ |
| 39 | features/xilinx/v4l2/v4l2.scc \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 40 | " |