I wish I could help you more, but your TPM isn't returning a valid RC.
Since bit 7 is set in 0x97, this indicates that it is a FMT 1 response code.
Fmt 1 response codes have the handle encoded in bit positions 8-11 inclusive.
And is 1-based per
It seems the error bits 0-5 inclusive are 0x17 which is TPM2_RC_TAG.
Which is "a parameter that should be a structure tag has a value that is not
I'm not sure why this is failing on your TPM, do any other tpm2_getcap commands
tpm2_getcap -c properties-fixed
tpm2_getcap -c commands
From: tpm2 [mailto:email@example.com] On Behalf Of Sherry Zhang(BJ-
Sent: Monday, November 5, 2018 8:14 PM
Subject: [tpm2] SPI TPM and SPI flash can not work at the same time
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 &
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
But when I run the commad “tpm2_nvlist” , it shows a error.
ERROR: Tss2_Sys_GetCapability(0x97) �tpm: handle(unk): incorrect structure tag
ERROR: Unable to run tpm2_nvlist
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.