diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-09-19 17:16:12 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-09-20 10:53:42 -0600 |
commit | c0e25710a7c4e7cbcb0dba2f0b01b1b977d02030 (patch) | |
tree | b0be24dbac4539f47402493d3530636f14e0aee0 /meta-xilinx-core/conf | |
parent | b86a9195b39e0e93dd723de8a02717a4273c07c2 (diff) | |
download | meta-xilinx-c0e25710a7c4e7cbcb0dba2f0b01b1b977d02030.tar.gz |
meta-xilinx-core: Add common/superset machines
Add various "superset" machines. These machines can be used to generated a
binary distribution for a collection of machines.
These differ from the generic machines, as they have full CPU optimization
(DEFAULTTUNE) for the SoC, as well as the common MACHINE_FEATURES for a
collection of chips.
The MACHINE_FEATURES specified may not work on all chips, but will not cause
an incompatibility.
The common machines are:
Machine | SoC | DEFAULTTUNE | MACHINE_FEATURES
-------------------+------------+------------------+-----------------
zynq-common | Zynq7 | cortexa9thf-neon | (none)
zynqmp-common | ZynqMP | cortexa53 | vcu rfsoc
zynqmp-mali-common | ZynqMP | cortexa53 | mali400 vcu
versal-common | Versal | cortexa72 | aie vdu
versal-net-common | Versal-Net | cortexa78 | (none)
The mali400 option itself is not mutually exclusive from non, however the
default configuration of many systems also enabled libmali. libmali
inclusion WILL create a system that is incompatible with mesa.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/conf')
-rw-r--r-- | meta-xilinx-core/conf/machine/versal-common.conf | 17 | ||||
-rw-r--r-- | meta-xilinx-core/conf/machine/versal-net-common.conf | 15 | ||||
-rw-r--r-- | meta-xilinx-core/conf/machine/zynq-common.conf | 15 | ||||
-rw-r--r-- | meta-xilinx-core/conf/machine/zynqmp-common.conf | 17 | ||||
-rw-r--r-- | meta-xilinx-core/conf/machine/zynqmp-mali-common.conf | 17 |
5 files changed, 81 insertions, 0 deletions
diff --git a/meta-xilinx-core/conf/machine/versal-common.conf b/meta-xilinx-core/conf/machine/versal-common.conf new file mode 100644 index 00000000..bc530d63 --- /dev/null +++ b/meta-xilinx-core/conf/machine/versal-common.conf | |||
@@ -0,0 +1,17 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: versal-common | ||
3 | #@DESCRIPTION: Machine configuration for a common Versal filesystem devices | ||
4 | |||
5 | #### Preamble | ||
6 | MACHINEOVERRIDES =. "${@['', 'versal-common:']['versal-common' != '${MACHINE}']}" | ||
7 | #### Regular settings follow | ||
8 | |||
9 | DEFAULTTUNE = "cortexa72" | ||
10 | |||
11 | require conf/machine/versal-generic.conf | ||
12 | |||
13 | MACHINE_FEATURES += "aie vdu" | ||
14 | |||
15 | #### No additional settings should be after the Postamble | ||
16 | #### Postamble | ||
17 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' versal_common']['versal-common' != "${MACHINE}"]}" | ||
diff --git a/meta-xilinx-core/conf/machine/versal-net-common.conf b/meta-xilinx-core/conf/machine/versal-net-common.conf new file mode 100644 index 00000000..efde0bbb --- /dev/null +++ b/meta-xilinx-core/conf/machine/versal-net-common.conf | |||
@@ -0,0 +1,15 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: versal-net-common | ||
3 | #@DESCRIPTION: Machine configuration for a common versal-net filesystem devices | ||
4 | |||
5 | #### Preamble | ||
6 | MACHINEOVERRIDES =. "${@['', 'versal-net-common:']['versal-net-common' != '${MACHINE}']}" | ||
7 | #### Regular settings follow | ||
8 | |||
9 | DEFAULTTUNE = "cortexa78" | ||
10 | |||
11 | require conf/machine/versal-net-generic.conf | ||
12 | |||
13 | #### No additional settings should be after the Postamble | ||
14 | #### Postamble | ||
15 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' versal_net_common']['versal-net-common' != "${MACHINE}"]}" | ||
diff --git a/meta-xilinx-core/conf/machine/zynq-common.conf b/meta-xilinx-core/conf/machine/zynq-common.conf new file mode 100644 index 00000000..f54b6e5b --- /dev/null +++ b/meta-xilinx-core/conf/machine/zynq-common.conf | |||
@@ -0,0 +1,15 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: zynq-common | ||
3 | #@DESCRIPTION: Machine configuration for a common Zynq7 filesystem devices | ||
4 | |||
5 | #### Preamble | ||
6 | MACHINEOVERRIDES =. "${@['', 'zynq-common:']['zynq-common' != '${MACHINE}']}" | ||
7 | #### Regular settings follow | ||
8 | |||
9 | DEFAULTTUNE = "cortexa9thf-neon" | ||
10 | |||
11 | require conf/machine/zynq-generic.conf | ||
12 | |||
13 | #### No additional settings should be after the Postamble | ||
14 | #### Postamble | ||
15 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' zynq_common']['zynq-common' != "${MACHINE}"]}" | ||
diff --git a/meta-xilinx-core/conf/machine/zynqmp-common.conf b/meta-xilinx-core/conf/machine/zynqmp-common.conf new file mode 100644 index 00000000..e2e112f9 --- /dev/null +++ b/meta-xilinx-core/conf/machine/zynqmp-common.conf | |||
@@ -0,0 +1,17 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: zynqmp-common | ||
3 | #@DESCRIPTION: Machine configuration for a common ZynqMP (MPSOC) filesystem devices w/o mali400 | ||
4 | |||
5 | #### Preamble | ||
6 | MACHINEOVERRIDES =. "${@['', 'zynqmp-common:']['zynqmp-common' != '${MACHINE}']}" | ||
7 | #### Regular settings follow | ||
8 | |||
9 | DEFAULTTUNE = "cortexa53" | ||
10 | |||
11 | require conf/machine/zynqmp-generic.conf | ||
12 | |||
13 | MACHINE_FEATURES += "vcu rfsoc" | ||
14 | |||
15 | #### No additional settings should be after the Postamble | ||
16 | #### Postamble | ||
17 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' zynqmp_common']['zynqmp-common' != "${MACHINE}"]}" | ||
diff --git a/meta-xilinx-core/conf/machine/zynqmp-mali-common.conf b/meta-xilinx-core/conf/machine/zynqmp-mali-common.conf new file mode 100644 index 00000000..7b5dc68c --- /dev/null +++ b/meta-xilinx-core/conf/machine/zynqmp-mali-common.conf | |||
@@ -0,0 +1,17 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: zynqmp-mali-common | ||
3 | #@DESCRIPTION: Machine configuration for a common ZynqMP (MPSOC) filesystem devices w/ mali400 | ||
4 | |||
5 | #### Preamble | ||
6 | MACHINEOVERRIDES =. "${@['', 'zynqmp-mali-common:']['zynqmp-mali-common' != '${MACHINE}']}" | ||
7 | #### Regular settings follow | ||
8 | |||
9 | DEFAULTTUNE = "cortexa53" | ||
10 | |||
11 | require conf/machine/zynqmp-generic.conf | ||
12 | |||
13 | MACHINE_FEATURES += "mali400 vcu" | ||
14 | |||
15 | #### No additional settings should be after the Postamble | ||
16 | #### Postamble | ||
17 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' zynqmp_mali_common']['zynqmp-mali-common' != "${MACHINE}"]}" | ||