summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-01-12 15:32:59 -0700
committerMark Hatle <mark.hatle@amd.com>2023-01-13 23:31:51 -0600
commit86039c4c1d545b85c572bff20ae73f75e8d1038a (patch)
tree93574ac31ad60888864a39aa1a18deda2553aead /meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf
parent4d236e3fc6dd3013f4c52b7f2f03652396576e37 (diff)
downloadmeta-xilinx-86039c4c1d545b85c572bff20ae73f75e8d1038a.tar.gz
zynqmp: Update machine conf file using gen-machineconf tool
1. Update below zynqmp eval board machine conf file using gen-machineconf tool by parsing respective xsa. - zcu102-zynqmp - zcu104-zynqmp - zcu106-zynqmp - zcu111-zynqmp - zcu1275-zynqmp - zcu1285-zynqmp - zcu208-zynqmp - zcu216-zynqmp 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Disable U-boot SPL boot and kernel device tree by default. User has to set explicitly to use it. 4. Use use soc variant based generic machine inclusion Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf')
-rw-r--r--meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf51
1 files changed, 45 insertions, 6 deletions
diff --git a/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf
index cba83052..5f5856e8 100644
--- a/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf
+++ b/meta-xilinx-bsp/conf/machine/zcu216-zynqmp.conf
@@ -1,11 +1,50 @@
1#@TYPE: Machine 1#@TYPE: Machine
2#@NAME: zcu216-zynqmp 2#@NAME: zcu216-zynqmp
3#@DESCRIPTION: Machine support for ZCU216 Evaluation Board. 3#@DESCRIPTION: Machine configuration for the ZCU216 evaluation board.
4#
5 4
6SOC_VARIANT = "dr" 5#### Preamble
6MACHINEOVERRIDES =. "${@['', 'zcu216-zynqmp:']['zcu216-zynqmp' !='${MACHINE}']}"
7#### Regular settings follow
7 8
8require conf/machine/zynqmp-generic.conf 9# Variables that changes based on hw design or board specific requirement must be
10# defined before calling the required inclusion file else pre-expansion value
11# defined in zynqmp-generic.conf will be set.
9 12
10# Add board compatibility override 13# Yocto device-tree variables
11MACHINEOVERRIDES .= ":zcu216" 14YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "psu_uart_0"
15YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "PSU_DDR_0"
16YAML_DT_BOARD_FLAGS ?= "{BOARD zcu216-reva}"
17
18# Yocto arm-trusted-firmware(TF-A) variables
19ATF_CONSOLE_DEFAULT ?= "cadence"
20TFA_BL33_LOAD ?= "0x8000000"
21
22# Yocto PMUFW variables
23YAML_SERIAL_CONSOLE_STDIN:pn-pmu-firmware ?= "psu_uart_0"
24YAML_SERIAL_CONSOLE_STDOUT:pn-pmu-firmware ?= "psu_uart_0"
25
26# Yocto FSBL variables
27YAML_SERIAL_CONSOLE_STDIN:pn-fsbl-firmware ?= "psu_uart_0"
28YAML_SERIAL_CONSOLE_STDOUT:pn-fsbl-firmware ?= "psu_uart_0"
29
30# Yocto KERNEL Variables
31UBOOT_ENTRYPOINT ?= "0x200000"
32UBOOT_LOADADDRESS ?= "0x200000"
33
34# zcu216-zynqmp Serial Console
35SERIAL_CONSOLES ?= "115200;ttyPS0"
36YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
37
38# Required generic machine inclusion
39# ZCU216 board uses ZynqMP DR device hence use soc variant based generic machine
40# inclusion
41require conf/machine/zynqmp-dr-generic.conf
42
43# This eval board machine conf file uses zcu216-zynqmp xsa as reference input.
44# User can override with zcu216 custom xsa using HDF_BASE and HDF_PATH variables
45# from local.conf.
46HDF_MACHINE = "zcu216-zynqmp"
47
48#### No additional settings should be after the Postamble
49#### Postamble
50PACKAGE_EXTRA_ARCHS:append = "${@['', 'zcu216_zynqmp']['zcu216-zynqmp' != '${MACHINE}']}"