diff options
author | Jaewon Lee <jaewon.lee@xilinx.com> | 2018-01-23 18:24:28 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-06-07 05:55:41 -0700 |
commit | 394edb22b4019c93cd468b58009a8194fe5dc633 (patch) | |
tree | 192b66488d8d88321968bb173974acbd089d7ee8 | |
parent | d45f3e864c4479d7697bcc5350a9588b0b0a5e02 (diff) | |
download | meta-xilinx-394edb22b4019c93cd468b58009a8194fe5dc633.tar.gz |
zcu104-zynqmp.conf: Add support for ZCU104 evaluation board
The ZCU104 Evaluation Kit enables designers to jumpstart designs for
embedded vision applications such as surveillance, Advanced Driver
Assisted Systems (ADAS), machine vision, Augmented Reality (AR), drones
and medical imaging. This kit features a Zynq® UltraScale+™ MPSoC EV
device with video codec and supports many common peripherals and
interfaces for embedded vision use case. The included ZU7EV device is
equipped with a quad-core ARM® Cortex™-A53 applications processor,
dual-core Cortex-R5 real-time processor, Mali™-400 MP2 graphics
processing unit, 4KP60 capable H.264/H.265 video codec, and 16nm FinFET+
programmable logic.
This patch adds machine configuration file for ZCU104 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
- hwcodec is provided by libomxil-xlnx recipe, this will pull in
additional dependencies of VCU kernel modules, control software,
firmware binaries
Depending on the application need you may want to pass the appropriate
CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel.
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.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf | 35 | ||||
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf new file mode 100644 index 00000000..d963a8bb --- /dev/null +++ b/meta-xilinx-bsp/conf/machine/zcu104-zynqmp.conf | |||
@@ -0,0 +1,35 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: zcu104-zynqmp | ||
3 | #@DESCRIPTION: Machine support for ZCU104 Evaluation Board. | ||
4 | # | ||
5 | |||
6 | require conf/machine/include/tune-zynqmp.inc | ||
7 | require conf/machine/include/machine-xilinx-default.inc | ||
8 | require conf/machine/include/machine-xilinx-board.inc | ||
9 | include conf/machine/include/zynqmp-pmu-config.inc | ||
10 | |||
11 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | ||
12 | |||
13 | UBOOT_MACHINE = "xilinx_zynqmp_zcu104_revC_defconfig" | ||
14 | SPL_BINARY = "spl/boot.bin" | ||
15 | |||
16 | SERIAL_CONSOLE ?= "115200 ttyPS0" | ||
17 | |||
18 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
19 | |||
20 | KERNEL_DEVICETREE = "xilinx/zynqmp-zcu104-revC.dtb" | ||
21 | |||
22 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" | ||
23 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx" | ||
24 | PREFERRED_PROVIDER_virtual/pmu-firmware ?= "zynqmp-pmu-pmu-firmware" | ||
25 | |||
26 | EXTRA_IMAGEDEPENDS += " \ | ||
27 | u-boot-zynq-uenv \ | ||
28 | arm-trusted-firmware \ | ||
29 | virtual/pmu-firmware \ | ||
30 | virtual/boot-bin \ | ||
31 | " | ||
32 | IMAGE_BOOT_FILES += "uEnv.txt atf-uboot.ub ${KERNEL_IMAGETYPE}-zynqmp-zcu104-revC.dtb" | ||
33 | |||
34 | MACHINE_HWCODECS = "libomxil-xlnx" | ||
35 | |||
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 d5e746e3..fb2c618c 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 | |||
@@ -22,5 +22,6 @@ HAS_PLATFORM_INIT ?= " \ | |||
22 | zynq_zybo_config \ | 22 | zynq_zybo_config \ |
23 | xilinx_zynqmp_zcu102_rev1_0_config \ | 23 | xilinx_zynqmp_zcu102_rev1_0_config \ |
24 | xilinx_zynqmp_zcu106_revA_config \ | 24 | xilinx_zynqmp_zcu106_revA_config \ |
25 | xilinx_zynqmp_zcu104_revC_config \ | ||
25 | " | 26 | " |
26 | 27 | ||