<html><head></head><body>Apologies for briefness in this, I'm traveling, but the reason this isn't working is the kernel needs to be informed where the Atmel chip is. The quickest way is to write a small kernel module typically referred to as a board file. You can find an example of several of these in the minnow-max-extras repo on github. Basically you need to load the bus, and address of where the Atmel chip is, since it can't be auto discovered like pci, usb, etc.<br>
<br>
- John "Warthog9" Hawley<br><br><div class="gmail_quote">On November 16, 2015 10:11:49 AM CST, Sebastien Duc <sebastien.duc@yoti.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div>Hi all,</div><div><br /></div><div>Please bare with me if something I am saying is wrong, I don't have much experience with TPMs or I2C.<br /></div><div><br /></div><div>I recently acquired a minnowboard max to attempt some experimentation with TPMs.</div><div>I have also bought a separate TPM from Atmel (it's the TPM i2c development Kit AT97SC3205T).</div><div><br /></div><div>So far I have connected the TPM board to the Minnowboard through i2c. I made sure to connect pin 2 (the ground) and 4 (+3V3) of the Minnowboard to the corresponding GND and VCC of my TPM board. I also connected pin 13 (SCL) and 15 (SDA) to the corresponding SCL and SDA of the TPM board.</div><div><br /></div><div>I have installed Debian on the board and made sure to build a kernel that has tpm_i2c_atmel as a module. The version of my kernel is 4.3.0.</div><div><br /></div><div>Now I am trying to load the kernel module as so:</div><div># insmod tpm_i2c_atmel.ko</div><div><br
/></div><div>The insmod is being executed without any errors and I cannot see anything in dmesg.</div><div>However when looking at my devices, I don't see any tpm0 in /dev.</div><div><br /></div><div>I can also see tpm_i2c atmel.ko in the list of loaded modules when looking at</div><div># lsmod</div><div><br /></div><div>Therefore when I am trying to start tcsd, it fails:</div><div># tcsd -f</div><div># TCSD TDDL ERROR: Could not find a device to open!</div><div><br /></div><div>I also made sure in the BIOS to enable Discrete TPM.</div><div><br /></div><div>So my guess is that either my TPM is not properly connect but I don't really know how to test this. Or I am missing some software configuration somewhere.</div><div><br /></div><div>I was hoping that someone could help me with this. How can I know if I did the connectivity properly? What configuration do I need to do before being able to talk to the TPM, especially to use the i2c pins on the Minnowboard?</div><di
v><br
/></div><div>Let me know if you need more information.</div><div><br /></div><div>Thanks,</div><div>Sebastien</div>
</div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />elinux-MinnowBoard mailing list<br />elinux-MinnowBoard@lists.elinux.org<br /><a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a><br /></pre></blockquote></div></body></html>