summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-01-12 15:33:00 -0700
committerMark Hatle <mark.hatle@amd.com>2023-04-10 09:03:22 -0700
commit84e209dfca2fd72d8ebc44a4c4a9faba5671d159 (patch)
tree60eb865dcb2e69fbf54764d6727a8d2abbb2a5f4 /meta-xilinx-bsp/conf
parentcb247b9fcabbab39fb1a146e905f1cc4ffe010e7 (diff)
downloadmeta-xilinx-84e209dfca2fd72d8ebc44a4c4a9faba5671d159.tar.gz
versal: Update machine conf file using gen-machineconf tool
1. Update below versal eval board machine conf file using gen-machineconf tool by parsing respective xsa. - vck190-versal - vck5000-versal - vmk180-versal 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. 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')
-rw-r--r--meta-xilinx-bsp/conf/machine/vck190-versal.conf51
-rw-r--r--meta-xilinx-bsp/conf/machine/vck5000-versal.conf49
-rw-r--r--meta-xilinx-bsp/conf/machine/vmk180-versal.conf49
3 files changed, 133 insertions, 16 deletions
diff --git a/meta-xilinx-bsp/conf/machine/vck190-versal.conf b/meta-xilinx-bsp/conf/machine/vck190-versal.conf
index 1ebaa889..76b3cf1d 100644
--- a/meta-xilinx-bsp/conf/machine/vck190-versal.conf
+++ b/meta-xilinx-bsp/conf/machine/vck190-versal.conf
@@ -1,10 +1,49 @@
1#@TYPE: Machine 1#@TYPE: Machine
2#@NAME: vck-versal 2#@NAME: vck190-versal
3##@DESCRIPTION: Machine support for vck-versal . 3#@DESCRIPTION: Machine configuration for the VCK190 evaluation board.
4 4
5SOC_VARIANT = "ai-core" 5# Compatibility with old BOARD value.
6# TODO - Remove these once removed from petalinux bsp
7MACHINEOVERRIDES =. "vck190:"
6 8
7require conf/machine/versal-generic.conf 9#### Preamble
10MACHINEOVERRIDES =. "${@['', 'vck190-versal:']['vck190-versal' !='${MACHINE}']}"
11#### Regular settings follow
8 12
9# Add board compatibility override 13# Variables that changes based on hw design or board specific requirement must be
10MACHINEOVERRIDES .= ":vck190" 14# defined before calling the required inclusion file else pre-expansion value
15# defined in versal-generic.conf will be set.
16
17# Yocto device-tree variables
18YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
19YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vck190-reva-x-ebm-01-reva}"
20
21# Yocto arm-trusted-firmware(TF-A) variables
22ATF_CONSOLE_DEFAULT ?= "pl011"
23TFA_BL33_LOAD ?= "0x8000000"
24
25# Yocto PLM variables
26YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
27YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
28
29# Yocto KERNEL Variables
30UBOOT_ENTRYPOINT ?= "0x200000"
31UBOOT_LOADADDRESS ?= "0x200000"
32
33# vck190-versal Serial Console
34SERIAL_CONSOLES ?= "115200;ttyAMA0"
35YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
36
37# Required generic machine inclusion
38# VCK190 board uses Versal AI Core device hence use soc variant based generic
39# machine inclusion
40require conf/machine/versal-ai-core-generic.conf
41
42# This machine conf file uses vck190-versal xsa as reference input.
43# User can override with vck190 custom xsa using HDF_BASE and HDF_PATH variables
44# from local.conf.
45HDF_MACHINE = "vck190-versal"
46
47#### No additional settings should be after the Postamble
48#### Postamble
49PACKAGE_EXTRA_ARCHS:append = "${@['', 'vck190_versal']['vck190-versal' != '${MACHINE}']}"
diff --git a/meta-xilinx-bsp/conf/machine/vck5000-versal.conf b/meta-xilinx-bsp/conf/machine/vck5000-versal.conf
index 52d0ffc5..a80788cc 100644
--- a/meta-xilinx-bsp/conf/machine/vck5000-versal.conf
+++ b/meta-xilinx-bsp/conf/machine/vck5000-versal.conf
@@ -1,10 +1,49 @@
1#@TYPE: Machine 1#@TYPE: Machine
2#@NAME: vck500-versal 2#@NAME: vck500-versal
3##@DESCRIPTION: Machine support for vck5000 versal. 3#@DESCRIPTION: Machine configuration for the VCK5000 evaluation board.
4 4
5SOC_VARIANT = "ai-core" 5# Compatibility with old BOARD value.
6# TODO - Remove these once removed from petalinux bsp
7MACHINEOVERRIDES =. "vck5000:"
6 8
7require conf/machine/versal-generic.conf 9#### Preamble
10MACHINEOVERRIDES =. "${@['', 'vck5000-versal:']['vck5000-versal' !='${MACHINE}']}"
11#### Regular settings follow
8 12
9# Add board compatibility override 13# Variables that changes based on hw design or board specific requirement must be
10MACHINEOVERRIDES .= ":vck5000" 14# defined before calling the required inclusion file else pre-expansion value
15# defined in versal-generic.conf will be set.
16
17# Yocto device-tree variables
18YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
19YAML_DT_BOARD_FLAGS ?= "{BOARD template}"
20
21# Yocto arm-trusted-firmware(TF-A) variables
22ATF_CONSOLE_DEFAULT ?= "pl011"
23TFA_BL33_LOAD ?= "0x8000000"
24
25# Yocto PLM variables
26YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
27YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
28
29# Yocto KERNEL Variables
30UBOOT_ENTRYPOINT ?= "0x200000"
31UBOOT_LOADADDRESS ?= "0x200000"
32
33# vck5000-versal Serial Console
34SERIAL_CONSOLES ?= "115200;ttyAMA0"
35YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
36
37# Required generic machine inclusion
38# VCK5000 board uses Versal AI Core device hence use soc variant based generic
39# machine inclusion
40require conf/machine/versal-ai-core-generic.conf
41
42# This machine conf file uses vck5000-versal xsa as reference input.
43# User can override with vck5000 custom xsa using HDF_BASE and HDF_PATH variables
44# from local.conf.
45HDF_MACHINE = "vck5000-versal"
46
47#### No additional settings should be after the Postamble
48#### Postamble
49PACKAGE_EXTRA_ARCHS:append = "${@['', 'vck5000_versal']['vck5000-versal' != '${MACHINE}']}"
diff --git a/meta-xilinx-bsp/conf/machine/vmk180-versal.conf b/meta-xilinx-bsp/conf/machine/vmk180-versal.conf
index 29cafa01..077bf0a2 100644
--- a/meta-xilinx-bsp/conf/machine/vmk180-versal.conf
+++ b/meta-xilinx-bsp/conf/machine/vmk180-versal.conf
@@ -1,10 +1,49 @@
1#@TYPE: Machine 1#@TYPE: Machine
2#@NAME: vmk180-versal 2#@NAME: vmk180-versal
3##@DESCRIPTION: Machine support for vmk180-versal . 3#@DESCRIPTION: Machine configuration for the VMK180 evaluation board.
4 4
5SOC_VARIANT = "prime" 5# Compatibility with old BOARD value.
6# TODO - Remove these once removed from petalinux bsp
7MACHINEOVERRIDES =. "vmk180:"
6 8
7require conf/machine/versal-generic.conf 9#### Preamble
10MACHINEOVERRIDES =. "${@['', 'vmk180-versal:']['vmk180-versal' !='${MACHINE}']}"
11#### Regular settings follow
8 12
9# Add board compatibility override 13# Variables that changes based on hw design or board specific requirement must be
10MACHINEOVERRIDES .= ":vmk180" 14# defined before calling the required inclusion file else pre-expansion value
15# defined in versal-generic.conf will be set.
16
17# Yocto device-tree variables
18YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
19YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vmk180-reva-x-ebm-01-reva}"
20
21# Yocto arm-trusted-firmware(TF-A) variables
22ATF_CONSOLE_DEFAULT ?= "pl011"
23TFA_BL33_LOAD ?= "0x8000000"
24
25# Yocto PLM variables
26YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
27YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
28
29# Yocto KERNEL Variables
30UBOOT_ENTRYPOINT ?= "0x200000"
31UBOOT_LOADADDRESS ?= "0x200000"
32
33# vmk180-versal Serial Console
34SERIAL_CONSOLES ?= "115200;ttyAMA0"
35YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
36
37# Required generic machine inclusion
38# VMK180 board uses Versal Prime device hence use soc variant based generic
39# machine inclusion
40require conf/machine/versal-prime-generic.conf
41
42# This machine conf file uses vmk180-versal xsa as reference input.
43# User can override with vmk180 custom xsa using HDF_BASE and HDF_PATH variables
44# from local.conf.
45HDF_MACHINE = "vmk180-versal"
46
47#### No additional settings should be after the Postamble
48#### Postamble
49PACKAGE_EXTRA_ARCHS:append = "${@['', 'vmk180_versal']['vmk180-versal' != '${MACHINE}']}"