[meta-xilinx] [meta-xilinx-bsp][PATCH 1/2] ultra96-zynqmp.conf: Add support for Ultra96 evaluation board

Manjukumar Matha manjukumar.harthikote-matha at xilinx.com
Wed Jun 20 08:34:22 PDT 2018


From: Sai Hari Chandana Kalluri <chandana.kalluri at xilinx.com>

Ultra96™ is an Arm-based, Xilinx Zynq UltraScale+™ MPSoC development
board based on the Linaro 96Boards specification. The 96Boards’
specifications are open and define a standard board layout for
development platforms that can be used by software application, hardware
device, kernel, and other system software developers. Ultra96 represents
a unique position in the 96Boards community with a wide range of
potential peripherals and acceleration engines in the programmable logic
that is not available from other offerings

More info: http://zedboard.org/product/ultra96

This patch adds machine configuration file for Ultra96 board 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: Sai Hari Chandana Kalluri <chandana.kalluri at xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
 meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf   | 35 ++++++++++++++++++++++
 .../recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb       |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf

diff --git a/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf b/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf
new file mode 100644
index 0000000..b5e3f8b
--- /dev/null
+++ b/meta-xilinx-bsp/conf/machine/ultra96-zynqmp.conf
@@ -0,0 +1,35 @@
+#@TYPE: Machine
+#@NAME: ultra96-zynqmp
+#@DESCRIPTION: Machine support for Ultra96 Evaluation Board.
+#
+
+SOC_VARIANT ?= "eg"
+
+require conf/machine/include/tune-zynqmp.inc
+require conf/machine/include/machine-xilinx-overrides.inc
+require conf/machine/include/machine-xilinx-default.inc
+require conf/machine/include/machine-xilinx-board.inc
+require conf/machine/include/machine-xilinx-qemu.inc
+include conf/machine/include/zynqmp-pmu-config.inc
+
+MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost usbgadget wifi bluetooth"
+
+UBOOT_MACHINE = "xilinx_zynqmp_zcu100_revC_defconfig"
+SPL_BINARY = "spl/boot.bin"
+
+SERIAL_CONSOLE = "115200 ttyPS0"
+
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+
+KERNEL_DEVICETREE = "xilinx/zynqmp-zcu100-revC.dtb"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx"
+PREFERRED_PROVIDER_virtual/pmu-firmware ?= "zynqmp-pmu-pmu-firmware"
+
+EXTRA_IMAGEDEPENDS += " \
+		arm-trusted-firmware \
+		virtual/pmu-firmware \
+		virtual/boot-bin \
+		"
+
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb
index fb2c618..7ad504d 100644
--- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb
+++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb
@@ -23,5 +23,6 @@ HAS_PLATFORM_INIT ?= " \
 		xilinx_zynqmp_zcu102_rev1_0_config \
 		xilinx_zynqmp_zcu106_revA_config \
 		xilinx_zynqmp_zcu104_revC_config \
+		xilinx_zynqmp_zcu100_revC_config \
 		"
 
-- 
2.7.4



More information about the meta-xilinx mailing list