How to access TPM on UP4000?

torntrousers
torntrousers New Member Posts: 8

Hello, can anyone help with how to use the TPM chip on an UP4000 board running Debian? Just can't get the device to appear.

For other platforms there are guides about how to enable it, eg here for a Pi, or this for Nvidia.

Any ideas what to do for UP4000?

Tagged:

Answers

  • torntrousers
    torntrousers New Member Posts: 8

    Anyone?

    This is the output of trying to access the TPM, which is basically Failed to open specified TCTI device file /dev/tpm0: No such file or directory:

    `
    devkit@up:~$ sudo tpm2_getrandom --hex 8

    ** (process:9747): CRITICAL **: 17:33:46.352: failed to allocate dbus proxy object: Error calling StartServiceByName for com.intel.tss2.Tabrmd: Timeout was reached
    ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-tabrmd.so.0
    ERROR:tcti:src/tss2-tcti/tcti-device.c:452:Tss2_Tcti_Device_Init() Failed to open specified TCTI device file /dev/tpmrm0: No such file or directory
    ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-device.so.0
    ERROR:tcti:src/tss2-tcti/tcti-device.c:452:Tss2_Tcti_Device_Init() Failed to open specified TCTI device file /dev/tpm0: No such file or directory
    ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-device.so.0
    ERROR:tcti:src/tss2-tcti/tcti-device.c:452:Tss2_Tcti_Device_Init() Failed to open specified TCTI device file /dev/tcm0: No such file or directory
    ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-device.so.0
    WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 2321: errno 111: Connection refused
    ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket
    ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-swtpm.so.0
    WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 2321: errno 111: Connection refused
    ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-mssim.so.0
    ERROR:tcti:src/tss2-tcti/tctildr-dl.c:263:tctildr_get_default() No standard TCTI could be loaded
    ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI
    ERROR: Could not load tcti, got: "(null)"
    `

  • HarryChiu
    HarryChiu New Member Posts: 151 ✭✭✭

    Hi @torntrousers

    Please check the CRB Setup in bios, the password is "upassw0rd".
    CRB Setup > CRB Advanced > Trusted Computing
    Modify the Security Device Sup to enable.

    If set to disable.

    Best Regards,
    Harry Chiu

  • torntrousers
    torntrousers New Member Posts: 8

    Hello, thanks for the reply.

    When we go to CRB Setup > CRB Advanced > Trusted Computing it looks like this, saying "No Security Device":

    bios screenshot

  • HarryChiu
    HarryChiu New Member Posts: 151 ✭✭✭

    Hi @torntrousers

    If it is originally disabled and adjusted to enable, the setting must be saved for it to take effect.

    Please press "F4" to save and reset.
    You will get the information like the figure.

    Best Regards,
    Harry Chiu

  • torntrousers
    torntrousers New Member Posts: 8

    Hello, thanks for the reply.

    We have tried that , saving the bios update and reboot etc, but nothing makes the TPM appear.

    Is there something else we could try?

  • HarryChiu
    HarryChiu New Member Posts: 151 ✭✭✭
    edited February 1

    Hi @torntrousers

    Could you please provied your bios version??

    Best Regards,
    Harry Chiu

Tagged

Privacy Policy