Integrating swtpm(as a software TPM) with OpenBMC on Qemu

Cédric Le Goater clg at kaod.org
Wed Apr 5 23:54:36 AEST 2023


Hello,

On 4/5/23 14:48, Sandeep Kumar wrote:
> TCS Confidential
> 
> 
> Hi,
> 
> Trying to see how to get swtpm working as a virtual TPM and connect to openBMC on QEMU. How do we achieve this? Main idea is to get this working and make secure boot through the virtual TPM(swtpm).

Ninad did a nice how to :

   https://lore.kernel.org/qemu-devel/20230331161319.2250334-4-ninadpalsule@us.ibm.com/

If you want to try, the patches are on this branch :

   https://github.com/legoater/qemu/commits/aspeed-8.0

and they should reach the QEMU OpenBMC repo at some point in time.


Joel also provided a simple test case :

   https://lore.kernel.org/qemu-devel/20230328120844.190914-1-joel@jms.id.au/

using the ast2600-evb machine.

Cheers,

C.


More information about the openbmc mailing list