blob: 0fcb9711dbd30fb6b8740c8d0abdff73cac870bd [file] [log] [blame]
Alexander Hedges07837e02018-09-27 13:34:03 +02001SOC_VARIANT ?= "7z"
2
3require conf/machine/include/tune-zynq.inc
4require conf/machine/include/machine-xilinx-overrides.inc
5require conf/machine/include/machine-xilinx-default.inc
6require conf/machine/include/machine-xilinx-board.inc
7require conf/machine/include/machine-xilinx-qemu.inc
8require conf/machine/include/obmc-bsp-common.inc
9
10MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost"
11
12# u-boot configuration
13UBOOT_MACHINE = "zynq_zc702_config"
14SPL_BINARY = "spl/boot.bin"
15
16EXTRA_IMAGEDEPENDS += " \
17 u-boot-zynq-uenv \
18 virtual/boot-bin \
19 "
20
21SERIAL_CONSOLE = "115200 ttyPS0"
22
23KERNEL_DEVICETREE = "zynq-zc702.dtb"
24
25IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${KERNEL_IMAGETYPE}-zynq-zc702.dtb"
26
27KERNEL_FEATURES_remove = "phosphor-gpio-keys"
28
29# Overwrite flash offsets
30FLASH_UBOOT_OFFSET = "0"
31FLASH_KERNEL_OFFSET = "6144"
32FLASH_UBI_OFFSET = "${FLASH_KERNEL_OFFSET}"
33FLASH_ROFS_OFFSET = "12288"
34FLASH_RWFS_OFFSET = "65024"
35FLASH_SIZE = "65536"
36
37PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "evb-zx3-pm3-led-manager-config-native"
38PREFERRED_PROVIDER_u-boot = "u-boot-xlnx"
39PREFERRED_PROVIDER_virtual/bootloader = "u-boot"