[PATCH v2 0/5] Enable Firmware Handoff CI test on qemu_arm64

Raymond Mao raymond.mao at linaro.org
Fri Oct 3 21:22:14 CEST 2025


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 bl1 and fip 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/20251003191918.767698-1-raymond.mao@linaro.org/T/#t

Raymond Mao (5):
  docker: add OP-TEE and TF-A build for testing Firmware Handoff
  pytest: add test script to validate Firmware Handoff
  configs: select CMD_BLOBLIST for Firmware Handoff testing
  ci: check existence of bl1 and fip in the test script
  ci: add test entries for qemu_arm64_tfa_fw_handoff

 .azure-pipelines.yml             |  18 +++++-
 .gitlab-ci.yml                   |  21 +++++-
 configs/qemu_arm64_defconfig     |   1 +
 test/py/tests/test_fw_handoff.py | 108 +++++++++++++++++++++++++++++++
 tools/docker/Dockerfile          |  74 ++++++++++++++++++++-
 5 files changed, 215 insertions(+), 7 deletions(-)
 create mode 100644 test/py/tests/test_fw_handoff.py

-- 
2.25.1



More information about the U-Boot mailing list