Hi, im having real trouble getting tpm2-support with poky 4.2.1 (mickledore) to work on an intel board.
So far I added meta-security and installed packagegroup-security-tpm2 to my image. The kernel seems to recognise the tpm module dmsg | grep tpm tpm_tis IFX0785:00: 2.0 TPM (device-id 0x1B, rev-id 22) tpm tpm0: tpm_read_log_acpi: Failed to map ACPI memory and the device links are in place: crw-rw---- 1 tss tss 10, 224 Jun 27 06:19 /dev/tpm0 crw-rw---- 1 root tss 253, 65536 Jun 27 06:19 /dev/tpmrm0 However, tpm2_selftest -V results in root@intel-corei7-64:/# tpm2_selftest -V ** (process:361): CRITICAL **: 06:46:38.858: failed to allocate dbus proxy object: Error calling StartServiceByName for com.intel.tss2.Tabrmd: Timeout was reached ERROR:tcti:/usr/src/debug/tpm2-tss/4.0.1-r0/src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-tabrmd.so.0 WARNING:tcti:/usr/src/debug/tpm2-tss/4.0.1-r0/src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 2321: errno 111: Connection refused ERROR:tcti:/usr/src/debug/tpm2-tss/4.0.1-r0/src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:/usr/src/debug/tpm2-tss/4.0.1-r0/src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-swtpm.so.0 ERROR:tcti:/usr/src/debug/tpm2-tss/4.0.1-r0/src/tss2-tcti/tctildr-dl.c:269:tctildr_get_default() No standard TCTI could be loaded ERROR:tcti:/usr/src/debug/tpm2-tss/4.0.1-r0/src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI ERROR: Could not load tcti, got: "(null)" Any ideas where to start. Digging at Google is not very helpful ...
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8020): https://lists.yoctoproject.org/g/meta-intel/message/8020 Mute This Topic: https://lists.yoctoproject.org/mt/99804855/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
