This patch series enable Firmware Handoff [1] CI tests on qemu_arm64 by:
1. fetch MbedTLS (v3.6), OP-TEE (v4.7.0) and TF-A (v2.13.0);
2. build flash.bin with both Firmware Handoff and Measured Boot
   enabled;
3. pytest to validate the Firmware Handoff feature via bloblist by
   checking the existence of expected FDT nodes and TPM events generated
   and handed over from TF-A/OP-TEE.

Pre-requisite u-boot-test-hooks patches [2] are required.

[1] https://github.com/FirmwareHandoff/firmware_handoff
[2] 
https://lore.kernel.org/u-boot/20250916161230.32140-1-raymond....@linaro.org/T/#t

Raymond Mao (5):
  docker: add OP-TEE build for testing Firmware Handoff
  ci: add post-buildman script to build TF-A
  pytest: add test script to validate Firmware Handoff
  configs: select CMD_BLOBLIST for Firmware Handoff testing
  ci: add test entries for qemu_arm64_tfa_fw_handoff

 .azure-pipelines.yml               |  5 ++
 .gitlab-ci.yml                     |  8 +++
 configs/qemu_arm64_defconfig       |  1 +
 test/py/tests/test_fw_handoff.py   | 94 ++++++++++++++++++++++++++++++
 tools/docker/Dockerfile            | 77 ++++++++++++++++++++++++
 tools/post_build_tfa_fw_handoff.sh | 87 +++++++++++++++++++++++++++
 6 files changed, 272 insertions(+)
 create mode 100644 test/py/tests/test_fw_handoff.py
 create mode 100755 tools/post_build_tfa_fw_handoff.sh

-- 
2.25.1

Reply via email to