diff options
author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2022-12-24 22:00:05 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-01-06 10:58:21 -0800 |
commit | 6958ffed42b2d5b1d4bb8b342eeacde1ff5bfa49 (patch) | |
tree | 6de35f880652690262dfdfdc9272a90d89794b57 /meta-xilinx-bsp/conf/machine | |
parent | e2a03c4c7a6405d8f8742e250a9741374c0b1beb (diff) | |
download | meta-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.conf | 32 |
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 @@ | |||
6 | MACHINEOVERRIDES =. "${@['', 'vek280-versal:']['vek280-versal' !='${MACHINE}']}" | 6 | MACHINEOVERRIDES =. "${@['', '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 |
10 | require 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. | ||
15 | HDF_MACHINE = "vek280-versal" | ||
16 | 12 | ||
17 | # Yocto device-tree variables | 13 | # Yocto device-tree variables |
18 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "CIPS_0_pspmc_0_psv_sbsauart_0" | 14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "CIPS_0_pspmc_0_psv_sbsauart_0" |
19 | DT_PADDING_SIZE:pn-device-tree ?= "0x1000" | ||
20 | DTC_FLAGS:pn-device-tree ?= "-@" | ||
21 | YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vek280-reva}" | 15 | YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vek280-reva}" |
22 | 16 | ||
23 | # Yocto arm-trusted-firmware(TF-A) variables | ||
24 | ATF_CONSOLE ?= "pl011" | ||
25 | TFA_BL33_LOAD ?= "0x8000000" | ||
26 | EXTRA_OEMAKE:append:pn-arm-trusted-firmware = " PRELOADED_BL33_BASE=${TFA_BL33_LOAD}" | ||
27 | |||
28 | # Yocto PLM variables | 17 | # Yocto PLM variables |
29 | YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0" | 18 | YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0" |
30 | YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0" | 19 | YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0" |
31 | 20 | ||
32 | # Yocto KERNEL Variables | ||
33 | UBOOT_ENTRYPOINT ?= "0x200000" | ||
34 | UBOOT_LOADADDRESS ?= "0x200000" | ||
35 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | ||
36 | |||
37 | # vek280-versal Serial Console | 21 | # vek280-versal Serial Console |
38 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | 22 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
39 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | 23 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" |
40 | 24 | ||
25 | # Required generic machine inclusion | ||
26 | require 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. | ||
31 | HDF_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 |
43 | PACKAGE_EXTRA_ARCHS:append = "${@['', 'vek280_versal']['vek280-versal' != '${MACHINE}']}" \ No newline at end of file | 35 | PACKAGE_EXTRA_ARCHS:append = "${@['', 'vek280_versal']['vek280-versal' != '${MACHINE}']}" \ No newline at end of file |