public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [RESEND PATCH v5 0/5] Enable Firmware Handoff CI test on qemu_arm64
@ 2025-10-21 18:16 Raymond Mao
  2025-10-21 18:16 ` [RESEND PATCH v5 1/5] docker: add OP-TEE and TF-A build for testing Firmware Handoff Raymond Mao
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Raymond Mao @ 2025-10-21 18:16 UTC (permalink / raw)
  To: u-boot
  Cc: Raymond Mao, Tom Rini, Tuomas Tynkkynen, Simon Glass,
	Ilias Apalodimas, Michal Simek, Adriano Cordova, Patrick Rudolph,
	Jerome Forissier, Heinrich Schuchardt

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

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-11-04 19:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-21 18:16 [RESEND PATCH v5 0/5] Enable Firmware Handoff CI test on qemu_arm64 Raymond Mao
2025-10-21 18:16 ` [RESEND PATCH v5 1/5] docker: add OP-TEE and TF-A build for testing Firmware Handoff Raymond Mao
2025-10-21 18:16 ` [RESEND PATCH v5 2/5] pytest: add test script to validate " Raymond Mao
2025-10-21 18:16 ` [RESEND PATCH v5 3/5] configs: select CMD_BLOBLIST for Firmware Handoff testing Raymond Mao
2025-10-21 18:16 ` [RESEND PATCH v5 4/5] ci: check existence of bl1 and fip in the test script Raymond Mao
2025-10-21 18:16 ` [RESEND PATCH v5 5/5] ci: add test entries for qemu_arm64_tfa_fw_handoff Raymond Mao
2025-11-04  3:13 ` [RESEND PATCH v5 0/5] Enable Firmware Handoff CI test on qemu_arm64 Raymond Mao
2025-11-04 17:05   ` Tom Rini
2025-11-04 19:05 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox