diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-17 17:41:31 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-17 17:44:09 -0700 |
commit | 6e5f44c4075b68105670cdb3e0dff9421e530e2f (patch) | |
tree | a743cd8b42d2394bda0ea212acd46ad5625732e3 | |
parent | 7fd6e4ec662894123d6148698b048c3a8570203d (diff) | |
download | meta-xilinx-6e5f44c4075b68105670cdb3e0dff9421e530e2f.tar.gz |
Revise COMPATIBLE_MACHINE settings
Change the compatible machine so that everything is compatible with the
esw software. Then select specific recipes that have more precise
compatibility requirements.
The COMPATIBLE_MACHINE is a regex, so we can use this to select zynqmp,
microblaze or other components as necessary.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
6 files changed, 7 insertions, 25 deletions
diff --git a/meta-xilinx-standalone/classes/esw.bbclass b/meta-xilinx-standalone/classes/esw.bbclass index 4a58f705..0748b569 100644 --- a/meta-xilinx-standalone/classes/esw.bbclass +++ b/meta-xilinx-standalone/classes/esw.bbclass | |||
@@ -18,24 +18,6 @@ OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" | |||
18 | 18 | ||
19 | inherit ccmake | 19 | inherit ccmake |
20 | 20 | ||
21 | # TODO | ||
22 | # We need to put these per recipe probably, e.g. pmu on mb, fsbl on a53 | ||
23 | COMPATIBLE_HOST_microblaze-pmu = "microblaze.*-elf" | ||
24 | COMPATIBLE_MACHINE = "^$" | ||
25 | COMPATIBLE_MACHINE_microblaze-pmu = "microblaze-pmu" | ||
26 | |||
27 | COMPATIBLE_HOST_microblaze-plm = "microblaze.*-elf" | ||
28 | COMPATIBLE_MACHINE_microblaze-plm = "microblaze-plm" | ||
29 | |||
30 | COMPATIBLE_HOST_cortexa53-zynqmp = "aarch64.*-elf" | ||
31 | COMPATIBLE_MACHINE_cortexa53-zynqmp = "cortexa53-zynqmp" | ||
32 | |||
33 | COMPATIBLE_MACHINE_cortexr5-zynqmp = "cortexr5-zynqmp" | ||
34 | COMPATIBLE_MACHINE_cortexr5-versal = "cortexr5-versal" | ||
35 | |||
36 | COMPATIBLE_HOST_cortexa72-versal = "aarch64.*-elf" | ||
37 | COMPATIBLE_MACHINE_cortexa72-versal = "cortexa72-versal" | ||
38 | |||
39 | COMPATIBLE_OS = "elf" | 21 | COMPATIBLE_OS = "elf" |
40 | COMPATIBLE_OS_arm = "eabi" | 22 | COMPATIBLE_OS_arm = "eabi" |
41 | 23 | ||
diff --git a/meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb b/meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb index 17dbadbd..19238f97 100644 --- a/meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb +++ b/meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb | |||
@@ -1,5 +1,7 @@ | |||
1 | inherit esw deploy | 1 | inherit esw deploy |
2 | 2 | ||
3 | COMPATIBLE_MACHINE = "microblaze-pmu" | ||
4 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src" | 5 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src" |
4 | 6 | ||
5 | DEPENDS += "xilstandalone xiltimer xilfpga xilskey" | 7 | DEPENDS += "xilstandalone xiltimer xilfpga xilskey" |
diff --git a/meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb b/meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb index 93913c1f..789f51bc 100644 --- a/meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb +++ b/meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb | |||
@@ -1,5 +1,7 @@ | |||
1 | inherit esw deploy | 1 | inherit esw deploy |
2 | 2 | ||
3 | COMPATIBLE_MACHINE = ".*-zynqmp" | ||
4 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_fsbl/src" | 5 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_fsbl/src" |
4 | 6 | ||
5 | DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm device-tree" | 7 | DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm device-tree" |
diff --git a/meta-xilinx-standalone/recipes-standalone/plm/plm_2020.1.bb b/meta-xilinx-standalone/recipes-standalone/plm/plm_2020.1.bb index de37205f..c5a68ef1 100644 --- a/meta-xilinx-standalone/recipes-standalone/plm/plm_2020.1.bb +++ b/meta-xilinx-standalone/recipes-standalone/plm/plm_2020.1.bb | |||
@@ -9,8 +9,7 @@ PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" | |||
9 | SRC_URI = "git://github.com/Xilinx/embeddedsw.git;protocol=https;nobranch=1" | 9 | SRC_URI = "git://github.com/Xilinx/embeddedsw.git;protocol=https;nobranch=1" |
10 | 10 | ||
11 | COMPATIBLE_HOST = "microblaze.*-elf" | 11 | COMPATIBLE_HOST = "microblaze.*-elf" |
12 | COMPATIBLE_MACHINE = "^$" | 12 | COMPATIBLE_MACHINE = "versal-mb" |
13 | COMPATIBLE_MACHINE_versal-mb = "versal-mb" | ||
14 | 13 | ||
15 | 14 | ||
16 | S = "${WORKDIR}/git/lib/sw_apps/versal_plm/src" | 15 | S = "${WORKDIR}/git/lib/sw_apps/versal_plm/src" |
diff --git a/meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb b/meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb index 61a3d2de..3ed9c55a 100644 --- a/meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb +++ b/meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb | |||
@@ -9,9 +9,7 @@ PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" | |||
9 | SRC_URI = "git://github.com/Xilinx/embeddedsw.git;protocol=https;nobranch=1" | 9 | SRC_URI = "git://github.com/Xilinx/embeddedsw.git;protocol=https;nobranch=1" |
10 | 10 | ||
11 | COMPATIBLE_HOST = "microblaze.*-elf" | 11 | COMPATIBLE_HOST = "microblaze.*-elf" |
12 | COMPATIBLE_MACHINE = "^$" | 12 | COMPATIBLE_MACHINE = "microblaze-pmu" |
13 | COMPATIBLE_MACHINE_microblaze-pmu = "microblaze-pmu" | ||
14 | |||
15 | 13 | ||
16 | S = "${WORKDIR}/git/lib/sw_apps/zynqmp_pmufw/src" | 14 | S = "${WORKDIR}/git/lib/sw_apps/zynqmp_pmufw/src" |
17 | 15 | ||
diff --git a/meta-xilinx-standalone/recipes-standalone/psm-firmware/psm-firmware_2020.1.bb b/meta-xilinx-standalone/recipes-standalone/psm-firmware/psm-firmware_2020.1.bb index 7523f9a0..cd346b12 100644 --- a/meta-xilinx-standalone/recipes-standalone/psm-firmware/psm-firmware_2020.1.bb +++ b/meta-xilinx-standalone/recipes-standalone/psm-firmware/psm-firmware_2020.1.bb | |||
@@ -9,8 +9,7 @@ PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" | |||
9 | SRC_URI = "git://github.com/Xilinx/embeddedsw.git;protocol=https;nobranch=1" | 9 | SRC_URI = "git://github.com/Xilinx/embeddedsw.git;protocol=https;nobranch=1" |
10 | 10 | ||
11 | COMPATIBLE_HOST = "microblaze.*-elf" | 11 | COMPATIBLE_HOST = "microblaze.*-elf" |
12 | COMPATIBLE_MACHINE = "^$" | 12 | COMPATIBLE_MACHINE = "versal-mb" |
13 | COMPATIBLE_MACHINE_versal-mb = "versal-mb" | ||
14 | 13 | ||
15 | 14 | ||
16 | S = "${WORKDIR}/git/lib/sw_apps/versal_psmfw/src" | 15 | S = "${WORKDIR}/git/lib/sw_apps/versal_psmfw/src" |