Pull request for tpm-for_tom-13062023
Ilias Apalodimas
ilias.apalodimas at linaro.org
Tue Jun 13 10:02:53 CEST 2023
Hi Tom,
The following changes since commit 260d4962e06c0a7d2713523c131416a3f70d7f2c:
Merge tag v2023.07-rc4 into next (2023-06-12 14:55:33 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-for_tom-13062023
for you to fetch changes up to 011f015540d788227a1a2d16dd6245120827bdec:
test/py: Account PCR updates properly during testing (2023-06-13 08:51:07 +0300)
The CI https://source.denx.de/u-boot/custodians/u-boot-tpm/-/pipelines/16574
showed no issues
----------------------------------------------------------------
In order to initialize a tpm device we usually need the following
command sequence
- tpm init
- tpm startup TPM2_SU_CLEAR
- tpm2 self_test full
A few months ago we added a tpm_autostart() function which wraps
that in a single function and always initializes the tpm correctly.
We can now provide a command line for that function and simplify
our CLI.
----------------------------------------------------------------
Ilias Apalodimas (3):
tpm: Add 'tpm autostart' shell command
test/py: replace 'tpm2 init, startup, selftest' sequences
test/py: Account PCR updates properly during testing
cmd/tpm-common.c | 16 ++++++++++++++++
cmd/tpm-user-utils.h | 1 +
cmd/tpm-v1.c | 6 +++++-
cmd/tpm-v2.c | 6 ++++++
test/py/tests/test_tpm2.py | 19 ++++++++-----------
5 files changed, 36 insertions(+), 12 deletions(-)
More information about the U-Boot
mailing list