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 |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 14 | |
| 15 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" |
| 16 | |
| 17 | # u-boot configuration |
| 18 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
| 19 | UBOOT_MACHINE = "zynq_picozed_config" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | SPL_BINARY ?= "spl/boot.bin" |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame] | 21 | UBOOT_ELF_zynq = "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 \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | virtual/bootloader \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 27 | " |
| 28 | |
| 29 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 30 | |
| 31 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| 32 | |
| 33 | IMAGE_BOOT_FILES += " \ |
| 34 | boot.bin \ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 35 | uEnv.txt \ |
| 36 | " |
| 37 | |