2022-09-02 08:13 AM
This is a question about a TPM IC, if this is the wrong channel please advise as to correct channel.
The question relates to the Linux driver for the ST33TPHF2XI2C.
Setup:
Driver Verion - unlnown - downloaded from GITHUB 06-JUN-2022.
IC as ordered: ST33HTPH2X32AHE1
Hardware: On a HAT for a Raspberry PI 4, connected to i2c channel 1 (SLC1, SDA1 GPIO pins)
OS Linux 5.4.72-v7l
Error observed: From dmesg: tpm tpm0: tpm_try_transmit: send(): error -62
Generated by: Issuing the tpm2_getrandom 10 command after having reset the ST33TPHF2XI2C via its physical reset pin, which is tied to GPIO 17 on the RPI HAT.
Questions:
2024-04-22 02:04 AM
Hi Rein,
We are using same STM TPM2.0 chip for our platform.
Driver Version:
Exercise tpm_pcrextend and tpm_pcrread and then issue tpm reset using GPIO pin of our platform.
and tried to access the tpm after tpm_startup. However observed below erro
Error observed: From dmesg: tpm tpm0: tpm_try_transmit: send(): error -62
this is similar to what you have noticed while ago.
How did you resolve this problem ?
Do we have any driver patch to address it ?
Thanks
Selvan
2024-04-22 02:06 AM
Here is the reference to driver https://github.com/STMicroelectronics/TCG-TPM-I2C-DRV/tree/5.10.y