diff options
| author | Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> | 2022-12-28 18:21:32 +0530 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-01-06 10:58:21 -0800 |
| commit | 318ab6bc335452b299e4c667da3ed9b562dc8fd3 (patch) | |
| tree | cfc53c1e4cf5b799e54c1ce94f5dba2573d1a18a | |
| parent | e63387e14d790bb13366337a89294e999630731c (diff) | |
| download | meta-xilinx-318ab6bc335452b299e4c667da3ed9b562dc8fd3.tar.gz | |
meta-xilinx-standalone-experimental: Update machine name checks to inline with latest system device-tree
system device-tree repo (DTG++) has updated the processor label names
to inline with xsa ip naming, update the machine checks in the recipes
for the same.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
5 files changed, 6 insertions, 6 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass index 42c9e4ac..b223f8ae 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass | |||
| @@ -47,9 +47,9 @@ def get_xlnx_cmake_machine(fam, d): | |||
| 47 | def get_xlnx_cmake_processor(tune, machine, d): | 47 | def get_xlnx_cmake_processor(tune, machine, d): |
| 48 | cmake_processor = tune | 48 | cmake_processor = tune |
| 49 | if tune.startswith('microblaze'): | 49 | if tune.startswith('microblaze'): |
| 50 | if (machine == 'ub1_cpu_pmu'): | 50 | if (machine == 'psu_pmu_0'): |
| 51 | cmake_processor = 'pmu_microblaze' | 51 | cmake_processor = 'pmu_microblaze' |
| 52 | elif (machine == 'ub1_cpu_pmc'): | 52 | elif (machine == 'psv_pmc_0'): |
| 53 | cmake_processor = 'plm_microblaze' | 53 | cmake_processor = 'plm_microblaze' |
| 54 | else: | 54 | else: |
| 55 | cmake_processor = 'microblaze' | 55 | cmake_processor = 'microblaze' |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb index 45ef6688..2d794d68 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb | |||
| @@ -4,7 +4,7 @@ REQUIRED_DISTRO_FEATURES = "sysmonpsv" | |||
| 4 | 4 | ||
| 5 | inherit esw python3native | 5 | inherit esw python3native |
| 6 | 6 | ||
| 7 | DEPENDS += "xilstandalone ${@'scugic' if d.getVar('ESW_MACHINE') != 'ub1_cpu_pmc' and d.getVar('ESW_MACHINE') != 'ub2_cpu_psm' else ''}" | 7 | DEPENDS += "xilstandalone ${@'scugic' if d.getVar('ESW_MACHINE') != 'psv_pmc_0' and d.getVar('ESW_MACHINE') != 'psv_psm_0' else ''}" |
| 8 | 8 | ||
| 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/src/" |
| 10 | ESW_COMPONENT_NAME = "libsysmonpsv.a" | 10 | ESW_COMPONENT_NAME = "libsysmonpsv.a" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb index 90aa5933..47431446 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb | |||
| @@ -3,4 +3,4 @@ inherit esw | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" |
| 4 | ESW_COMPONENT_NAME = "libxilpm.a" | 4 | ESW_COMPONENT_NAME = "libxilpm.a" |
| 5 | 5 | ||
| 6 | DEPENDS = "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'ub1_cpu_pmc' else ''}" | 6 | DEPENDS = "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb index 46a5ae45..81bee095 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb | |||
| @@ -3,4 +3,4 @@ inherit esw | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/src/" |
| 4 | ESW_COMPONENT_NAME = "libxilpuf.a" | 4 | ESW_COMPONENT_NAME = "libxilpuf.a" |
| 5 | 5 | ||
| 6 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'ub1_cpu_pmc' else 'xilmailbox'}" | 6 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb index cb461024..1059d0b3 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb | |||
| @@ -3,4 +3,4 @@ inherit esw | |||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/" |
| 4 | ESW_COMPONENT_NAME = "libxilsecure.a" | 4 | ESW_COMPONENT_NAME = "libxilsecure.a" |
| 5 | 5 | ||
| 6 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'ub1_cpu_pmc' else ''} ${@'xilmailbox' if d.getVar('MACHINE') == 'versal-generic' and d.getVar('ESW_MACHINE') != 'ub1_cpu_pmc' else ''}" | 6 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''} ${@'xilmailbox' if d.getVar('MACHINE') == 'versal-generic' and d.getVar('ESW_MACHINE') != 'psv_pmc_0' else ''}" |
