Hey there madprops,
>
> On Sun, Mar 18, 2018 at 02:04:15PM +0100, madprops(a)gmx.net wrote:
> > <html><head>
> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
> > <div class="signature">
> > <div class="signature">
> > <div>I'm trying to get an "Infineon Iridium SLB 9670 TPM 2.0 SPI Board" run on my Raspberry Pi 3. I have downloaded, compiled and installed the latest versions of tpm2-abrmd, tpm2-tss and tpm2-tools. I started tpm2-abrmd as root, hoping that I can then interact with the Infineon TPM using tpm2-tools. "tpm2_pcrlist" and all other tpm2_* commands, however, return error "ERROR: Failed to initialize tcti context: 0x1".</div>
> >
>
> Can you please provide some more info about your configuration?
> Specifically:
> - the version of the TSS2 libraries you're using
> - the version of the tabrmd you're using
> - the configuration options you're passing to each
>
> A log file from the tabrmd with logging dialed all the way up would be
> helpful. Since tabrmd uses glib and it's logging infrastructure you dial
> up the debug output all the way by setting `G_MESSAGES_DEBUG=all` in the
> daemon's environment.
>
> > <div> </div>
> >
> > <div>Any ideas? Thanks!</div>
>
> The most common issue we've seen people run into when installing from
> source is that the default value for the `prefix` and some other
> installation directories aren't what most expect.
>
> Still, if you're running the daemon as root you shouldn't have any
> issues w/r to permissions on the /dev/tpm0 device node so I wonder if
> this node even exists on your platform. You may want to check to see if
> `/dev/tpm0` is even present on your system. You're on an ARM platform
> which means the kernel will only be aware of the TPM2 device you've
> added if you configure the device tree properly.
>
> Regards,
> Philip
>
> > <div>pi(a)raspberrypi:~/TPM/tpm2-abrmd $ uname -a<br>
> > Linux raspberrypi 4.4.50-v7+ #1 SMP Wed Mar 14 14:01:00 PDT 2018 armv7l GNU/Linux (<== includes patch provided by Infineon)</div>
> >
> > <div> </div>
> >
> > <div>pi(a)raspberrypi:~/TPM/tpm2-abrmd $ dmesg | grep tpm<br>
> > [ 3.700384] tpm_spi_tis spi0.1: 2.0 TPM (device-id 0xB6BC, rev-id 16)</div>
> >
> > <div> </div>
> >
> > <div>pi(a)raspberrypi:/etc $ cat /etc/os-release<br>
> > PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"<br>
> > NAME="Raspbian GNU/Linux"<br>
> > VERSION_ID="9"<br>
> > VERSION="9 (stretch)"<br>
> > ID=raspbian<br>
> > ID_LIKE=debian<br>
> > HOME_URL="
http://www.raspbian.org/"<br>
> > SUPPORT_URL="
http://www.raspbian.org/RaspbianForums"<br>
> > BUG_REPORT_URL="
http://www.raspbian.org/RaspbianBugs"</div>
> > </div>
> > </div>
> > </div></div></body></html>
>
> > _______________________________________________
> > tpm2 mailing list
> > tpm2(a)lists.01.org
> >
https://lists.01.org/mailman/listinfo/tpm2
>