summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine/zcu670-zynqmp.conf
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-01-12 15:33:03 -0700
committerMark Hatle <mark.hatle@amd.com>2023-01-13 23:31:51 -0600
commitd00df7deb81039f2742789a498492d2c214505f5 (patch)
treee5632126728dca9cb48e2574f5c0237da2b10882 /meta-xilinx-bsp/conf/machine/zcu670-zynqmp.conf
parent79096f9ce26b14e69eeef2893d37f4fc1f0fb633 (diff)
downloadmeta-xilinx-d00df7deb81039f2742789a498492d2c214505f5.tar.gz
zcu670-zynqmp: Add new machine conf file using gen-machineconf tool
1. Add new zcu670 eval board machine conf file using gen-machineconf tool by parsing respective xsa. 2. 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/zcu670-zynqmp.conf')
-rw-r--r--meta-xilinx-bsp/conf/machine/zcu670-zynqmp.conf50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/zcu670-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu670-zynqmp.conf
new file mode 100644
index 00000000..6b1dd488
--- /dev/null
+++ b/meta-xilinx-bsp/conf/machine/zcu670-zynqmp.conf
@@ -0,0 +1,50 @@
1#@TYPE: Machine
2#@NAME: zcu670-zynqmp
3#@DESCRIPTION: Machine configuration for the ZCU670 evaluation board.
4
5#### Preamble
6MACHINEOVERRIDES =. "${@['', 'zcu670-zynqmp:']['zcu670-zynqmp' !='${MACHINE}']}"
7#### Regular settings follow
8
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.
12
13# Yocto device-tree variables
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 zcu670-revb}"
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# zcu670-zynqmp Serial Console
35SERIAL_CONSOLES ?= "115200;ttyPS0"
36YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
37
38# Required generic machine inclusion
39# ZCU670 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 zcu670-zynqmp xsa as reference input.
44# User can override with zcu670 custom xsa using HDF_BASE and HDF_PATH variables
45# from local.conf.
46HDF_MACHINE = "zcu670-zynqmp"
47
48#### No additional settings should be after the Postamble
49#### Postamble
50PACKAGE_EXTRA_ARCHS:append = "${@['', 'zcu670_zynqmp']['zcu670-zynqmp' != '${MACHINE}']}"