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

Raymond Mao raymondmaoca at gmail.com
Tue Nov 4 04:13:28 CET 2025


Hi Tom,

Is this series ready to merge or any improvements are needed?

Raymond

On 2025-10-21 2:16 p.m., Raymond Mao wrote:
> 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.
> A test pipeline is triggered at [3] with hacking docker image [4] and
> test hooks [5].
>
> [1] https://github.com/FirmwareHandoff/firmware_handoff
> [2] https://lore.kernel.org/u-boot/20251003191918.767698-1-raymond.mao@linaro.org/T/#t
> [3] https://github.com/u-boot/u-boot/pull/818
> [4] https://hub.docker.com/repository/docker/raymondmao20200915/uboot-ci/tags/latest/sha256-bff18c1f2488d350e9e6e51c9987e24c36b3bfe110079aa0682964c815dd285a
> [5] https://github.com/raymo200915/u-boot-test-hooks/tree/eventlog_handoff_v2
>
> 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 +
>   doc/develop/pytest/test_fw_handoff.rst |   8 ++
>   test/py/tests/test_fw_handoff.py       | 108 +++++++++++++++++++++++++
>   tools/docker/Dockerfile                |  40 ++++++++-
>   6 files changed, 189 insertions(+), 7 deletions(-)
>   create mode 100644 doc/develop/pytest/test_fw_handoff.rst
>   create mode 100644 test/py/tests/test_fw_handoff.py
>


More information about the U-Boot mailing list