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:02 -0700
committerMark Hatle <mark.hatle@amd.com>2023-04-10 09:03:22 -0700
commitbad212cddf53c814e58249af27616510bbc0c35a (patch)
tree112f40299db82ec1de2589d4167fac61d46048cd /meta-xilinx-bsp/conf
parente053aff1585e91eeefd14df2af7e30a266d2cec5 (diff)
downloadmeta-xilinx-bad212cddf53c814e58249af27616510bbc0c35a.tar.gz
versal: Add new vpk120-versal machine conf file using gen-machineconf tool
1. Add new versal eval board machine conf file using gen-machineconf tool by parsing respective xsa. 2. 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/vpk120-versal.conf48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/vpk120-versal.conf b/meta-xilinx-bsp/conf/machine/vpk120-versal.conf
new file mode 100644
index 00000000..8eb6dea4
--- /dev/null
+++ b/meta-xilinx-bsp/conf/machine/vpk120-versal.conf
@@ -0,0 +1,48 @@
1#@TYPE: Machine
2#@NAME: vpk120-versal
3#@DESCRIPTION: Machine configuration for the VPK120 evaluation board.
4
5#### Preamble
6MACHINEOVERRIDES =. "${@['', 'vpk120-versal:']['vpk120-versal' !='${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 versal-generic.conf will be set.
12
13# Yocto device-tree variables
14YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
15YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vpk120-reva}"
16
17# Yocto arm-trusted-firmware(TF-A) variables
18ATF_CONSOLE_DEFAULT ?= "pl011"
19TFA_BL33_LOAD ?= "0x8000000"
20
21# Yocto PLM variables
22YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
23YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"
24
25# Yocto KERNEL Variables
26UBOOT_ENTRYPOINT ?= "0x200000"
27UBOOT_LOADADDRESS ?= "0x200000"
28
29# vpk120-versal Serial Console
30SERIAL_CONSOLES ?= "115200;ttyAMA0"
31YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
32
33# Required generic machine inclusion
34# VPK120 board uses Versal Premium device hence use soc variant based generic
35# machine inclusion
36require conf/machine/versal-premium-generic.conf
37
38# This machine conf file uses vpk120-versal xsa as reference input.
39# User can override with vpk120 custom xsa using HDF_BASE and HDF_PATH variables
40# from local.conf.
41HDF_MACHINE = "vpk120-versal"
42
43QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vpk120.dtb"
44QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmc-virt.dtb"
45
46#### No additional settings should be after the Postamble
47#### Postamble
48PACKAGE_EXTRA_ARCHS:append = "${@['', 'vpk120_versal']['vpk120-versal' != '${MACHINE}']}"