[PATCH v2 2/5] pytest: add test script to validate Firmware Handoff

Tom Rini trini at konsulko.com
Fri Oct 3 22:18:52 CEST 2025


On Fri, Oct 03, 2025 at 12:22:16PM -0700, Raymond Mao wrote:

> Add test cases to validate FDT and TPM eventlog handoff from TF-A
> and OP-TEE via bloblist.
> 
> For FDT, the nodes 'reserved-memory' and 'firmware' appended by
> OP-TEE indicates a successful handoff.
> 
> For TPM eventlog, the events 'SECURE_RT_EL3', 'SECURE_RT_EL1_OPTEE'
> and 'SECURE_RT_EL1_OPTEE_EXTRA1' created by TF-A indicates a
> successful handoff.
> 
> Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
> ---
> Changes in v2:
> - Control the tests to depend on 'env__firmware_handoff_enabled'.
> 
>  test/py/tests/test_fw_handoff.py | 108 +++++++++++++++++++++++++++++++
>  1 file changed, 108 insertions(+)
>  create mode 100644 test/py/tests/test_fw_handoff.py

We should also be adding this to doc/develop/pytest/ as well, to make
sure the documentation is formatted right. The output itself will be
missing on readthedocs, sadly, as there's still some underlying bug to
sort out with the integration.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251003/c47c14ea/attachment.sig>


More information about the U-Boot mailing list