diff options
-rw-r--r-- | meta-xilinx-bsp/conf/machine/vck5000-versal.conf | 49 | ||||
-rw-r--r-- | meta-xilinx-bsp/conf/machine/vhk158-versal.conf | 52 | ||||
-rw-r--r-- | meta-xilinx-bsp/conf/machine/zcu670-zynqmp.conf | 50 |
3 files changed, 151 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/vck5000-versal.conf b/meta-xilinx-bsp/conf/machine/vck5000-versal.conf new file mode 100644 index 00000000..a80788cc --- /dev/null +++ b/meta-xilinx-bsp/conf/machine/vck5000-versal.conf | |||
@@ -0,0 +1,49 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: vck500-versal | ||
3 | #@DESCRIPTION: Machine configuration for the VCK5000 evaluation board. | ||
4 | |||
5 | # Compatibility with old BOARD value. | ||
6 | # TODO - Remove these once removed from petalinux bsp | ||
7 | MACHINEOVERRIDES =. "vck5000:" | ||
8 | |||
9 | #### Preamble | ||
10 | MACHINEOVERRIDES =. "${@['', 'vck5000-versal:']['vck5000-versal' !='${MACHINE}']}" | ||
11 | #### Regular settings follow | ||
12 | |||
13 | # Variables that changes based on hw design or board specific requirement must be | ||
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 | ||
18 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
19 | YAML_DT_BOARD_FLAGS ?= "{BOARD template}" | ||
20 | |||
21 | # Yocto arm-trusted-firmware(TF-A) variables | ||
22 | ATF_CONSOLE_DEFAULT ?= "pl011" | ||
23 | TFA_BL33_LOAD ?= "0x8000000" | ||
24 | |||
25 | # Yocto PLM variables | ||
26 | YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
27 | YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
28 | |||
29 | # Yocto KERNEL Variables | ||
30 | UBOOT_ENTRYPOINT ?= "0x200000" | ||
31 | UBOOT_LOADADDRESS ?= "0x200000" | ||
32 | |||
33 | # vck5000-versal Serial Console | ||
34 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | ||
35 | YAML_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 | ||
40 | require 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. | ||
45 | HDF_MACHINE = "vck5000-versal" | ||
46 | |||
47 | #### No additional settings should be after the Postamble | ||
48 | #### Postamble | ||
49 | PACKAGE_EXTRA_ARCHS:append = "${@['', 'vck5000_versal']['vck5000-versal' != '${MACHINE}']}" | ||
diff --git a/meta-xilinx-bsp/conf/machine/vhk158-versal.conf b/meta-xilinx-bsp/conf/machine/vhk158-versal.conf new file mode 100644 index 00000000..5c0406de --- /dev/null +++ b/meta-xilinx-bsp/conf/machine/vhk158-versal.conf | |||
@@ -0,0 +1,52 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: vhk158-versal | ||
3 | #@DESCRIPTION: Machine configuration for the VHK158 evaluation board. | ||
4 | |||
5 | #### Preamble | ||
6 | MACHINEOVERRIDES =. "${@['', 'vhk158-versal:']['vhk158-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 | ||
14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
15 | YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vhk158-reva}" | ||
16 | |||
17 | # Yocto arm-trusted-firmware(TF-A) variables | ||
18 | ATF_CONSOLE_DEFAULT ?= "pl011" | ||
19 | TFA_BL33_LOAD ?= "0x8000000" | ||
20 | |||
21 | # Yocto PLM variables | ||
22 | YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
23 | YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" | ||
24 | |||
25 | # Yocto KERNEL Variables | ||
26 | UBOOT_ENTRYPOINT ?= "0x200000" | ||
27 | UBOOT_LOADADDRESS ?= "0x200000" | ||
28 | |||
29 | # vhk158-versal Serial Console | ||
30 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | ||
31 | YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" | ||
32 | |||
33 | # Required generic machine inclusion | ||
34 | # VHK158 board uses Versal HBM device hence use soc variant based generic | ||
35 | # machine inclusion | ||
36 | require conf/machine/versal-hbm-generic.conf | ||
37 | |||
38 | # This machine conf file uses vhk158-versal xsa as reference input. | ||
39 | # User can override with vhk158 custom xsa using HDF_BASE and HDF_PATH variables | ||
40 | # from local.conf. | ||
41 | HDF_MACHINE = "vhk158-versal" | ||
42 | |||
43 | # VHK158 has 32GB memory only but default versal-generic has QB_MEM set to 8G, | ||
44 | # Since versal-vhk158-reva.dts has 32GB set, we need set same in QB_MEM | ||
45 | QB_MEM = "-m 32G" | ||
46 | |||
47 | QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vhk158.dtb" | ||
48 | QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmc-virt.dtb" | ||
49 | |||
50 | #### No additional settings should be after the Postamble | ||
51 | #### Postamble | ||
52 | PACKAGE_EXTRA_ARCHS:append = "${@['', 'vhk158_versal']['vhk158-versal' != '${MACHINE}']}" \ No newline at end of file | ||
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 | ||
6 | MACHINEOVERRIDES =. "${@['', '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 | ||
14 | YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "psu_uart_0" | ||
15 | YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "PSU_DDR_0" | ||
16 | YAML_DT_BOARD_FLAGS ?= "{BOARD zcu670-revb}" | ||
17 | |||
18 | # Yocto arm-trusted-firmware(TF-A) variables | ||
19 | ATF_CONSOLE_DEFAULT ?= "cadence" | ||
20 | TFA_BL33_LOAD ?= "0x8000000" | ||
21 | |||
22 | # Yocto PMUFW variables | ||
23 | YAML_SERIAL_CONSOLE_STDIN:pn-pmu-firmware ?= "psu_uart_0" | ||
24 | YAML_SERIAL_CONSOLE_STDOUT:pn-pmu-firmware ?= "psu_uart_0" | ||
25 | |||
26 | # Yocto FSBL variables | ||
27 | YAML_SERIAL_CONSOLE_STDIN:pn-fsbl-firmware ?= "psu_uart_0" | ||
28 | YAML_SERIAL_CONSOLE_STDOUT:pn-fsbl-firmware ?= "psu_uart_0" | ||
29 | |||
30 | # Yocto KERNEL Variables | ||
31 | UBOOT_ENTRYPOINT ?= "0x200000" | ||
32 | UBOOT_LOADADDRESS ?= "0x200000" | ||
33 | |||
34 | # zcu670-zynqmp Serial Console | ||
35 | SERIAL_CONSOLES ?= "115200;ttyPS0" | ||
36 | YAML_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 | ||
41 | require 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. | ||
46 | HDF_MACHINE = "zcu670-zynqmp" | ||
47 | |||
48 | #### No additional settings should be after the Postamble | ||
49 | #### Postamble | ||
50 | PACKAGE_EXTRA_ARCHS:append = "${@['', 'zcu670_zynqmp']['zcu670-zynqmp' != '${MACHINE}']}" | ||