I would like to enable the ST33 TPM on the Raspberry Pi 4B for U-Boot: https://www.st.com/en/evaluation-tools/stpm4raspi.html
I have enabled the following options as described in my last post: viewtopic.php?t=342421
Now the TPM is recognized and is working well in linux userspace.
Regarding u-boot, I enabled the following options:
Code: Select all
CONFIG_CMD_TPM=y
CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_SOFT_SPI=y
# CONFIG_TPM_V1 is not set
CONFIG_TPM2_TIS_SPI=y
CONFIG_TPM=y
Code: Select all
U-Boot> tpm2 init
Couldn't set TPM 0 (rc = 1)
Thanks