Hi All,

Ubuntu16.04 with the kernel 4.16.2:

I use a spi port2 with a FIFO TPM2.0 and  two flash on the spi port 0/1.

First, I unload drivers of spi controller and test the TPM2.0 (built-in tpm_tis.o)

#tpm2_abrmd –tcti=”device:/dev/tpm0” –allow-root &

#tpm2_pcrlist

#tpm2_nvlist

And I can use tpm2-tools to test and it is normal .

 

Then I load spi controller driver, and test /dev/mtd0 at spi port0 that can work well.

But when I run the commad  “tpm2_nvlist” , it shows a error.

#tpm2_nvlist

ERROR: Tss2_Sys_GetCapability(0x97) –tpm: handle(unk): incorrect structure tag

ERROR: Unable to run tpm2_nvlist

 

PS:

tpm2-tss 2.1.0

Tpm2-abrmd 2.0.3_rc0

Tpm2-tools 3.0.2

 

Best regards,

Sherry Zhang

 



保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.