From: Sherry Zhang(BJ-RD) <SherryZhang at zhaoxin.com>
To: tpm2@lists.01.org
Subject: [tpm2] SPI TPM and SPI flash can not work at the same time
Date: Tue, 06 Nov 2018 04:13:58 +0000 [thread overview]
Message-ID: <28a77a01b97f4e83bab04f490f9ac24f@zhaoxin.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]
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.
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 5089 bytes --]
next reply other threads:[~2018-11-06 4:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-06 4:13 Sherry Zhang [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-11-13 16:43 [tpm2] SPI TPM and SPI flash can not work at the same time Roberts, William C
2018-11-14 4:28 Sherry Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28a77a01b97f4e83bab04f490f9ac24f@zhaoxin.com \
--to=tpm2@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox