diff options
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/cortexa72-versal.conf | 2 | ||||
| -rw-r--r-- | meta-xilinx-standalone/classes/esw.bbclass | 6 | ||||
| -rw-r--r-- | meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/conf/machine/cortexa72-versal.conf b/meta-xilinx-bsp/conf/machine/cortexa72-versal.conf index ed93f0cc..7191ac64 100644 --- a/meta-xilinx-bsp/conf/machine/cortexa72-versal.conf +++ b/meta-xilinx-bsp/conf/machine/cortexa72-versal.conf | |||
| @@ -12,6 +12,6 @@ ARMPKGARCH_tune-cortexa72 = "cortexa72" | |||
| 12 | TUNE_FEATURES_tune-cortexa72 = "${TUNE_FEATURES_tune-aarch64} cortexa72" | 12 | TUNE_FEATURES_tune-cortexa72 = "${TUNE_FEATURES_tune-aarch64} cortexa72" |
| 13 | PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64}" | 13 | PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64}" |
| 14 | 14 | ||
| 15 | 15 | SOC_FAMILY = "versal" | |
| 16 | #LANGUAGES_append = ",lto" | 16 | #LANGUAGES_append = ",lto" |
| 17 | 17 | ||
diff --git a/meta-xilinx-standalone/classes/esw.bbclass b/meta-xilinx-standalone/classes/esw.bbclass index f668a11b..03694d42 100644 --- a/meta-xilinx-standalone/classes/esw.bbclass +++ b/meta-xilinx-standalone/classes/esw.bbclass | |||
| @@ -32,9 +32,13 @@ COMPATIBLE_MACHINE_microblaze-plm = "microblaze-plm" | |||
| 32 | COMPATIBLE_HOST_cortexa53-zynqmp = "aarch64.*-elf" | 32 | COMPATIBLE_HOST_cortexa53-zynqmp = "aarch64.*-elf" |
| 33 | COMPATIBLE_MACHINE_cortexa53-zynqmp = "cortexa53-zynqmp" | 33 | COMPATIBLE_MACHINE_cortexa53-zynqmp = "cortexa53-zynqmp" |
| 34 | 34 | ||
| 35 | COMPATIBLE_HOST_cortexa72 = "aarch64.*-elf" | ||
| 36 | COMPATIBLE_MACHINE_cortexa72 = "cortexa72" | ||
| 37 | |||
| 35 | DTBFILE_microblaze-pmu ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | 38 | DTBFILE_microblaze-pmu ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" |
| 36 | DTBFILE_microblaze-plm ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | 39 | DTBFILE_microblaze-plm ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" |
| 37 | DTBFILE_cortexa53-zynqmp ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | 40 | DTBFILE_cortexa53-zynqmp ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" |
| 41 | DTBFILE_cortexa72 ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | ||
| 38 | 42 | ||
| 39 | def get_xlnx_cmake_machine(fam, d): | 43 | def get_xlnx_cmake_machine(fam, d): |
| 40 | if (fam == 'zynqmp'): | 44 | if (fam == 'zynqmp'): |
| @@ -50,6 +54,8 @@ def get_xlnx_cmake_processor(machine, d): | |||
| 50 | cmake_processor = 'cortexa53' | 54 | cmake_processor = 'cortexa53' |
| 51 | elif (machine == 'cortexr5'): | 55 | elif (machine == 'cortexr5'): |
| 52 | cmake_processor = 'cortexar5' | 56 | cmake_processor = 'cortexar5' |
| 57 | elif (machine == 'cortexa72'): | ||
| 58 | cmake_processor = 'cortexa72' | ||
| 53 | elif (machine == 'microblaze-pmu'): | 59 | elif (machine == 'microblaze-pmu'): |
| 54 | cmake_processor = 'pmu_microblaze' | 60 | cmake_processor = 'pmu_microblaze' |
| 55 | elif (machine == 'microblaze-plm'): | 61 | elif (machine == 'microblaze-plm'): |
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 fc98d033..88f89dce 100644 --- a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend +++ b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | COMPATIBLE_MACHINE_cortexa53-zynqmp = ".*" | 1 | COMPATIBLE_MACHINE_cortexa53-zynqmp = ".*" |
| 2 | COMPATIBLE_MACHINE_microblaze-pmu = ".*" | 2 | COMPATIBLE_MACHINE_microblaze-pmu = ".*" |
| 3 | COMPATIBLE_MACHINE_microblaze-plm = ".*" | 3 | COMPATIBLE_MACHINE_microblaze-plm = ".*" |
| 4 | COMPATIBLE_MACHINE_cortexa72 = ".*" | ||
| 4 | 5 | ||
| 5 | 6 | ||
| 6 | REPO = "git://gitenterprise.xilinx.com/decoupling/device-tree-xlnx;protocol=https" | 7 | REPO = "git://gitenterprise.xilinx.com/decoupling/device-tree-xlnx;protocol=https" |
| @@ -12,6 +13,7 @@ SRCREV = "${AUTOREV}" | |||
| 12 | 13 | ||
| 13 | XSCTH_PROC_cortexa53-zynqmp ??= "psu_cortexa53_0" | 14 | XSCTH_PROC_cortexa53-zynqmp ??= "psu_cortexa53_0" |
| 14 | XSCTH_PROC_microblaze-pmu ??= "psu_pmu_0" | 15 | XSCTH_PROC_microblaze-pmu ??= "psu_pmu_0" |
| 16 | XSCTH_PROC_cortexa72 ??= "psv_cortexa72_0" | ||
| 15 | XSCTH_PROC_microblaze-plm ??= "psv_pmc_0" | 17 | XSCTH_PROC_microblaze-plm ??= "psv_pmc_0" |
| 16 | 18 | ||
| 17 | # Enable @ flag on dtc which is required by libxil | 19 | # Enable @ flag on dtc which is required by libxil |
