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: <[email protected]> on behalf of Dominig Foll 
<[email protected]>
Date: Tuesday, May 9, 2017 at 8:12 AM
To: "[email protected]" <[email protected]>
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@intel-corei7-64:~# modprobe -D tpm

builtin tpm

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

builtin tpm_tis

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

root@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






-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to