Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: picozed-zynq7 |
| 3 | #@DESCRIPTION: Machine support for picoZed. (http://www.picozed.org/) |
| 4 | # |
| 5 | # Note: This machine configuration is intended as a generic config for |
| 6 | # the picozed SOM. It also covers the multiple SKUs for the picoZed |
| 7 | # including 7010, 7020, 7015 and 7030. |
| 8 | |
| 9 | SOC_VARIANT ?= "7z" |
| 10 | |
| 11 | require conf/machine/include/tune-zynq.inc |
| 12 | require conf/machine/include/machine-xilinx-overrides.inc |
| 13 | require conf/machine/include/machine-xilinx-default.inc |
| 14 | require conf/machine/include/machine-xilinx-board.inc |
| 15 | |
| 16 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" |
| 17 | |
| 18 | # u-boot configuration |
| 19 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
| 20 | UBOOT_MACHINE = "zynq_picozed_config" |
| 21 | SPL_BINARY = "spl/boot.bin" |
| 22 | |
| 23 | EXTRA_IMAGEDEPENDS += " \ |
| 24 | u-boot-zynq-uenv \ |
| 25 | virtual/boot-bin \ |
| 26 | " |
| 27 | |
| 28 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 29 | |
| 30 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| 31 | |
| 32 | IMAGE_BOOT_FILES += " \ |
| 33 | boot.bin \ |
| 34 | ${MACHINE}.dtb \ |
| 35 | uEnv.txt \ |
| 36 | " |
| 37 | |