Unable to get the TPM device with swtpm

Sandeep Kumar sandeep.pkumar at tcs.com
Thu Jun 15 19:39:43 AEST 2023


TCS Confidential

Hi,

My current setup:

  1.  Running swtpm on ubuntu to act as a virtual tpm.
  2.  Enabled measured boot, tpm, hash on u-boot
  3.  Openbmc image loaded on qemu.

With this setup, I am trying to get the tpm device through tcg2_platform_get_tpm2(struct udevice **dev) from u-boot(image-fit.c) . But I am getting error 19 (ENODEV). Any Idea why it is not recognizing the virtual TPM running on ubuntu?

Thanks,
Sandeep.


TCS Confidential
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20230615/cc090f37/attachment.htm>


More information about the openbmc mailing list