arm-toolchains: Update to 15.2
PATCH 1/2 arm-toolchains: Update to 15.2
Update the pre-build Arm GNU toolchain to 15.2 (from 13.3)
---
...elf_13.3.rel1.bb => gcc-aarch64-none-elf_15.2.rel1.bb} | 8 ++++----
...e-eabi_13.3.rel1.bb => gcc-arm-none-eabi_15.2.rel1.bb} | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
rename meta-arm-toolchain/recipes-devtools/external-arm-toolchain/{gcc-aarch64-none-elf_13.3.rel1.bb => gcc-aarch64-none-elf_15.2.rel1.bb} (76%)
rename meta-arm-toolchain/recipes-devtools/external-arm-toolchain/{gcc-arm-none-eabi_13.3.rel1.bb => gcc-arm-none-eabi_15.2.rel1.bb} (76%)meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_15.2.rel1.bb renamed from meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_13.3.rel1.bb +4 -4
@@ -8,12 +8,12 @@ COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" SUMMARY = "Arm GNU Toolchain - AArch64 bare-metal target (aarch64-none-elf)" LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" -LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=402090210d41f07263e91f760d0d1ea3" -LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=2a62a4d37ddad55da732679acd9edf03" +LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e" +LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e" SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/arm-gnu-toolchain-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gcc-${HOST_ARCH}" -SRC_URI[gcc-aarch64.sha256sum] = "fad7d567be5c095943d42f7078ea6f9a8452062dfe151152c2ec825814d254e0" -SRC_URI[gcc-x86_64.sha256sum] = "7fedf894040580b1db747d06ac5d4263c46e591ffe7695656d1da5accb00a159" +SRC_URI[gcc-aarch64.sha256sum] = "46195685b6aec1077e3f1b7706b43a6aa1fef4d8d3bff3a411b7dad1c5b1196b" +SRC_URI[gcc-x86_64.sha256sum] = "66f7ce7c1bf662f589a4caf440812375f3cd8000a033ccf0971127a0726d6921" S = "${UNPACKDIR}/arm-gnu-toolchain-${PV}-${HOST_ARCH}-${BINNAME}"
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_15.2.rel1.bb renamed from meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_13.3.rel1.bb +4 -4
@@ -8,12 +8,12 @@ COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" SUMMARY = "Arm GNU Toolchain - AArch32 bare-metal target (arm-none-eabi)" LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" -LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=402090210d41f07263e91f760d0d1ea3" -LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=2a62a4d37ddad55da732679acd9edf03" +LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e" +LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e" SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/arm-gnu-toolchain-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gcc-${HOST_ARCH}" -SRC_URI[gcc-aarch64.sha256sum] = "c8824bffd057afce2259f7618254e840715f33523a3d4e4294f471208f976764" -SRC_URI[gcc-x86_64.sha256sum] = "95c011cee430e64dd6087c75c800f04b9c49832cc1000127a92a97f9c8d83af4" +SRC_URI[gcc-aarch64.sha256sum] = "d061559d814b205ed30c5b7c577c03317ec447ca51cd5a159d26b12a5bbeb20c" +SRC_URI[gcc-x86_64.sha256sum] = "597893282ac8c6ab1a4073977f2362990184599643b4c5ee34870a8215783a16" S = "${UNPACKDIR}/arm-gnu-toolchain-${PV}-${HOST_ARCH}-${BINNAME}"
Signature · 1 line
2.50.1 (Apple Git-155)
PATCH 2/2 arm/trusted-firmware-m: workarounds for new(er) toolchains
GCC 15 (and GCC 14, and probably others) are finding new problems in trusted-firmware m, and these cannot simply be ignored (as they are fatal build errors). Clear the ld security flags to get around those issues, backport a couple of patches for fixes that have been addressed upstream, and create a patch to work around some casting issues in functions that are removed in newer versions of the code. This refactoring caused some minor clean up of existing corstone1000 tfm patches.
Also, use size based optimization for corstone1000. With this, the bl1 is too big to fit into flash. The correct way to solve this would be to remove TFA_DEBUG, but that causes a rabbit hole of problems related to heap being enabled or not. This works around the issue until it can be resolved properly.
---
...e1000-Implement-Bootloader-Abstracti.patch | 8 +-
...-Add-support-for-Cortex-A320-varian.patch} | 17 +-
...nable-different-DRBG-configurations.patch} | 11 +-
...-Remove-psa_adac_to_tfm_apply_permi.patch} | 9 +-
...1000-secure-debug-waiting-in-CM-LCS.patch} | 9 +-
...adjust-CS1000-platform-for-GCC-v14.2.patch | 147 +++++++++++++++++
...014-Workaround-compile-errors-in-AES.patch | 48 ++++++
.../0001-Build-Fix-compiler-warnings.patch | 151 ++++++++++++++++++
.../trusted-firmware-m-corstone1000.inc | 18 ++-
.../trusted-firmware-m_2.1.4.bb | 5 +
.../trusted-firmware-m_2.2.2.bb | 5 +
11 files changed, 389 insertions(+), 39 deletions(-)
rename meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/{0010-plat-corstone1000-Add-support-for-Cortex-A320-varian.patch => 0009-plat-corstone1000-Add-support-for-Cortex-A320-varian.patch} (98%)
rename meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/{0011-Corstone-1000-Enable-different-DRBG-configurations.patch => 0010-Corstone-1000-Enable-different-DRBG-configurations.patch} (87%)
rename meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/{0012-bl2-corstone-1000-Remove-psa_adac_to_tfm_apply_permi.patch => 0011-bl2-corstone-1000-Remove-psa_adac_to_tfm_apply_permi.patch} (91%)
rename meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/{0013-bl2-corstone-1000-secure-debug-waiting-in-CM-LCS.patch => 0012-bl2-corstone-1000-secure-debug-waiting-in-CM-LCS.patch} (92%)
create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0013-Build-adjust-CS1000-platform-for-GCC-v14.2.patch
create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0014-Workaround-compile-errors-in-AES.patch
create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/psa-adac/0001-Build-Fix-compiler-warnings.patchmeta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0006-Platform-Corstone1000-Implement-Bootloader-Abstracti.patch +4 -4
@@ -1,4 +1,4 @@ -From acefd1b894790c1d2a158bd42fcb4892ffa7c053 Mon Sep 17 00:00:00 2001 +From ab77323c82d4d1983e81fe20b7b3c8eda743d808 Mon Sep 17 00:00:00 2001 From: Ali Can Ozaslan <[email protected]> Date: Tue, 15 Oct 2024 12:50:16 +0000 Subject: [PATCH] Platform: Corstone1000: Implement Bootloader Abstraction
@@ -2875,7 +2875,7 @@ diff --git a/platform/ext/target/arm/corstone1000/fw_update_agent/uefi_fmp.c b/p similarity index 66% rename from platform/ext/target/arm/corstone1000/fw_update_agent/uefi_fmp.c rename to platform/ext/target/arm/corstone1000/bootloader/mcuboot/uefi_fmp.c -index 896658995a55..aef9c9a20c0f 100644 +index 896658995a55..3edd4ebd0ea9 100644 --- a/platform/ext/target/arm/corstone1000/fw_update_agent/uefi_fmp.c +++ b/platform/ext/target/arm/corstone1000/bootloader/mcuboot/uefi_fmp.c @@ -1,5 +1,5 @@
@@ -2999,9 +2999,9 @@ index 896658995a55..aef9c9a20c0f 100644 + fmp_info[i].ImageDescriptor.LastAttemptVersion = FWU_IMAGE_INITIAL_VERSION; + fmp_info[i].ImageDescriptor.LastAttemptStatus = LAST_ATTEMPT_STATUS_SUCCESS; + -+ fmp_info[i].ImageName = image_info[i].corstone_image_name; ++ fmp_info[i].ImageName = (uint16_t *)image_info[i].corstone_image_name; + fmp_info[i].ImageNameSize = sizeof(image_info[i].corstone_image_name); -+ fmp_info[i].ImageVersionName = image_info[i].corstone_version_name; ++ fmp_info[i].ImageVersionName = (uint16_t *)image_info[i].corstone_version_name; + fmp_info[i].ImageVersionNameSize = sizeof(image_info[i].corstone_version_name); + } is_fmp_info_initialized = true;
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0009-plat-corstone1000-Add-support-for-Cortex-A320-varian.patch renamed from meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0010-plat-corstone1000-Add-support-for-Cortex-A320-varian.patch +7 -10
@@ -1,4 +1,4 @@ -From 2f09a03bc8396164c8075ac802751b6150b8a6c0 Mon Sep 17 00:00:00 2001 +From c5bcb737352ad2e1c24cc14a0b8ddf91ad7197b4 Mon Sep 17 00:00:00 2001 From: Harsimran Singh Tungal <[email protected]> Date: Tue, 29 Jul 2025 15:09:45 +0000 Subject: [PATCH] plat: corstone1000: Add support for Cortex-A320 variant
@@ -52,7 +52,7 @@ Signed-off-by: Harsimran Singh Tungal <[email protected]> create mode 100644 platform/ext/target/arm/corstone1000/dsu-120t/ppu.h diff --git a/platform/ext/target/arm/corstone1000/CMakeLists.txt b/platform/ext/target/arm/corstone1000/CMakeLists.txt -index 91bf197d8..993c51591 100644 +index 91bf197d86b7..993c51591fa7 100644 --- a/platform/ext/target/arm/corstone1000/CMakeLists.txt +++ b/platform/ext/target/arm/corstone1000/CMakeLists.txt @@ -423,6 +423,37 @@ target_sources(tfm_spm
@@ -94,7 +94,7 @@ index 91bf197d8..993c51591 100644 if (${PLATFORM_PSA_ADAC_SECURE_DEBUG}) diff --git a/platform/ext/target/arm/corstone1000/Device/Include/platform_base_address.h b/platform/ext/target/arm/corstone1000/Device/Include/platform_base_address.h -index 5f9f03ddc..3908d69bc 100644 +index 5f9f03ddc610..3908d69bc9bd 100644 --- a/platform/ext/target/arm/corstone1000/Device/Include/platform_base_address.h +++ b/platform/ext/target/arm/corstone1000/Device/Include/platform_base_address.h @@ -1,5 +1,7 @@
@@ -118,7 +118,7 @@ index 5f9f03ddc..3908d69bc 100644 #define CC3XX_BASE_S CORSTONE1000_CRYPTO_ACCELERATOR_BASE diff --git a/platform/ext/target/arm/corstone1000/bl1/boot_hal_bl1_1.c b/platform/ext/target/arm/corstone1000/bl1/boot_hal_bl1_1.c -index b51a233e9..1a5e98ad3 100644 +index b51a233e9143..1a5e98ad3c35 100644 --- a/platform/ext/target/arm/corstone1000/bl1/boot_hal_bl1_1.c +++ b/platform/ext/target/arm/corstone1000/bl1/boot_hal_bl1_1.c @@ -1,5 +1,5 @@
@@ -199,7 +199,7 @@ index b51a233e9..1a5e98ad3 100644 /* DDR */ diff --git a/platform/ext/target/arm/corstone1000/dsu-120t/ppu.c b/platform/ext/target/arm/corstone1000/dsu-120t/ppu.c new file mode 100644 -index 000000000..d6be5982a +index 000000000000..d6be5982a8dd --- /dev/null +++ b/platform/ext/target/arm/corstone1000/dsu-120t/ppu.c @@ -0,0 +1,40 @@
@@ -245,7 +245,7 @@ index 000000000..d6be5982a + diff --git a/platform/ext/target/arm/corstone1000/dsu-120t/ppu.h b/platform/ext/target/arm/corstone1000/dsu-120t/ppu.h new file mode 100644 -index 000000000..05470df9a +index 000000000000..05470df9a884 --- /dev/null +++ b/platform/ext/target/arm/corstone1000/dsu-120t/ppu.h @@ -0,0 +1,185 @@
@@ -435,7 +435,7 @@ index 000000000..05470df9a + +#endif /* PPU_H */ diff --git a/platform/ext/target/arm/corstone1000/tfm_hal_multi_core.c b/platform/ext/target/arm/corstone1000/tfm_hal_multi_core.c -index d0c6b8d59..10c66ac41 100644 +index d0c6b8d590f9..10c66ac41ad2 100644 --- a/platform/ext/target/arm/corstone1000/tfm_hal_multi_core.c +++ b/platform/ext/target/arm/corstone1000/tfm_hal_multi_core.c @@ -1,5 +1,5 @@
@@ -485,6 +485,3 @@ index d0c6b8d59..10c66ac41 100644 #ifdef EXTERNAL_SYSTEM_SUPPORT /*release EXT SYS out of reset*/ tfm_external_system_boot(); --- -2.50.1 -
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0010-Corstone-1000-Enable-different-DRBG-configurations.patch renamed from meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0011-Corstone-1000-Enable-different-DRBG-configurations.patch +4 -7
@@ -1,7 +1,7 @@ -From d60a6b4edda3465d86ec264b2cbfd7d14109ed5f Mon Sep 17 00:00:00 2001 +From dae5f3d1ec85e29f44d3f19bec2312607751ec22 Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna <[email protected]> Date: Thu, 18 Sep 2025 22:07:38 +0100 -Subject: [PATCH 2/2] Corstone-1000: Enable different DRBG configurations +Subject: [PATCH] Corstone-1000: Enable different DRBG configurations The following DRBG configurations are enabled:
@@ -18,10 +18,10 @@ Signed-off-by: Devaraj Ranganna <[email protected]> 1 file changed, 7 insertions(+) diff --git a/platform/ext/target/arm/corstone1000/cc3xx_config.h b/platform/ext/target/arm/corstone1000/cc3xx_config.h -index c5654a6bdb..199a99e1ca 100644 +index ac034b17982a..e3f78439861f 100644 --- a/platform/ext/target/arm/corstone1000/cc3xx_config.h +++ b/platform/ext/target/arm/corstone1000/cc3xx_config.h -@@ -87,6 +87,13 @@ +@@ -90,6 +90,13 @@ #error "cc3xx_config: RNG config must select a single DRBG" #endif /* CC3XX_CONFIG_RNG_DRBG_HMAC + CC3XX_CONFIG_RNG_DRBG_CTR + CC3XX_CONFIG_RNG_DRBG_HASH */
@@ -35,6 +35,3 @@ index c5654a6bdb..199a99e1ca 100644 /* Whether an external TRNG should be used in place of the standard CC3XX TRNG */ /* #define CC3XX_CONFIG_RNG_EXTERNAL_TRNG */ --- -2.43.0 -
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0011-bl2-corstone-1000-Remove-psa_adac_to_tfm_apply_permi.patch renamed from meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0012-bl2-corstone-1000-Remove-psa_adac_to_tfm_apply_permi.patch +3 -6
@@ -1,7 +1,7 @@ -From 2165f9db2257905d20722a2b87ceb53f320fc198 Mon Sep 17 00:00:00 2001 +From 3a9e209596ca0ae5850ae382c624adf9932b16b4 Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna <[email protected]> Date: Mon, 22 Sep 2025 12:48:57 +0100 -Subject: [PATCH 1/2] bl2: corstone-1000: Remove +Subject: [PATCH] bl2: corstone-1000: Remove `psa_adac_to_tfm_apply_permissions` The API `psa_adac_to_tfm_apply_permissions` is added to `psa-adac`
@@ -15,7 +15,7 @@ Signed-off-by: Devaraj Ranganna <[email protected]> 1 file changed, 21 deletions(-) diff --git a/platform/ext/target/arm/corstone1000/bl2/boot_hal_bl2.c b/platform/ext/target/arm/corstone1000/bl2/boot_hal_bl2.c -index 2abcfb5fd3..8c4eb80d03 100644 +index 2abcfb5fd39d..8c4eb80d032c 100644 --- a/platform/ext/target/arm/corstone1000/bl2/boot_hal_bl2.c +++ b/platform/ext/target/arm/corstone1000/bl2/boot_hal_bl2.c @@ -111,27 +111,6 @@ static bool fill_flash_map_with_fip_data(uint8_t boot_index) {
@@ -46,6 +46,3 @@ index 2abcfb5fd3..8c4eb80d03 100644 uint8_t secure_debug_rotpk[32]; #endif /* PLATFORM_PSA_ADAC_SECURE_DEBUG */ --- -2.43.0 -
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0012-bl2-corstone-1000-secure-debug-waiting-in-CM-LCS.patch renamed from meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0013-bl2-corstone-1000-secure-debug-waiting-in-CM-LCS.patch +3 -6
@@ -1,7 +1,7 @@ -From fddaf5d297f56305b50b672477cabb840d6f426b Mon Sep 17 00:00:00 2001 +From 901a63f09369cfbed8eff8c450b8615bd4c361af Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna <[email protected]> Date: Mon, 22 Sep 2025 12:59:43 +0100 -Subject: [PATCH 2/2] bl2: corstone-1000: secure debug waiting in CM LCS +Subject: [PATCH] bl2: corstone-1000: secure debug waiting in CM LCS Currently, when the device is in Secure Enable (SE) LCS state, setting `dcu_en` register causes CC-312 reset, which effectively resets the
@@ -20,7 +20,7 @@ Signed-off-by: Devaraj Ranganna <[email protected]> 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/platform/ext/target/arm/corstone1000/bl2/boot_hal_bl2.c b/platform/ext/target/arm/corstone1000/bl2/boot_hal_bl2.c -index 8c4eb80d03..bf7b62881a 100644 +index 8c4eb80d032c..bf7b62881ad5 100644 --- a/platform/ext/target/arm/corstone1000/bl2/boot_hal_bl2.c +++ b/platform/ext/target/arm/corstone1000/bl2/boot_hal_bl2.c @@ -165,7 +165,18 @@ int32_t boot_platform_post_init(void)
@@ -51,6 +51,3 @@ index 8c4eb80d03..bf7b62881a 100644 #endif return 0; --- -2.43.0 -
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0013-Build-adjust-CS1000-platform-for-GCC-v14.2.patch new file +147 -0
147 lines not on this page · raw message
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0014-Workaround-compile-errors-in-AES.patch new file +48 -0
48 lines not on this page · raw message
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/psa-adac/0001-Build-Fix-compiler-warnings.patch new file +151 -0
151 lines not on this page · raw message
meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-corstone1000.inc +12 -6
@@ -4,7 +4,11 @@ COMPATIBLE_MACHINE = "(corstone1000)" TFM_PLATFORM = "arm/corstone1000" +# FIXME - debug shouldn't be used here, as it should be used when doing bring up or actual debug. However, switching this to the release version causes issues with TFM related to +# sbrk.c:(.text._sbrk+0x18): undefined reference to `end' +# which is being caused by heap not being enabled.. So, just use the size optimization to keep this small enough to fit in to flash TFM_DEBUG = "1" +EXTRA_OECMAKE:append = " -DCMAKE_C_FLAGS_DEBUG='-Os -g'" # These dependencies are needed for TF-M v2.2.0 and above # https://github.com/TrustedFirmware-M/trusted-firmware-m/blob/TF-Mv2.2.0/tools/requirements.txt
@@ -27,8 +31,6 @@ EXTRA_OECMAKE:append:corstone1000-mps3 = " -DPLATFORM_PSA_ADAC_SECURE_DEBUG=${@b EXTRA_OECMAKE:append:corstone1000-mps3 = " -DPLATFORM_PSA_ADAC_SOURCE_PATH=${UNPACKDIR}/tfm-psa-adac -DPLATFORM_PSA_ADAC_BUILD_PATH=${B}/tfm-psa-adac-build" FILESEXTRAPATHS:prepend := "${THISDIR}/files:" - -SRCREV_tfm-psa-adac:corstone1000 = "f2809ae231be33a1afcd7714f40756c67d846c88" SRC_URI:append:corstone1000 = " \ file://0001-arm-trusted-firmware-m-disable-address-warnings-into.patch \ file://0002-Platform-CS1000-Remove-unused-BL1-files.patch \
@@ -38,17 +40,21 @@ SRC_URI:append:corstone1000 = " \ file://0006-Platform-Corstone1000-Implement-Bootloader-Abstracti.patch \ file://0007-Platform-Corstone1000-Increase-buffer-sizes.patch \ file://0008-Platform-Corstone1000-Remove-duplicate-configuration.patch \ - file://0010-plat-corstone1000-Add-support-for-Cortex-A320-varian.patch \ - file://0011-Corstone-1000-Enable-different-DRBG-configurations.patch \ - file://0012-bl2-corstone-1000-Remove-psa_adac_to_tfm_apply_permi.patch \ - file://0013-bl2-corstone-1000-secure-debug-waiting-in-CM-LCS.patch \ + file://0009-plat-corstone1000-Add-support-for-Cortex-A320-varian.patch \ + file://0010-Corstone-1000-Enable-different-DRBG-configurations.patch \ + file://0011-bl2-corstone-1000-Remove-psa_adac_to_tfm_apply_permi.patch \ + file://0012-bl2-corstone-1000-secure-debug-waiting-in-CM-LCS.patch \ + file://0013-Build-adjust-CS1000-platform-for-GCC-v14.2.patch \ + file://0014-Workaround-compile-errors-in-AES.patch \ " +SRCREV_tfm-psa-adac:corstone1000 = "f2809ae231be33a1afcd7714f40756c67d846c88" FILESEXTRAPATHS:prepend:corstone1000-mps3 := "${THISDIR}/files/corstone1000/psa-adac:" SRC_URI:append:corstone1000-mps3 = " \ file://0001-PSA-revert-header-versions.patch;patchdir=../tfm-psa-adac \ file://0002-Fix-psa_key_handle_t-initialization.patch;patchdir=../tfm-psa-adac \ file://0003-cmake-Update-psa_adac_psa_crypto-dependencies.patch;patchdir=../tfm-psa-adac \ + file://0001-Build-Fix-compiler-warnings.patch;patchdir=../tfm-psa-adac \ " create_bl1_image(){
meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_2.1.4.bb +5 -0
@@ -1,2 +1,7 @@ require recipes-bsp/trusted-firmware-m/trusted-firmware-m-${PV}-src.inc require recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc + +# FIXME - arm-none-eabi/bin/ld: error: unsupported option: -z relro +# Working around the issue by removing the loader flags, which aren't relevant for us here +# Long term fix, create a baremetal firmware bbclass that doesn't add this stuff +SECURITY_LDFLAGS = ""
meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_2.2.2.bb +5 -0
@@ -1,2 +1,7 @@ require recipes-bsp/trusted-firmware-m/trusted-firmware-m-${PV}-src.inc require recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc + +# FIXME - arm-none-eabi/bin/ld: error: unsupported option: -z relro +# Working around the issue by removing the loader flags, which aren't relevant for us here +# Long term fix, create a baremetal firmware bbclass that doesn't add this stuff +SECURITY_LDFLAGS = ""
Signature · 1 line
2.50.1 (Apple Git-155)
Jon Mason
AppliedQuoted 3 lines · Jon Mason
Update the pre-build Arm GNU toolchain to 15.2 (from 13.3)
Applied, thanks!
[1/2] arm-toolchains: Update to 15.2
commit: c0416d7426f0e3e9b88d42edbfe506ac67b93e71
[2/2] arm/trusted-firmware-m: workarounds for new(er) toolchains
commit: b00fe8862bc31cd4b6f0299b6a2edb244f19487aBest regards,
Signature · 1 line
Jon Mason <[email protected]>