]> git.ipfire.org Git - thirdparty/u-boot.git/commit
pytest: add test script to validate Firmware Handoff
authorRaymond Mao <raymond.mao@linaro.org>
Tue, 21 Oct 2025 18:16:55 +0000 (11:16 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 4 Nov 2025 16:59:41 +0000 (10:59 -0600)
commitf974e9b626323a940f308ba7174dff0607827aed
treebbca02dfd425b25629977b24d43285053fe1128b
parent183299d9a400ef2c1361e4b4959f663aec7b4e35
pytest: add test script to validate Firmware Handoff

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@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
doc/develop/pytest/test_fw_handoff.rst [new file with mode: 0644]
test/py/tests/test_fw_handoff.py [new file with mode: 0644]