From: Jaewon Lee <jaewon....@xilinx.com>

Add initial support for the zc1275 evaluation board which has the
following main features:

     * XCZU29DR-FFVF1760
     * Samtec BullsEye cable access to:
     * 16 GTY transceivers
     * 4 GTR transceivers
     * 16 ADCs
     * 16 DACs

This patch adds machine configuration file for ZC1275 Evaluation Kit
with required setting of board specific yocto variables needed for
compilation of bootloader, kernel and device-tree.

- linux-xlnx is the kernel provider
- u-boot-xlnx is the u-boot provider which will also generate SPL
  boot.bin

While using SPL flow, you may need to provide additional hack to pass
the PMU config object. This is similar to all ZU+ boards, due to gap in
SPL flow unable to load PMU config object.

Signed-off-by: Jaewon Lee <jaewon....@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-ma...@xilinx.com>
---
 meta-xilinx-bsp/conf/machine/zc1275-zynqmp.conf | 38 +++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 meta-xilinx-bsp/conf/machine/zc1275-zynqmp.conf

diff --git a/meta-xilinx-bsp/conf/machine/zc1275-zynqmp.conf 
b/meta-xilinx-bsp/conf/machine/zc1275-zynqmp.conf
new file mode 100644
index 0000000..1e5cd0d
--- /dev/null
+++ b/meta-xilinx-bsp/conf/machine/zc1275-zynqmp.conf
@@ -0,0 +1,38 @@
+#@TYPE: Machine
+#@NAME: zc1275-zynqmp
+#@DESCRIPTION: Machine support for ZC1275 Evaluation Board.
+#
+
+SOC_VARIANT ?= "dr"
+
+require conf/machine/include/tune-zynqmp.inc
+require conf/machine/include/machine-xilinx-overrides.inc
+require conf/machine/include/machine-xilinx-default.inc
+
+MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost"
+
+UBOOT_MACHINE = "xilinx_zynqmp_zc1275_revB_defconfig"
+SPL_BINARY ?= "spl/boot.bin"
+
+SERIAL_CONSOLE ?= "115200 ttyPS0"
+
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+
+KERNEL_DEVICETREE = "xilinx/zynqmp-zc1275-revB.dtb"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx"
+
+PMU_FIRMWARE_IMAGE_NAME ?= "pmu-firmware-zynqmp-pmu"
+PMU_FIRMWARE_DEPLOY_DIR ?= "${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu"
+
+EXTRA_IMAGEDEPENDS += " \
+               u-boot-zynq-uenv \
+               arm-trusted-firmware \
+               virtual/boot-bin \
+               virtual/bootloader \
+               "
+IMAGE_BOOT_FILES += " \
+               uEnv.txt \
+               atf-uboot.ub \
+               "
-- 
2.7.4

-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to