diff options
author | Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> | 2020-03-05 15:58:34 +0530 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-06 11:06:56 -0800 |
commit | 5a2dfa7bb09077c27ea4391b41b343440fa6f084 (patch) | |
tree | eae5b1585ac5d768a91a7a61e208a71a9e1ff3ef | |
parent | 43dc7d3eb382eb04b724f40b716f1d48a3253783 (diff) | |
download | meta-xilinx-5a2dfa7bb09077c27ea4391b41b343440fa6f084.tar.gz |
meta-xilinx-standalone: Add support for versal cortexr5 processor
This patch updates the COMPATIBLE_MACHINE and DTBFILE
variables to compile esw use cases for cortexr5 processor
on versal platform.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r-- | meta-xilinx-standalone/classes/esw.bbclass | 2 | ||||
-rw-r--r-- | meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/classes/esw.bbclass b/meta-xilinx-standalone/classes/esw.bbclass index f99dbdd5..1a6f24c4 100644 --- a/meta-xilinx-standalone/classes/esw.bbclass +++ b/meta-xilinx-standalone/classes/esw.bbclass | |||
@@ -31,6 +31,7 @@ COMPATIBLE_HOST_cortexa53-zynqmp = "aarch64.*-elf" | |||
31 | COMPATIBLE_MACHINE_cortexa53-zynqmp = "cortexa53-zynqmp" | 31 | COMPATIBLE_MACHINE_cortexa53-zynqmp = "cortexa53-zynqmp" |
32 | 32 | ||
33 | COMPATIBLE_MACHINE_cortexr5-zynqmp = "cortexr5-zynqmp" | 33 | COMPATIBLE_MACHINE_cortexr5-zynqmp = "cortexr5-zynqmp" |
34 | COMPATIBLE_MACHINE_cortexr5-versal = "cortexr5-versal" | ||
34 | 35 | ||
35 | COMPATIBLE_HOST_cortexa72-versal = "aarch64.*-elf" | 36 | COMPATIBLE_HOST_cortexa72-versal = "aarch64.*-elf" |
36 | COMPATIBLE_MACHINE_cortexa72-versal = "cortexa72-versal" | 37 | COMPATIBLE_MACHINE_cortexa72-versal = "cortexa72-versal" |
@@ -43,6 +44,7 @@ DTBFILE_microblaze-plm ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | |||
43 | DTBFILE_cortexa53-zynqmp ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | 44 | DTBFILE_cortexa53-zynqmp ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" |
44 | DTBFILE_cortexr5-zynqmp ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | 45 | DTBFILE_cortexr5-zynqmp ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" |
45 | DTBFILE_cortexa72-versal ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | 46 | DTBFILE_cortexa72-versal ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" |
47 | DTBFILE_cortexr5-versal ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | ||
46 | 48 | ||
47 | def get_xlnx_cmake_machine(fam, d): | 49 | def get_xlnx_cmake_machine(fam, d): |
48 | if (fam == 'zynqmp'): | 50 | if (fam == 'zynqmp'): |
diff --git a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend index 96726933..abc96dd6 100644 --- a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend +++ b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend | |||
@@ -5,12 +5,14 @@ COMPATIBLE_MACHINE_cortexr5-zynqmp = ".*" | |||
5 | COMPATIBLE_MACHINE_microblaze-pmu = ".*" | 5 | COMPATIBLE_MACHINE_microblaze-pmu = ".*" |
6 | COMPATIBLE_MACHINE_microblaze-plm = ".*" | 6 | COMPATIBLE_MACHINE_microblaze-plm = ".*" |
7 | COMPATIBLE_MACHINE_cortexa72-versal = ".*" | 7 | COMPATIBLE_MACHINE_cortexa72-versal = ".*" |
8 | COMPATIBLE_MACHINE_cortexr5-versal = ".*" | ||
8 | 9 | ||
9 | XSCTH_PROC_cortexa53-zynqmp ??= "psu_cortexa53_0" | 10 | XSCTH_PROC_cortexa53-zynqmp ??= "psu_cortexa53_0" |
10 | XSCTH_PROC_cortexr5-zynqmp ??= "psu_cortexr5_0" | 11 | XSCTH_PROC_cortexr5-zynqmp ??= "psu_cortexr5_0" |
11 | XSCTH_PROC_microblaze-pmu ??= "psu_pmu_0" | 12 | XSCTH_PROC_microblaze-pmu ??= "psu_pmu_0" |
12 | XSCTH_PROC_cortexa72-versal ??= "psv_cortexa72_0" | 13 | XSCTH_PROC_cortexa72-versal ??= "psv_cortexa72_0" |
13 | XSCTH_PROC_microblaze-plm ??= "psv_pmc_0" | 14 | XSCTH_PROC_microblaze-plm ??= "psv_pmc_0" |
15 | XSCTH_PROC_cortexr5-versal ??= "psv_cortexr5_0" | ||
14 | 16 | ||
15 | # Enable @ flag on dtc which is required by libxil | 17 | # Enable @ flag on dtc which is required by libxil |
16 | DTC_FLAGS_append_xilinx-standalone = " -@" | 18 | DTC_FLAGS_append_xilinx-standalone = " -@" |