diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-11-24 09:32:52 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-24 16:55:01 -0700 |
| commit | fc651966ac5add0bd5d4e2612c02368ff715621b (patch) | |
| tree | 9070dd61d789ea083b8ab40fc9c61114d894e25a /meta-xilinx-standalone | |
| parent | d6ba64599f6f84a33d7c106eace03dc0a24ea02f (diff) | |
| download | meta-xilinx-fc651966ac5add0bd5d4e2612c02368ff715621b.tar.gz | |
various: Remove 2022.x versions
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone')
22 files changed, 0 insertions, 569 deletions
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-versal_fw-Fixup-core-makefiles.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-versal_fw-Fixup-core-makefiles.patch deleted file mode 100644 index e49bc259..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-versal_fw-Fixup-core-makefiles.patch +++ /dev/null | |||
| @@ -1,73 +0,0 @@ | |||
| 1 | From 0f117593c792fbe7cfddf7b84e5342b640c2716b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mark Hatle <mark.hatle@xilinx.com> | ||
| 3 | Date: Mon, 13 Sep 2021 14:02:45 -0700 | ||
| 4 | Subject: [PATCH] versal_fw: Fixup core makefiles | ||
| 5 | |||
| 6 | The Yocto Project build environment needs to be able to override a few | ||
| 7 | additional variables that may not be appropriate to do on the regular | ||
| 8 | command line build version. This Yocto Project specific will allow this | ||
| 9 | behavior. | ||
| 10 | |||
| 11 | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> | ||
| 12 | --- | ||
| 13 | lib/sw_apps/versal_plm/misc/Makefile | 6 ++++-- | ||
| 14 | lib/sw_apps/versal_psmfw/misc/Makefile | 6 ++++-- | ||
| 15 | 2 files changed, 8 insertions(+), 4 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/lib/sw_apps/versal_plm/misc/Makefile b/lib/sw_apps/versal_plm/misc/Makefile | ||
| 18 | index d1be4ffc8e..c7dc1a3dbe 100644 | ||
| 19 | --- a/lib/sw_apps/versal_plm/misc/Makefile | ||
| 20 | +++ b/lib/sw_apps/versal_plm/misc/Makefile | ||
| 21 | @@ -2,6 +2,8 @@ | ||
| 22 | COMPILER := mb-gcc | ||
| 23 | ARCHIVER := mb-gcc-ar | ||
| 24 | ASSEMBLER := mb-as | ||
| 25 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
| 26 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects | ||
| 27 | DRIVER_LIB_VERSION = 1.0 | ||
| 28 | PROCESSOR = psv_pmc_0 | ||
| 29 | LIBRARIES = ${PROCESSOR}/lib/libxil.a | ||
| 30 | @@ -40,11 +42,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
| 31 | |||
| 32 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
| 33 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
| 34 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
| 35 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 36 | |||
| 37 | %/make.libs: include | ||
| 38 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
| 39 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
| 40 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 41 | |||
| 42 | %/make.clean: | ||
| 43 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
| 44 | diff --git a/lib/sw_apps/versal_psmfw/misc/Makefile b/lib/sw_apps/versal_psmfw/misc/Makefile | ||
| 45 | index 02d85e492e..f6386dcbed 100644 | ||
| 46 | --- a/lib/sw_apps/versal_psmfw/misc/Makefile | ||
| 47 | +++ b/lib/sw_apps/versal_psmfw/misc/Makefile | ||
| 48 | @@ -11,6 +11,8 @@ PAR_SUBDIRS := $(patsubst %/Makefile, %, $(BSP_PARALLEL_MAKEFILES)) | ||
| 49 | COMPILER := mb-gcc | ||
| 50 | ARCHIVER := mb-ar | ||
| 51 | ASSEMBLER := mb-as | ||
| 52 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
| 53 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra | ||
| 54 | |||
| 55 | ifneq (,$(findstring win,$(RDI_PLATFORM))) | ||
| 56 | SHELL = CMD | ||
| 57 | @@ -41,11 +43,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
| 58 | |||
| 59 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
| 60 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
| 61 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
| 62 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 63 | |||
| 64 | %/make.libs: include | ||
| 65 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
| 66 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
| 67 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 68 | |||
| 69 | %/make.clean: | ||
| 70 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
| 71 | -- | ||
| 72 | 2.17.1 | ||
| 73 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch deleted file mode 100644 index 61fcf5a9..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | From 3cd9d41953ebfe26d09dae231e7b7a0b3285be8d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jesus De Haro <jesus.de-haro@xilinx.com> | ||
| 3 | Date: Mon, 16 Jan 2023 20:59:06 -0800 | ||
| 4 | Subject: [PATCH] xilpm: versal: Fixed 2023.1 compile error | ||
| 5 | |||
| 6 | Added NULL check for pointer Device before attempting to dereference the pointer. | ||
| 7 | |||
| 8 | Signed-off-by: Jesus De Haro <jesus.de-haro@xilinx.com> | ||
| 9 | Acked-by: Nicole Baze <nicole.baze@xilinx.com> | ||
| 10 | (cherry picked from commit 2601b201e95ea0edab89342ee7137c74e88a8a79) | ||
| 11 | |||
| 12 | Backported to 2022.1 | ||
| 13 | |||
| 14 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
| 15 | --- | ||
| 16 | lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | 7 ++++++- | ||
| 17 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c b/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
| 20 | index 13410f2224..f4743cc2a9 100644 | ||
| 21 | --- a/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
| 22 | +++ b/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
| 23 | @@ -1,5 +1,6 @@ | ||
| 24 | /****************************************************************************** | ||
| 25 | * Copyright (c) 2018 - 2020 Xilinx, Inc. All rights reserved. | ||
| 26 | +* Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved. | ||
| 27 | * SPDX-License-Identifier: MIT | ||
| 28 | ******************************************************************************/ | ||
| 29 | |||
| 30 | @@ -696,7 +697,11 @@ XStatus XPmDomainIso_Control(u32 IsoIdx, u32 Enable) | ||
| 31 | done: | ||
| 32 | if ((IsoIdx <= (u32)XPM_NODEIDX_ISO_XRAM_PL_FABRIC) && | ||
| 33 | (IsoIdx >= (u32)XPM_NODEIDX_ISO_XRAM_PL_AXI0)) { | ||
| 34 | - XPmPsLpDomain_LockPcsr(Device->Node.BaseAddress); | ||
| 35 | + if(NULL != Device) { | ||
| 36 | + XPmPsLpDomain_LockPcsr(Device->Node.BaseAddress); | ||
| 37 | + } else { | ||
| 38 | + Status = XST_DEVICE_NOT_FOUND; | ||
| 39 | + } | ||
| 40 | } | ||
| 41 | |||
| 42 | return Status; | ||
| 43 | -- | ||
| 44 | 2.34.1 | ||
| 45 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/makefile-skip-copy_bsp.sh.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/makefile-skip-copy_bsp.sh.patch deleted file mode 100644 index 5b9cc71b..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.1+git/makefile-skip-copy_bsp.sh.patch +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | Prevent makefile from calling copy_bsp.sh | ||
| 2 | |||
| 3 | If we call copy_bsp.sh we will undo any manual compliation steps we | ||
| 4 | have already done. Avoid this. | ||
| 5 | |||
| 6 | YP integration specific | ||
| 7 | |||
| 8 | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> | ||
| 9 | |||
| 10 | diff --git a/lib/sw_apps/zynqmp_pmufw/src/Makefile b/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
| 11 | index 1750c0a329..17f6a545ea 100644 | ||
| 12 | --- a/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
| 13 | +++ b/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
| 14 | @@ -28,8 +28,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
| 15 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
| 16 | |||
| 17 | $(LIBS): | ||
| 18 | - echo "Copying BSP files" | ||
| 19 | - ../misc/copy_bsp.sh | ||
| 20 | + #echo "Copying BSP files" | ||
| 21 | + #../misc/copy_bsp.sh | ||
| 22 | echo "Compiling bsp" | ||
| 23 | $(MAKE) -C ../misc/zynqmp_pmufw_bsp | ||
| 24 | |||
| 25 | diff --git a/lib/sw_apps/versal_plm/src/Makefile b/lib/sw_apps/versal_plm/src/Makefile | ||
| 26 | index b4536e8584..a8643ecd47 100644 | ||
| 27 | --- a/lib/sw_apps/versal_plm/src/Makefile | ||
| 28 | +++ b/lib/sw_apps/versal_plm/src/Makefile | ||
| 29 | @@ -30,8 +30,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
| 30 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
| 31 | |||
| 32 | $(LIBS): | ||
| 33 | - echo "Copying BSP files" | ||
| 34 | - ../misc/copy_bsp.sh | ||
| 35 | + #echo "Copying BSP files" | ||
| 36 | + #../misc/copy_bsp.sh | ||
| 37 | echo "Compiling bsp" | ||
| 38 | $(MAKE) -C ../misc/versal_plm_bsp | ||
| 39 | |||
| 40 | diff --git a/lib/sw_apps/versal_psmfw/src/Makefile b/lib/sw_apps/versal_psmfw/src/Makefile | ||
| 41 | index fdfee0a092..1ed664114b 100644 | ||
| 42 | --- a/lib/sw_apps/versal_psmfw/src/Makefile | ||
| 43 | +++ b/lib/sw_apps/versal_psmfw/src/Makefile | ||
| 44 | @@ -29,8 +29,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
| 45 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
| 46 | |||
| 47 | $(LIBS): | ||
| 48 | - echo "Copying BSP files" | ||
| 49 | - ../misc/copy_bsp.sh | ||
| 50 | + #echo "Copying BSP files" | ||
| 51 | + #../misc/copy_bsp.sh | ||
| 52 | echo "Compiling bsp" | ||
| 53 | $(MAKE) -C ../misc/versal_psmfw_bsp | ||
| 54 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-versal_fw-Fixup-core-makefiles.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-versal_fw-Fixup-core-makefiles.patch deleted file mode 100644 index d6cb0e38..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-versal_fw-Fixup-core-makefiles.patch +++ /dev/null | |||
| @@ -1,101 +0,0 @@ | |||
| 1 | From 607322dafb2979affd329ea70a2a7952203188a4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mark Hatle <mark.hatle@amd.com> | ||
| 3 | Date: Wed, 7 Dec 2022 15:42:15 -0800 | ||
| 4 | Subject: [PATCH] versal_fw: Fixup core makefiles | ||
| 5 | |||
| 6 | The Yocto Project build environment needs to be able to override a few | ||
| 7 | additional variables that may not be appropriate to do on the regular | ||
| 8 | command line build version. This patch preserves the default while | ||
| 9 | allowing it to be overriden as necessary. | ||
| 10 | |||
| 11 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
| 12 | --- | ||
| 13 | lib/sw_apps/versal_plm/misc/versal/Makefile | 6 ++++-- | ||
| 14 | lib/sw_apps/versal_plm/misc/versal_net/Makefile | 6 ++++-- | ||
| 15 | lib/sw_apps/versal_psmfw/misc/Makefile | 6 ++++-- | ||
| 16 | 3 files changed, 12 insertions(+), 6 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/lib/sw_apps/versal_plm/misc/versal/Makefile b/lib/sw_apps/versal_plm/misc/versal/Makefile | ||
| 19 | index 5c8e719e9c..af070716b6 100644 | ||
| 20 | --- a/lib/sw_apps/versal_plm/misc/versal/Makefile | ||
| 21 | +++ b/lib/sw_apps/versal_plm/misc/versal/Makefile | ||
| 22 | @@ -2,6 +2,8 @@ | ||
| 23 | COMPILER := mb-gcc | ||
| 24 | ARCHIVER := mb-gcc-ar | ||
| 25 | ASSEMBLER := mb-as | ||
| 26 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
| 27 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects | ||
| 28 | DRIVER_LIB_VERSION = 1.0 | ||
| 29 | PROCESSOR = psv_pmc_0 | ||
| 30 | LIBRARIES = ${PROCESSOR}/lib/libxil.a | ||
| 31 | @@ -40,11 +42,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
| 32 | |||
| 33 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
| 34 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
| 35 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
| 36 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 37 | |||
| 38 | %/make.libs: include | ||
| 39 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
| 40 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
| 41 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 42 | |||
| 43 | %/make.clean: | ||
| 44 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
| 45 | diff --git a/lib/sw_apps/versal_plm/misc/versal_net/Makefile b/lib/sw_apps/versal_plm/misc/versal_net/Makefile | ||
| 46 | index abffa6c5ed..4af5a02001 100644 | ||
| 47 | --- a/lib/sw_apps/versal_plm/misc/versal_net/Makefile | ||
| 48 | +++ b/lib/sw_apps/versal_plm/misc/versal_net/Makefile | ||
| 49 | @@ -2,6 +2,8 @@ | ||
| 50 | COMPILER := mb-gcc | ||
| 51 | ARCHIVER := mb-gcc-ar | ||
| 52 | ASSEMBLER := mb-as | ||
| 53 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
| 54 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects | ||
| 55 | DRIVER_LIB_VERSION = 1.0 | ||
| 56 | PROCESSOR = psx_pmc_0 | ||
| 57 | LIBRARIES = ${PROCESSOR}/lib/libxil.a | ||
| 58 | @@ -40,11 +42,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
| 59 | |||
| 60 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
| 61 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
| 62 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
| 63 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 64 | |||
| 65 | %/make.libs: include | ||
| 66 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
| 67 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
| 68 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 69 | |||
| 70 | %/make.clean: | ||
| 71 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
| 72 | diff --git a/lib/sw_apps/versal_psmfw/misc/Makefile b/lib/sw_apps/versal_psmfw/misc/Makefile | ||
| 73 | index 02d85e492e..f6386dcbed 100644 | ||
| 74 | --- a/lib/sw_apps/versal_psmfw/misc/Makefile | ||
| 75 | +++ b/lib/sw_apps/versal_psmfw/misc/Makefile | ||
| 76 | @@ -11,6 +11,8 @@ PAR_SUBDIRS := $(patsubst %/Makefile, %, $(BSP_PARALLEL_MAKEFILES)) | ||
| 77 | COMPILER := mb-gcc | ||
| 78 | ARCHIVER := mb-ar | ||
| 79 | ASSEMBLER := mb-as | ||
| 80 | +COMPILER_FLAGS := -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare | ||
| 81 | +EXTRA_COMPILER_FLAGS := -g -ffunction-sections -fdata-sections -Wall -Wextra | ||
| 82 | |||
| 83 | ifneq (,$(findstring win,$(RDI_PLATFORM))) | ||
| 84 | SHELL = CMD | ||
| 85 | @@ -41,11 +43,11 @@ $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a | ||
| 86 | |||
| 87 | %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,) | ||
| 88 | @echo "Running Make include in $(subst /make.include,,$@)" | ||
| 89 | - $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
| 90 | + $(MAKE) -C $(subst /make.include,,$@) -s include "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 91 | |||
| 92 | %/make.libs: include | ||
| 93 | @echo "Running Make libs in $(subst /make.libs,,$@)" | ||
| 94 | - $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS= -O2 -c -mcpu=v10.0 -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare" "EXTRA_COMPILER_FLAGS=-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
| 95 | + $(MAKE) -C $(subst /make.libs,,$@) -s libs "SHELL=$(SHELL)" "COMPILER=$(COMPILER)" "ASSEMBLER=$(ASSEMBLER)" "ARCHIVER=$(ARCHIVER)" "COMPILER_FLAGS=$(COMPILER_FLAGS)" "EXTRA_COMPILER_FLAGS=$(EXTRA_COMPILER_FLAGS)" | ||
| 96 | |||
| 97 | %/make.clean: | ||
| 98 | $(MAKE) -C $(subst /make.clean,,$@) -s clean | ||
| 99 | -- | ||
| 100 | 2.17.1 | ||
| 101 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch deleted file mode 100644 index 3afa125c..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/0001-xilpm-versal-Fixed-2023.1-compile-error.patch +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | From 2601b201e95ea0edab89342ee7137c74e88a8a79 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jesus De Haro <jesus.de-haro@xilinx.com> | ||
| 3 | Date: Mon, 16 Jan 2023 20:59:06 -0800 | ||
| 4 | Subject: [PATCH] xilpm: versal: Fixed 2023.1 compile error | ||
| 5 | |||
| 6 | Added NULL check for pointer Device before attempting to dereference the pointer. | ||
| 7 | |||
| 8 | Signed-off-by: Jesus De Haro <jesus.de-haro@xilinx.com> | ||
| 9 | Acked-by: Nicole Baze <nicole.baze@xilinx.com> | ||
| 10 | --- | ||
| 11 | lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | 7 ++++++- | ||
| 12 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c b/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
| 15 | index fa571e0552..bd0aa89e12 100644 | ||
| 16 | --- a/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
| 17 | +++ b/lib/sw_services/xilpm/src/versal/server/xpm_domain_iso.c | ||
| 18 | @@ -1,5 +1,6 @@ | ||
| 19 | /****************************************************************************** | ||
| 20 | * Copyright (c) 2018 - 2022 Xilinx, Inc. All rights reserved. | ||
| 21 | +* Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved. | ||
| 22 | * SPDX-License-Identifier: MIT | ||
| 23 | ******************************************************************************/ | ||
| 24 | |||
| 25 | @@ -721,7 +722,11 @@ XStatus XPmDomainIso_Control(u32 IsoIdx, u32 Enable) | ||
| 26 | done: | ||
| 27 | if ((IsoIdx <= (u32)XPM_NODEIDX_ISO_XRAM_PL_FABRIC) && | ||
| 28 | (IsoIdx >= (u32)XPM_NODEIDX_ISO_XRAM_PL_AXI0)) { | ||
| 29 | - XPm_LockPcsr(Device->Node.BaseAddress); | ||
| 30 | + if(NULL != Device) { | ||
| 31 | + XPm_LockPcsr(Device->Node.BaseAddress); | ||
| 32 | + } else { | ||
| 33 | + Status = XST_DEVICE_NOT_FOUND; | ||
| 34 | + } | ||
| 35 | } | ||
| 36 | |||
| 37 | return Status; | ||
| 38 | -- | ||
| 39 | 2.34.1 | ||
| 40 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/makefile-skip-copy_bsp.sh.patch b/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/makefile-skip-copy_bsp.sh.patch deleted file mode 100644 index 1300c7e1..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/embeddedsw/2022.2+git/makefile-skip-copy_bsp.sh.patch +++ /dev/null | |||
| @@ -1,104 +0,0 @@ | |||
| 1 | From d703670357546d9aab66baea1f6751ba1cbdf7ad Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mark Hatle <mark.hatle@amd.com> | ||
| 3 | Date: Wed, 7 Dec 2022 15:30:23 -0800 | ||
| 4 | Subject: [PATCH] Prevent makefile from calling copy_bsp.sh | ||
| 5 | |||
| 6 | If we call copy_bsp.sh we will undo any manual compliation steps we | ||
| 7 | have already done. Avoid this. | ||
| 8 | |||
| 9 | YP integration specific | ||
| 10 | |||
| 11 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
| 12 | --- | ||
| 13 | lib/sw_apps/versal_plm/src/versal/Makefile | 4 ++-- | ||
| 14 | lib/sw_apps/versal_plm/src/versal_net/Makefile | 4 ++-- | ||
| 15 | lib/sw_apps/versal_psmfw/src/versal/Makefile | 4 ++-- | ||
| 16 | lib/sw_apps/versal_psmfw/src/versal_net/Makefile | 6 +++--- | ||
| 17 | lib/sw_apps/zynqmp_pmufw/src/Makefile | 4 ++-- | ||
| 18 | 5 files changed, 11 insertions(+), 11 deletions(-) | ||
| 19 | |||
| 20 | diff --git a/lib/sw_apps/versal_plm/src/versal/Makefile b/lib/sw_apps/versal_plm/src/versal/Makefile | ||
| 21 | index d1ebd1d374..bfb8c83adb 100644 | ||
| 22 | --- a/lib/sw_apps/versal_plm/src/versal/Makefile | ||
| 23 | +++ b/lib/sw_apps/versal_plm/src/versal/Makefile | ||
| 24 | @@ -32,8 +32,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
| 25 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
| 26 | |||
| 27 | $(LIBS): | ||
| 28 | - echo "Copying BSP files" | ||
| 29 | - ../../misc/versal/copy_bsp.sh | ||
| 30 | + #echo "Copying BSP files" | ||
| 31 | + #../../misc/versal/copy_bsp.sh | ||
| 32 | echo "Compiling bsp" | ||
| 33 | $(MAKE) -C ../../misc/versal/versal_plm_bsp | ||
| 34 | |||
| 35 | diff --git a/lib/sw_apps/versal_plm/src/versal_net/Makefile b/lib/sw_apps/versal_plm/src/versal_net/Makefile | ||
| 36 | index 39c7aa38e3..081d8f1b2e 100644 | ||
| 37 | --- a/lib/sw_apps/versal_plm/src/versal_net/Makefile | ||
| 38 | +++ b/lib/sw_apps/versal_plm/src/versal_net/Makefile | ||
| 39 | @@ -32,8 +32,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
| 40 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
| 41 | |||
| 42 | $(LIBS): | ||
| 43 | - echo "Copying BSP files" | ||
| 44 | - ../../misc/versal_net/copy_bsp.sh | ||
| 45 | + #echo "Copying BSP files" | ||
| 46 | + #../../misc/versal_net/copy_bsp.sh | ||
| 47 | echo "Compiling bsp" | ||
| 48 | $(MAKE) -C ../../misc/versal_net/versal_plm_bsp | ||
| 49 | |||
| 50 | diff --git a/lib/sw_apps/versal_psmfw/src/versal/Makefile b/lib/sw_apps/versal_psmfw/src/versal/Makefile | ||
| 51 | index 1572bbbca9..ce182acaa7 100644 | ||
| 52 | --- a/lib/sw_apps/versal_psmfw/src/versal/Makefile | ||
| 53 | +++ b/lib/sw_apps/versal_psmfw/src/versal/Makefile | ||
| 54 | @@ -34,8 +34,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
| 55 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
| 56 | |||
| 57 | $(LIBS): | ||
| 58 | - echo "Copying BSP files" | ||
| 59 | - ../../misc/copy_bsp.sh | ||
| 60 | + #echo "Copying BSP files" | ||
| 61 | + #../../misc/copy_bsp.sh | ||
| 62 | echo "Compiling bsp" | ||
| 63 | $(MAKE) -C ../../misc/versal_psmfw_bsp | ||
| 64 | |||
| 65 | diff --git a/lib/sw_apps/versal_psmfw/src/versal_net/Makefile b/lib/sw_apps/versal_psmfw/src/versal_net/Makefile | ||
| 66 | index a72ffa1de2..3670310daa 100644 | ||
| 67 | --- a/lib/sw_apps/versal_psmfw/src/versal_net/Makefile | ||
| 68 | +++ b/lib/sw_apps/versal_psmfw/src/versal_net/Makefile | ||
| 69 | @@ -34,8 +34,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
| 70 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
| 71 | |||
| 72 | $(LIBS): | ||
| 73 | - echo "Copying BSP files" | ||
| 74 | - ../../misc/versal_net/copy_bsp.sh | ||
| 75 | + #echo "Copying BSP files" | ||
| 76 | + #../../misc/versal_net/copy_bsp.sh | ||
| 77 | echo "Compiling bsp" | ||
| 78 | $(MAKE) -C ../../misc/versal_net/versal_psmfw_bsp | ||
| 79 | |||
| 80 | @@ -44,4 +44,4 @@ $(LIBS): | ||
| 81 | |||
| 82 | clean: | ||
| 83 | rm -rf $(OBJS) $(LIBS) $(EXEC) *.o *.d ../common/*.o ../common/*.d | ||
| 84 | - rm -rf ../../misc/versal_net/versal_psmfw_bsp | ||
| 85 | \ No newline at end of file | ||
| 86 | + rm -rf ../../misc/versal_net/versal_psmfw_bsp | ||
| 87 | diff --git a/lib/sw_apps/zynqmp_pmufw/src/Makefile b/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
| 88 | index 1750c0a329..17f6a545ea 100644 | ||
| 89 | --- a/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
| 90 | +++ b/lib/sw_apps/zynqmp_pmufw/src/Makefile | ||
| 91 | @@ -28,8 +28,8 @@ $(EXEC): $(LIBS) $(OBJS) $(INCLUDES) | ||
| 92 | $(CC) -o $@ $(OBJS) $(CC_FLAGS) $(CFLAGS) $(LN_FLAGS) $(LIBPATH) $(LSCRIPT) | ||
| 93 | |||
| 94 | $(LIBS): | ||
| 95 | - echo "Copying BSP files" | ||
| 96 | - ../misc/copy_bsp.sh | ||
| 97 | + #echo "Copying BSP files" | ||
| 98 | + #../misc/copy_bsp.sh | ||
| 99 | echo "Compiling bsp" | ||
| 100 | $(MAKE) -C ../misc/zynqmp_pmufw_bsp | ||
| 101 | |||
| 102 | -- | ||
| 103 | 2.17.1 | ||
| 104 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1+git-generic.inc deleted file mode 100644 index 42c9581e..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1+git-generic.inc +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | SKIP_MSG = "" | ||
| 2 | SKIP_MSG:zynq = "Generic support for zynq is not available" | ||
| 3 | SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}" | ||
| 4 | |||
| 5 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 6 | |||
| 7 | SRC_URI += " \ | ||
| 8 | file://makefile-skip-copy_bsp.sh.patch \ | ||
| 9 | file://fsbl-fixups.patch \ | ||
| 10 | " | ||
| 11 | |||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1.bb deleted file mode 100644 index 3c57ee8c..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.1.bb +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | require fsbl-firmware.inc | ||
| 2 | require ${@'fsbl-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
| 3 | require ${@'fsbl-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2+git-generic.inc deleted file mode 100644 index 7a0a35da..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2+git-generic.inc +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | SKIP_MSG = "" | ||
| 2 | SKIP_MSG:zynq = "Generic support for zynq is not available" | ||
| 3 | SKIP_RECIPE[fsbl-firmware] = "${SKIP_MSG}" | ||
| 4 | |||
| 5 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 6 | |||
| 7 | SRC_URI += " \ | ||
| 8 | file://makefile-skip-copy_bsp.sh.patch \ | ||
| 9 | file://fsbl-fixups.patch \ | ||
| 10 | " | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2.bb deleted file mode 100644 index 3c57ee8c..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2022.2.bb +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | require fsbl-firmware.inc | ||
| 2 | require ${@'fsbl-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
| 3 | require ${@'fsbl-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1+git-generic.inc deleted file mode 100644 index e91ea607..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1+git-generic.inc +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 2 | |||
| 3 | SRC_URI += " \ | ||
| 4 | file://makefile-skip-copy_bsp.sh.patch \ | ||
| 5 | file://0001-versal_fw-Fixup-core-makefiles.patch \ | ||
| 6 | file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \ | ||
| 7 | " | ||
| 8 | |||
| 9 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
| 10 | |||
| 11 | do_compile() { | ||
| 12 | oe_runmake | ||
| 13 | |||
| 14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
| 15 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1.bb deleted file mode 100644 index d945aa26..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.1.bb +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | require plm-firmware.inc | ||
| 2 | require ${@'plm-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
| 3 | require ${@'plm-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2+git-generic.inc deleted file mode 100644 index d4d91baf..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2+git-generic.inc +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | # Separate build directories for versal and versal-net | ||
| 2 | SOC_DIR = "versal" | ||
| 3 | SOC_DIR:versal-net = "versal_net" | ||
| 4 | B = "${S}/lib/sw_apps/versal_plm/src/${SOC_DIR}" | ||
| 5 | |||
| 6 | BSP_DIR ?= "${B}/../../misc/versal_plm_bsp" | ||
| 7 | |||
| 8 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://makefile-skip-copy_bsp.sh.patch \ | ||
| 12 | file://0001-versal_fw-Fixup-core-makefiles.patch \ | ||
| 13 | file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
| 17 | |||
| 18 | do_configure() { | ||
| 19 | # manually do the copy_bsp step first, so as to be able to fix up use of | ||
| 20 | # mb-* commands | ||
| 21 | ${B}/../../misc/${SOC_DIR}/copy_bsp.sh | ||
| 22 | } | ||
| 23 | |||
| 24 | do_compile() { | ||
| 25 | oe_runmake | ||
| 26 | |||
| 27 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
| 28 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2.bb deleted file mode 100644 index d945aa26..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware_2022.2.bb +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | require plm-firmware.inc | ||
| 2 | require ${@'plm-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
| 3 | require ${@'plm-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1+git-generic.inc deleted file mode 100644 index 8defde17..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1+git-generic.inc +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 2 | |||
| 3 | SRC_URI += " \ | ||
| 4 | file://makefile-skip-copy_bsp.sh.patch \ | ||
| 5 | file://0001-zynqmp_pmufw-Fixup-core-makefiles.patch \ | ||
| 6 | " | ||
| 7 | |||
| 8 | EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1.bb deleted file mode 100644 index 3ec0c10f..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.1.bb +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | require pmu-firmware.inc | ||
| 2 | require ${@'pmu-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
| 3 | require ${@'pmu-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2+git-generic.inc deleted file mode 100644 index 8defde17..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2+git-generic.inc +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 2 | |||
| 3 | SRC_URI += " \ | ||
| 4 | file://makefile-skip-copy_bsp.sh.patch \ | ||
| 5 | file://0001-zynqmp_pmufw-Fixup-core-makefiles.patch \ | ||
| 6 | " | ||
| 7 | |||
| 8 | EXTRA_COMPILER_FLAGS = "-ffunction-sections -fdata-sections -Wall -Wextra -Os -flto -ffat-lto-objects" | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2.bb deleted file mode 100644 index 3ec0c10f..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware_2022.2.bb +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | require pmu-firmware.inc | ||
| 2 | require ${@'pmu-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
| 3 | require ${@'pmu-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1+git-generic.inc deleted file mode 100644 index 25e2f47f..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1+git-generic.inc +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 2 | |||
| 3 | SRC_URI += " \ | ||
| 4 | file://makefile-skip-copy_bsp.sh.patch \ | ||
| 5 | file://0001-versal_fw-Fixup-core-makefiles.patch \ | ||
| 6 | file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \ | ||
| 7 | " | ||
| 8 | |||
| 9 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
| 10 | |||
| 11 | do_compile() { | ||
| 12 | oe_runmake | ||
| 13 | |||
| 14 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
| 15 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1.bb deleted file mode 100644 index ffa0a596..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.1.bb +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | require psm-firmware.inc | ||
| 2 | require ${@'psm-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
| 3 | require ${@'psm-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc deleted file mode 100644 index 4c331510..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2+git-generic.inc +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | # Separate build directories for versal and versal-net | ||
| 2 | SOC_DIR = "versal" | ||
| 3 | SOC_DIR:versal-net = "versal_net" | ||
| 4 | B = "${S}/lib/sw_apps/versal_psmfw/src/${SOC_DIR}" | ||
| 5 | |||
| 6 | BSP_DIR ?= "${B}/../../misc/versal_psmfw_bsp" | ||
| 7 | |||
| 8 | FILESPATH .= ":${FILE_DIRNAME}/embeddedsw/${PV}:${FILE_DIRNAME}/embeddedsw" | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://makefile-skip-copy_bsp.sh.patch \ | ||
| 12 | file://0001-versal_fw-Fixup-core-makefiles.patch \ | ||
| 13 | file://0001-xilpm-versal-Fixed-2023.1-compile-error.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | EXTRA_COMPILER_FLAGS = "-g -ffunction-sections -fdata-sections -Wall -Wextra" | ||
| 17 | |||
| 18 | # Override default since we're in a subdirectory deeper now... | ||
| 19 | do_configure() { | ||
| 20 | # manually do the copy_bsp step first, so as to be able to fix up use of | ||
| 21 | # mb-* commands | ||
| 22 | if [ ${SOC_DIR} != "versal" ]; then | ||
| 23 | ${B}/../../misc/${SOC_DIR}/copy_bsp.sh | ||
| 24 | else | ||
| 25 | ${B}/../../misc/copy_bsp.sh | ||
| 26 | fi | ||
| 27 | } | ||
| 28 | |||
| 29 | do_compile() { | ||
| 30 | oe_runmake | ||
| 31 | |||
| 32 | ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
| 33 | } | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2.bb b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2.bb deleted file mode 100644 index ffa0a596..00000000 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware_2022.2.bb +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | require psm-firmware.inc | ||
| 2 | require ${@'psm-firmware_generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
| 3 | require ${@'psm-firmware_${PV}-generic.inc' if d.getVar('XILINX_WITH_ESW') == 'generic' else ''} | ||
