Alexander Hedges | 07837e0 | 2018-09-27 13:34:03 +0200 | [diff] [blame^] | 1 | SOC_VARIANT ?= "7z" |
| 2 | |
| 3 | require conf/machine/include/tune-zynq.inc |
| 4 | require conf/machine/include/machine-xilinx-overrides.inc |
| 5 | require conf/machine/include/machine-xilinx-default.inc |
| 6 | require conf/machine/include/machine-xilinx-board.inc |
| 7 | require conf/machine/include/machine-xilinx-qemu.inc |
| 8 | require conf/machine/include/obmc-bsp-common.inc |
| 9 | |
| 10 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
| 11 | |
| 12 | # u-boot configuration |
| 13 | UBOOT_MACHINE = "zynq_zc702_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 | |
| 23 | KERNEL_DEVICETREE = "zynq-zc702.dtb" |
| 24 | |
| 25 | IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${KERNEL_IMAGETYPE}-zynq-zc702.dtb" |
| 26 | |
| 27 | KERNEL_FEATURES_remove = "phosphor-gpio-keys" |
| 28 | |
| 29 | # Overwrite flash offsets |
| 30 | FLASH_UBOOT_OFFSET = "0" |
| 31 | FLASH_KERNEL_OFFSET = "6144" |
| 32 | FLASH_UBI_OFFSET = "${FLASH_KERNEL_OFFSET}" |
| 33 | FLASH_ROFS_OFFSET = "12288" |
| 34 | FLASH_RWFS_OFFSET = "65024" |
| 35 | FLASH_SIZE = "65536" |
| 36 | |
| 37 | PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "evb-zx3-pm3-led-manager-config-native" |
| 38 | PREFERRED_PROVIDER_u-boot = "u-boot-xlnx" |
| 39 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |