Get Trusted Module Info
更新时间: 2026/08/06
在Gitcode上查看源码

Get Trusted Module Info

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtains the trusted module information reported by the BIOS , such as the TPM/TCM.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD92h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command. Subcommand = 62h

Response Information

ByteData Field
1Completion Code
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5TPM/TCM Presence
1: The SIM card is in position.
0: The SIM card is not in position.
6TPM/TCM Type length=T. The value ranges from 1 to 16 bytes.
(If the value of Presence is 0, the value of this parameter is 3.)
7:6+TType name , for example, TPM, TCM, and TPCM.
(If the value of Presence is 0, the value of this parameter is N/A.)
7+TTPM/TCM Protocol Version, length=P. The value ranges from 1 to 16 bytes. (When the Presence value is 0, the value is 3.)
8+T:7+T+PTPM/TCM Protocol Version
(If the value of Presence is 0, the value of this parameter is N/A.)
8+T+PTPM/TCM Firmware Version, length=F. The value ranges from 1 to 16 bytes. (When the Presence value is 0, the value is 3.)
9+T+P:8+T+P+FTPM/TCM Firmware Version (N/A when Presence is 0)
9+T+P+FTPM/TCM Self-Test Result
1:success
2:fail
0xff: default value. For example, the trusted module does not provide the capability of obtaining self-check information, or Presence is 0 (not in position).
10+T+P+FTPM/TCM Manufacturer, length=M. The value ranges from 1 to 16 bytes. (When the Presence value is 0, the value is 3.)
11+T+P+F:10+T+P+F+MTPM/TCM Manufacturer name (N/A when Presence is 0)

Command Example

The TPM cannot be detected.

Request:

bash
ipmicmd -k "0f 00 30 92 db 07 00 62" smi 0

Response:

text
0f db 07 00 00 03 4e 2f 41 03 4e 2f 41 03 4e 2f 41 02 03 4e 2f 41

Back to Index