-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Enable fTPM for IMA #7248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You need to embed the fTPM as an early TA so it's available earlier. |
Hi @jenswi-linaro, thanks for your response. I already built the fTPM as an early TA, and it seems it is loaded correctly during boot:
This is what I see when booting up the platform. In addition when the driver tries to probe it seems that the session with the TA is opened correctly, but then the TA got a panic and for this reason the probe fails. Thank you again for you time. |
I'm having the same issue. Linux IMA detects the tpm chip at kernel init stage, but the optee-ftpm device comes available after tee-supplicant service running, which is already in user space (systemd service). |
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
Hello everyone, I'm currently working on enabling the fTPM in order to correctly use IMA on a Xilinx mpu soc zcu104. I'm using the op-tee version 4.3.0. The fTPM TA seems to start correctly:
I have also added the specific node in the device-tree for the fTPM as specified in the documentation:
When booting the platform the ftpm driver probe is correctly started, but it fails with a panic in the TA:
Looking at the previous issue #5347, it was mentioned that it could be an error caused by the
tee-supplicant
not yer running.For the discussion in this issue and the issue #5766, it seems to me, if I have understood correctly, that the device probe can be done only if the
tee-supplicant
, which makes it impossible to have an instantiated tpm device at IMA initialization time.Is my understanding correct? Is it possible to probe the ftpm before IMA initialization?
Thank you very much in advance.
The text was updated successfully, but these errors were encountered: