mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
arm-bsp/trusted-firmware-m: adjust ps assets for corstone1000
Enabling ESRT in trusted services increased the need for more assets at protected storage level, since we now save FMP data , capsule update, like Image Info as non volatile EFI variables. So, just change the default configuration for the corstone1000 to handle this. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
11018cbc35
commit
ff583cd9a1
+27
@@ -0,0 +1,27 @@
|
|||||||
|
From 5be42e1c05205209fc3988f0df30a02da95c2448 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rui Miguel Silva <rui.silva@linaro.org>
|
||||||
|
Date: Wed, 2 Nov 2022 00:12:35 +0000
|
||||||
|
Subject: [PATCH] corstone1000: adjust PS asset configuration
|
||||||
|
|
||||||
|
Adjust protected storage asset configuration to be more inline
|
||||||
|
with the one in trusted service side, that would make thinks
|
||||||
|
work when testing and using more than the default variables.
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
|
||||||
|
---
|
||||||
|
platform/ext/target/arm/corstone1000/config.cmake | 1 ++
|
||||||
|
1 file changed, 1 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/platform/ext/target/arm/corstone1000/config.cmake b/platform/ext/target/arm/corstone1000/config.cmake
|
||||||
|
index ab0fe17ba886..c2b4b646e6b0 100644
|
||||||
|
--- a/platform/ext/target/arm/corstone1000/config.cmake
|
||||||
|
+++ b/platform/ext/target/arm/corstone1000/config.cmake
|
||||||
|
@@ -56,3 +56,4 @@ set(PS_ENCRYPTION OFF CACHE BOOL "Enable
|
||||||
|
set(PS_ROLLBACK_PROTECTION OFF CACHE BOOL "Enable rollback protection for Protected Storage partition")
|
||||||
|
|
||||||
|
set(PLATFORM_SERVICE_OUTPUT_BUFFER_SIZE 256 CACHE STRING "Size of output buffer in platform service.")
|
||||||
|
+set(PS_NUM_ASSETS "40" CACHE STRING "The maximum number of assets to be stored in the Protected Storage area")
|
||||||
|
--
|
||||||
|
2.38.1
|
||||||
|
|
||||||
@@ -34,6 +34,7 @@ SRC_URI:append:corstone1000 = " \
|
|||||||
file://0004-Platform-Partition-Allow-configuration-of-input-and-.patch \
|
file://0004-Platform-Partition-Allow-configuration-of-input-and-.patch \
|
||||||
file://0005-corstone1000-support-for-UEFI-FMP-image-Information.patch \
|
file://0005-corstone1000-support-for-UEFI-FMP-image-Information.patch \
|
||||||
file://0006-corstone1000-remove-two-partition-configuration.patch \
|
file://0006-corstone1000-remove-two-partition-configuration.patch \
|
||||||
|
file://0007-corstone1000-adjust-PS-asset-configuration.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user