Get Trusted Module Info
更新时间: 2026/08/06
在Gitcode上查看源码Get Trusted Module Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial 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
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 92h |
| 1:3 | Manufacturer 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. |
| 4 | Sub command. Subcommand = 62h |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer 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. |
| 5 | TPM/TCM Presence 1: The SIM card is in position. 0: The SIM card is not in position. |
| 6 | TPM/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+T | Type name , for example, TPM, TCM, and TPCM. (If the value of Presence is 0, the value of this parameter is N/A.) |
| 7+T | TPM/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+P | TPM/TCM Protocol Version (If the value of Presence is 0, the value of this parameter is N/A.) |
| 8+T+P | TPM/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+F | TPM/TCM Firmware Version (N/A when Presence is 0) |
| 9+T+P+F | TPM/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+F | TPM/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+M | TPM/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 0Response:
text
0f db 07 00 00 03 4e 2f 41 03 4e 2f 41 03 4e 2f 41 02 03 4e 2f 41