[yocto] how to activate tpm

Hofemeier, Ulf ulf.hofemeier at intel.com
Tue May 9 11:12:19 PDT 2017


Hi Domining,

Please check out this article.

https://prosauce.org/blog/2016/1/11/minnowboard-max-enable-and-test-the-firmware-txe-tpm-20

Also, there has been a person in the MinnowBoard GitHub issue tracker who successfully enabled TPM2 for this platform. See the thread here:
https://github.com/MinnowBoard-org/bugs-and-help/issues/29

Thanks,
Ulf

From: <yocto-bounces at yoctoproject.org> on behalf of Dominig Foll <dominig.arfoll at fridu.net>
Date: Tuesday, May 9, 2017 at 8:12 AM
To: "yocto at yoctoproject.org" <yocto at yoctoproject.org>
Subject: [yocto] how to activate tpm

Hello,

I am trying to get tpm working on a Minnowboard and a Joule.
I have enabled tpm in meta-security.
I can see that the Kernel config looks good (see extract bellow)
tpm is enable in the BIOS (fails with TPM>PTT or dTPM 2.0)
BUT i still cannot see my tpm device in /sys/class/tpm

Has anyone succeeded to enable tpm with meta-security ?
If yes, I would be interested to know how you have done.


--

Dominig ar Foll

Senior Software Architect

Intel Open Source Technology Centre



------- log device not visible ----------

tcsd -f

TCSD TDDL ERROR: Could not find a device to open!

root at intel-corei7-64:~# modprobe -D tpm

builtin tpm

root at intel-corei7-64:~# modprobe -D tpm_tis

builtin tpm_tis

root at intel-corei7-64:/tmp# ls /sys/class/tpm

root at intel-corei7-64:/tmp#



--------- kernel config extract --------------



CONFIG_HW_RANDOM_TPM=m

# CONFIG_NVRAM is not set

# CONFIG_R3964 is not set

# CONFIG_APPLICOM is not set

# CONFIG_MWAVE is not set

# CONFIG_RAW_DRIVER is not set

CONFIG_HPET=y

CONFIG_HPET_MMAP=y

CONFIG_HPET_MMAP_DEFAULT=y

# CONFIG_HANGCHECK_TIMER is not set

CONFIG_TCG_TPM=y

CONFIG_TCG_TIS_CORE=y

CONFIG_TCG_TIS=y

# CONFIG_TCG_TIS_SPI is not set

# CONFIG_TCG_TIS_I2C_ATMEL is not set

# CONFIG_TCG_TIS_I2C_INFINEON is not set

# CONFIG_TCG_TIS_I2C_NUVOTON is not set

# CONFIG_TCG_NSC is not set

# CONFIG_TCG_ATMEL is not set

# CONFIG_TCG_INFINEON is not set

CONFIG_TCG_CRB=y

CONFIG_TCG_VTPM_PROXY=y

# CONFIG_TCG_TIS_ST33ZP24_I2C is not set

# CONFIG_TCG_TIS_ST33ZP24_SPI is not set

# CONFIG_TELCLOCK is not set

CONFIG_DEVPORT=y

# CONFIG_XILLYBUS is not set






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170509/6a701500/attachment.html>


More information about the yocto mailing list