summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2022-12-24 22:00:05 -0700
committerMark Hatle <mark.hatle@amd.com>2023-01-06 10:58:21 -0800
commit6958ffed42b2d5b1d4bb8b342eeacde1ff5bfa49 (patch)
tree6de35f880652690262dfdfdc9272a90d89794b57 /meta-xilinx-bsp/conf/machine
parente2a03c4c7a6405d8f8742e250a9741374c0b1beb (diff)
downloadmeta-xilinx-6958ffed42b2d5b1d4bb8b342eeacde1ff5bfa49.tar.gz
vek280-versal: Update machine conf file
1. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 2. Remove duplicate entries of variables as it is already set in versal-generic.conf file. 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')
-rw-r--r--meta-xilinx-bsp/conf/machine/vek280-versal.conf32
1 files changed, 12 insertions, 20 deletions
diff --git a/meta-xilinx-bsp/conf/machine/vek280-versal.conf b/meta-xilinx-bsp/conf/machine/vek280-versal.conf
index e2dec9c2..b533b833 100644
--- a/meta-xilinx-bsp/conf/machine/vek280-versal.conf
+++ b/meta-xilinx-bsp/conf/machine/vek280-versal.conf
@@ -6,38 +6,30 @@
6MACHINEOVERRIDES =. "${@['', 'vek280-versal:']['vek280-versal' !='${MACHINE}']}" 6MACHINEOVERRIDES =. "${@['', 'vek280-versal:']['vek280-versal' !='${MACHINE}']}"
7#### Regular settings follow 7#### Regular settings follow
8 8
9# Required generic machine inclusion 9# Variables that changes based on hw design or board specific requirement must be
10require conf/machine/versal-ai-edge-generic.conf 10# defined before calling the required inclusion file else pre-expansion value
11 11# defined in versal-generic.conf will be set.
12# This machine conf file uses vek280-versal xsa as reference input.
13# User can override with vek280 custom xsa using HDF_BASE and HDF_PATH variables
14# from local.conf.
15HDF_MACHINE = "vek280-versal"
16 12
17# Yocto device-tree variables 13# Yocto device-tree variables
18YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "CIPS_0_pspmc_0_psv_sbsauart_0" 14YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
19DT_PADDING_SIZE:pn-device-tree ?= "0x1000"
20DTC_FLAGS:pn-device-tree ?= "-@"
21YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vek280-reva}" 15YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vek280-reva}"
22 16
23# Yocto arm-trusted-firmware(TF-A) variables
24ATF_CONSOLE ?= "pl011"
25TFA_BL33_LOAD ?= "0x8000000"
26EXTRA_OEMAKE:append:pn-arm-trusted-firmware = " PRELOADED_BL33_BASE=${TFA_BL33_LOAD}"
27
28# Yocto PLM variables 17# Yocto PLM variables
29YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0" 18YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
30YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0" 19YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
31 20
32# Yocto KERNEL Variables
33UBOOT_ENTRYPOINT ?= "0x200000"
34UBOOT_LOADADDRESS ?= "0x200000"
35KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
36
37# vek280-versal Serial Console 21# vek280-versal Serial Console
38SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" 22SERIAL_CONSOLES ?= "115200;ttyAMA0"
39YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" 23YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
40 24
25# Required generic machine inclusion
26require conf/machine/versal-ai-edge-generic.conf
27
28# This machine conf file uses vek280-versal xsa as reference input.
29# User can override with vek280 custom xsa using HDF_BASE and HDF_PATH variables
30# from local.conf.
31HDF_MACHINE = "vek280-versal"
32
41#### No additional settings should be after the Postamble 33#### No additional settings should be after the Postamble
42#### Postamble 34#### Postamble
43PACKAGE_EXTRA_ARCHS:append = "${@['', 'vek280_versal']['vek280-versal' != '${MACHINE}']}" \ No newline at end of file 35PACKAGE_EXTRA_ARCHS:append = "${@['', 'vek280_versal']['vek280-versal' != '${MACHINE}']}" \ No newline at end of file