I attached TPM 1.2 module via I2C to GEN2_I2C, on the J3A1 expansion socket.
TPM chip is Infineon’s SLB9645.
To enable TPM, required configurations are added as follow:
#define CONFIG_TPM #define CONFIG_TPM_TIS_I2C #define CONFIG_TPM_TIS_I2C_BUS_NUMBER 2 #define CONFIG_TPM_TIS_I2C_SLAVE_ADDRESS 0x20 #define CONFIG_CMD_TPM #define CONFIG_TPM_TARGET_TK1
After flash fusing, I probed I2C firstly.
Tegra124 (Jetson TK1) # i2c dev 2 Setting bus to 2 Tegra124 (Jetson TK1) # i2c probe Valid chip addresses: 20
But TPM commands failed during tpm_transmit () of drivers/tpm/tpm.c:396.
By investigation, it seems like request_locality() failed.
Tegra124 (Jetson TK1) # tpm init Tegra124 (Jetson TK1) # tpm startup TPM_ST_CLEAR ERROR: tpm_transmit: tpm_send: error 4294967280 at /home/ubuntu/build_src/u-boot/drivers/tpm/tpm.c:396/tpm_transmit()
How can I resolve this issue in this case?