Hi,
We were trying to add slb9670(TPM device) on imx8mmevk board on userspace using yocto(hardknott Version).
SPI is already enabled in userspace, confirmed with the loop back test and the respected pins are working properly with spidev_test file.
https://github.com/rm-hull/spidev-test
After we built the yocto with the meta-security layer which is having meta-tpm inside it. And the link is mentioned below.
And all the API's (tpm2-tools) were integrated in userspace. When we tried to communicate TPM with the tpm2-tools command it throws an error shown in below screenshot.
We individually run the tabrmd and TCTI demons, it all depends on the /dev/tpm node.
And We can’t be able to add the TPM to the device (i.e., /dev/tpm0). And we followed this forum mentioned below to enable /dev/tpm. But still, we can’t be able to enable TPM in device
I hope someone can help on this. Many thanks in advance.
kanimozhi.t