Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: minized-zynq7 |
| 3 | #@DESCRIPTION: Machine support for MiniZed. (http://www.minized.org/) |
| 4 | |
| 5 | require conf/machine/include/tune-zynq.inc |
| 6 | require conf/machine/include/machine-xilinx-default.inc |
| 7 | require conf/machine/include/machine-xilinx-board.inc |
| 8 | |
| 9 | MACHINE_FEATURES = "ext2 vfat usbhost wifi bluetooth" |
| 10 | |
| 11 | # u-boot configuration |
| 12 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
| 13 | UBOOT_MACHINE = "zynq_minized_config" |
| 14 | SPL_BINARY = "spl/boot.bin" |
| 15 | |
| 16 | EXTRA_IMAGEDEPENDS += " \ |
| 17 | u-boot-zynq-uenv \ |
| 18 | virtual/boot-bin \ |
| 19 | " |
| 20 | |
| 21 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 22 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" |
| 23 | |
| 24 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| 25 | |
| 26 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430" |
| 27 | |
| 28 | IMAGE_BOOT_FILES += " \ |
| 29 | boot.bin \ |
| 30 | ${MACHINE}.dtb \ |
| 31 | uEnv.txt \ |
| 32 | " |