arm-bsp/corstone1000: add unique guid for fvp and
cover arm-bsp/corstone1000: add unique guid for fvp and
From: Anusmita Dutta Mazumder <[email protected]>
These patches set unique GUID for Corstone1000 FVP and MPS3
Anusmita Dutta Mazumder (2):
arm-bsp/u-boot:corstone1000: add unique guid for fvp and mps3 arm-bsp/tf-m:corstone1000: add unique guid for fvp and mps3
.../documentation/corstone1000/user-guide.rst | 4 +- ...orstone1000-add-unique-guid-for-mps3.patch | 41 +++++++++++++ .../trusted-firmware-m-corstone1000.inc | 1 + .../u-boot/u-boot-corstone1000.inc | 1 + ...000-set-unique-GUID-for-fvp-and-mps3.patch | 57 +++++++++++++++++++ 5 files changed, 102 insertions(+), 2 deletions(-) create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0007-platform-corstone1000-add-unique-guid-for-mps3.patch create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-corstone1000-set-unique-GUID-for-fvp-and-mps3.patch
Signature · 1 line
2.34.1
PATCH 1/2 arm-bsp/u-boot:corstone1000: add unique guid for fvp and mps3
From: Anusmita Dutta Mazumder <[email protected]>
This patch in U-boot sets unique GUID for Corstone1000 FVP and MPS3
--- .../documentation/corstone1000/user-guide.rst | 4 +- .../u-boot/u-boot-corstone1000.inc | 1 + ...000-set-unique-GUID-for-fvp-and-mps3.patch | 57 +++++++++++++++++++ 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-corstone1000-set-unique-GUID-for-fvp-and-mps3.patch
meta-arm-bsp/documentation/corstone1000/user-guide.rst +2 -2
@@ -735,11 +735,11 @@ generate a UEFI capsule. cd <_workspace> ./u-boot/tools/mkeficapsule --monotonic-count 1 --private-key build/tmp/deploy/images/corstone1000-mps3/corstone1000_capsule_key.key \ - --certificate build/tmp/deploy/images/corstone1000-mps3/corstone1000_capsule_cert.crt --index 1 --guid 989f3a4e-46e0-4cd0-9877-a25c70c01329 \ + --certificate build/tmp/deploy/images/corstone1000-mps3/corstone1000_capsule_cert.crt --index 1 --guid df1865d1-90fb-4d59-9c38-c9f2c1bba8cc \ --fw-version 6 build/tmp/deploy/images/corstone1000-mps3/corstone1000_image.nopt cs1k_cap_mps3_v6 ./u-boot/tools/mkeficapsule --monotonic-count 1 --private-key build/tmp/deploy/images/corstone1000-mps3/corstone1000_capsule_key.key \ - --certificate build/tmp/deploy/images/corstone1000-mps3/corstone1000_capsule_cert.crt --index 1 --guid 989f3a4e-46e0-4cd0-9877-a25c70c01329 \ + --certificate build/tmp/deploy/images/corstone1000-mps3/corstone1000_capsule_cert.crt --index 1 --guid df1865d1-90fb-4d59-9c38-c9f2c1bba8cc \ --fw-version 5 build/tmp/deploy/images/corstone1000-mps3/corstone1000_image.nopt cs1k_cap_mps3_v5 Generating FVP Capsules
meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc +1 -0
@@ -59,6 +59,7 @@ SRC_URI:append = " \ file://0041-scatter-gather-flag-workaround.patch \ file://0042-corstone1000-enable-virtio-net-support.patch \ file://0043-firmware-psci-Fix-bind_smccc_features-psci-check.patch \ + file://0044-corstone1000-set-unique-GUID-for-fvp-and-mps3.patch \ " do_configure:append() {
meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-corstone1000-set-unique-GUID-for-fvp-and-mps3.patch new file +57 -0
57 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH 2/2 arm-bsp/tf-m:corstone1000: add unique guid for fvp and mps3
In reply to [email protected]From: Anusmita Dutta Mazumder <[email protected]>
This patch in TF-M sets unique GUID for Corstone1000 FVP and MPS3
--- ...orstone1000-add-unique-guid-for-mps3.patch | 41 +++++++++++++++++++ .../trusted-firmware-m-corstone1000.inc | 1 + 2 files changed, 42 insertions(+) create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0007-platform-corstone1000-add-unique-guid-for-mps3.patch
meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0007-platform-corstone1000-add-unique-guid-for-mps3.patch new file +41 -0
@@ -0,0 +1,41 @@ +From 3d35eb08fe0cea5c4b882c448f44530bb45c05f0 Mon Sep 17 00:00:00 2001 +From: Anusmita Dutta Mazumder <[email protected]> +Date: Tue, 2 Apr 2024 13:04:56 +0000 +Subject: [PATCH] platform: corstone1000: add unique guid for mps3 + +This patch sets unique GUID for Corstone1000 FVP and MPS3 + +Upstream-Status: Inappropriate [Redesign of Capsule update interface is required] +Signed-off-by: Anusmita Dutta Mazumder <[email protected]> +--- + .../target/arm/corstone1000/fw_update_agent/fwu_agent.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/platform/ext/target/arm/corstone1000/fw_update_agent/fwu_agent.c b/platform/ext/target/arm/corstone1000/fw_update_agent/fwu_agent.c +index 2e6cf80470..be04e0e5df 100644 +--- a/platform/ext/target/arm/corstone1000/fw_update_agent/fwu_agent.c ++++ b/platform/ext/target/arm/corstone1000/fw_update_agent/fwu_agent.c +@@ -113,13 +113,19 @@ enum fwu_agent_state_t { + }; + + struct efi_guid full_capsule_image_guid = { ++#if PLATFORM_IS_FVP + .time_low = 0x989f3a4e, + .time_mid = 0x46e0, + .time_hi_and_version = 0x4cd0, + .clock_seq_and_node = {0x98, 0x77, 0xa2, 0x5c, 0x70, 0xc0, 0x13, 0x29} ++#else ++ .time_low = 0xdf1865d1, ++ .time_mid = 0x90fb, ++ .time_hi_and_version = 0x4d59, ++ .clock_seq_and_node = {0x9c, 0x38, 0xc9, 0xf2, 0xc1, 0xbb, 0xa8, 0xcc} ++#endif + }; + +- + #define IMAGE_ACCEPTED (1) + #define IMAGE_NOT_ACCEPTED (0) + #define BANK_0 (0) +-- +2.38.1 +
meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-corstone1000.inc +1 -0
@@ -39,6 +39,7 @@ SRC_URI:append:corstone1000 = " \ file://0004-platform-corstone1000-align-capsule-update-structs.patch \ file://0005-platform-corstone1000-fix-synchronization-issue-on-o.patch \ file://0006-Platform-Corstone1000-skip-the-first-nv-counter.patch \ + file://0007-platform-corstone1000-add-unique-guid-for-mps3.patch \ " # TF-M ships patches for external dependencies that needs to be applied
Signature · 1 line
2.34.1
Jon Mason
AppliedQuoted 10 lines · On Wed, 10 Apr 2024 16:07:42 +0100, [email protected] wrote:
From: Anusmita Dutta Mazumder <[email protected]>
These patches set unique GUID for Corstone1000 FVP and MPS3
Anusmita Dutta Mazumder (2):
arm-bsp/u-boot:corstone1000: add unique guid for fvp and mps3 arm-bsp/tf-m:corstone1000: add unique guid for fvp and mps3[...]
Applied, thanks!
[1/2] arm-bsp/u-boot:corstone1000: add unique guid for fvp and mps3
commit: 5cd5f3442ab0d22728e8ac4d4fb2eeab060ffe49
[2/2] arm-bsp/tf-m:corstone1000: add unique guid for fvp and mps3
commit: 9a479aed9069569380eb2476b5b9946617d8e4e9Best regards,
Signature · 1 line
Jon Mason <[email protected]>