mbox series

[0/1] arm-bsp: corstone1000: Enable FF-A-backed EFI runtime variables and selftests

Message ID 20260512151924.89401-1-harsimransingh.tungal@arm.com
Headers show
Series arm-bsp: corstone1000: Enable FF-A-backed EFI runtime variables and selftests | expand

Message

Harsimran Singh Tungal May 12, 2026, 3:19 p.m. UTC
This series wires up Arm FF-A support for EFI runtime services
by factoring runtime-safe helpers into the FF-A bus, layer the
EFI variable TEE transport on top, and then rehome the helper
exports so there’s a single implementation shared between boot
and runtime paths. Corstone1000 enables the self-test command
and expands the runtime variable selftest so it exercises
non-volatile storage across reboots.

Key Changes
===========
- add the FF-A runtime transport patch stack to the corstone1000
  U-Boot recipe
- enable EFI runtime variable handling over FF-A and include the
  bootefi selftests and sandbox FF-A runtime transport test.
- Increase the FIP partition sizes from 2MiB to 2.5MiB and update
  TFA_FIP_RE_SIGN_BIN_SIZE from 0x00200000 to 0x00280000 to
  reflect the new allocation. The size of u-boot-EFI-2025.10-r0.bin
  has increased from ~707KB to ~944KB following the FF-A/EFI
  runtime related changes.
  As this binary is packaged within the FIP, the overall signed
  FIP size has grown accordingly. Expanding the FIP partitions
  ensures sufficient space for the updated signed_fip.bin

Harsimran Singh Tungal (1):
  arm-bsp: corstone1000: Enable FF-A-backed EFI runtime variables and
    selftests

 .../corstone1000-flash-firmware-fvp.wks.in    |   2 +-
 .../corstone1000-flash-firmware-image.bb      |   2 +-
 ...tone1000-Increase-FIP-partition-size.patch |  32 +
 .../trusted-firmware-m-corstone1000.inc       |   1 +
 .../u-boot/u-boot-corstone1000.inc            |  18 +
 ...efi_loader-add-runtime-memset-helper.patch |  63 ++
 ...arm-ffa-add-FF-A-bus-runtime-support.patch | 975 ++++++++++++++++++
 ...F-A-runtime-support-in-EFI-variable-.patch | 478 +++++++++
 ...e-EFI-runtime-SetVariable-GetVariabl.patch | 418 ++++++++
 ...runtime-GetVariable-helpers-to-efi_v.patch | 103 ++
 ...corstone1000-enable-bootefi-selftest.patch |  38 +
 ...-runtime-variable-tests-with-non-vol.patch | 176 ++++
 ...sandbox-FF-A-runtime-transport-tests.patch | 163 +++
 ...e-synthetic-partition-metadata-via-m.patch |  96 ++
 ...nt-FF-A-runtime-path-for-EFI-variabl.patch | 176 ++++
 ...-two-phase-runtime-variables-selftes.patch |  47 +
 ...-FF-A-cache-maintenance-with-runtime.patch |  75 ++
 ...der-fix-AllocatePages-overlap-status.patch |  50 +
 ...one1000-a320-enable-bootefi-selftest.patch |  37 +
 19 files changed, 2948 insertions(+), 2 deletions(-)
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/0060-platform-corstone1000-Increase-FIP-partition-size.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0041-efi_loader-add-runtime-memset-helper.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0042-arm-ffa-add-FF-A-bus-runtime-support.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0043-efi_loader-add-FF-A-runtime-support-in-EFI-variable-.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-efi_loader-enable-EFI-runtime-SetVariable-GetVariabl.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0045-efi_loader-move-runtime-GetVariable-helpers-to-efi_v.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0046-corstone1000-enable-bootefi-selftest.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0047-efi-selftest-add-runtime-variable-tests-with-non-vol.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0048-test-dm-add-sandbox-FF-A-runtime-transport-tests.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0049-sandbox-ffa-share-synthetic-partition-metadata-via-m.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0050-doc-arm64-document-FF-A-runtime-path-for-EFI-variabl.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0051-doc-bootefi-note-two-phase-runtime-variables-selftes.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0052-efi_loader-align-FF-A-cache-maintenance-with-runtime.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0053-efi_loader-fix-AllocatePages-overlap-status.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0054-corstone1000-a320-enable-bootefi-selftest.patch