arm-bsp/trusted-firmware-m: Increase assets number for corstone1000
cover arm-bsp/trusted-firmware-m: Increase assets number for corstone1000
From: Emekcan Aras <[email protected]>
Enabling new features on tfm for corstone1000 increases the number of ITS and PS assets needed. This patch increases the number of PS and ITS assets and fixes regression on psa-ps-api-tests.
Emekcan Aras (1):
arm-bsp/trusted-firmware-m: Increase assets number for corstone1000
...rstone1000-Increase-number-of-assets.patch | 36 +++++++++++++++++++ .../trusted-firmware-m-1.7.0-corstone1000.inc | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0012-Platform-corstone1000-Increase-number-of-assets.patch
Signature · 1 line
2.17.1
PATCH 1/1 arm-bsp/trusted-firmware-m: Increase assets number for corstone1000
From: Emekcan Aras <[email protected]>
Enabling new features on tfm for corstone1000 increases the number of ITS and PS assets needed. This patch increases the number of PS and ITS assets and fixes regression on psa-ps-api-tests.
--- ...rstone1000-Increase-number-of-assets.patch | 36 +++++++++++++++++++ .../trusted-firmware-m-1.7.0-corstone1000.inc | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0012-Platform-corstone1000-Increase-number-of-assets.patch
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0012-Platform-corstone1000-Increase-number-of-assets.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 34263d1ea99da7b8a680a80601a73149bc9530e5 Mon Sep 17 00:00:00 2001 +From: Emekcan Aras <[email protected]> +Date: Fri, 21 Apr 2023 15:17:21 +0100 +Subject: [PATCH] Platform: corstone1000: Increase number of assets + +As Corstone1000 stores at boot time few efi variables. +Therefore, number of assets is increased to compansate this early usage. + +Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/20656] +Signed-off-by: Mohamed Omar Asaker <[email protected]> +Signed-off-by: Emekcan Aras <[email protected]> +Change-Id: Id8555a09335ce13b80c07a33c4d913f5cb0f9084 +--- + platform/ext/target/arm/corstone1000/config_tfm_target.h | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/platform/ext/target/arm/corstone1000/config_tfm_target.h b/platform/ext/target/arm/corstone1000/config_tfm_target.h +index bf8d2f95f..e96836663 100644 +--- a/platform/ext/target/arm/corstone1000/config_tfm_target.h ++++ b/platform/ext/target/arm/corstone1000/config_tfm_target.h +@@ -16,4 +16,12 @@ + #undef PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE + #define PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE 256 + ++/* The maximum number of assets to be stored in the Internal Trusted Storage. */ ++#undef ITS_NUM_ASSETS ++#define ITS_NUM_ASSETS 20 ++ ++/* The maximum number of assets to be stored in the Protected Storage area. */ ++#undef PS_NUM_ASSETS ++#define PS_NUM_ASSETS 20 ++ + #endif /* __CONFIG_TFM_TARGET_H__ */ +-- +2.17.1 +
meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-1.7.0-corstone1000.inc +1 -0
@@ -47,6 +47,7 @@ SRC_URI:append:corstone1000 = " \ file://0009-Platform-corstone1000-fix-flash-reading-issue-for-fi.patch \ file://0010-Platform-corstone1000-Adds-compiler-flags-to-FWU-age.patch \ file://0011-Platform-corstone1000-adjust-PS-asset-configuration.patch \ + file://0012-Platform-corstone1000-Increase-number-of-assets.patch \ file://corstone1000/rwx.patch \ "
Signature · 1 line
2.17.1
Jon Mason
AppliedQuoted 8 lines · On Mon, 24 Apr 2023 16:38:58 +0100, [email protected] wrote:
Enabling new features on tfm for corstone1000 increases the number of ITS and PS assets needed. This patch increases the number of PS and ITS assets and fixes regression on psa-ps-api-tests.
Emekcan Aras (1):
arm-bsp/trusted-firmware-m: Increase assets number for corstone1000[...]
Applied, thanks!
[1/1] arm-bsp/trusted-firmware-m: Increase assets number for corstone1000
commit: 95e535b0a14dcd3038821fad0ec2ae79849f97d9
Best regards,
Signature · 1 line
Jon Mason <[email protected]>