Get Smbios Info
更新时间: 2026/08/06
在Gitcode上查看源码Get Smbios Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to query SMBIOS information.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 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, sub command = 0 Ah |
| 5 | Parameter selector [7]-reserved [6:0]-Smbios parameter selector |
| 6 | [7:0]-Set Selector Selects a particular block or set of parameters under the given parameter selector Write as 00h if parameter doesn't use a Set Selector |
| 7 | [7:0]-Block Selector Selects a particular block within a set of parameters Write as 00h if parameter doesn't use a Block Selector |
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:N | Data. For details, see SMBIOS information. |
Reference
Table 1 SMBIOS information.
| Parameter | # | Parameter Data |
|---|---|---|
| CPU Info | 1 | CPU Info: data 1-set selector indicates the sequence number of the parameter to be read in a series of parameters of the same type. for example, CPU1 or CPU2. data 2-block selector indicates the sequence number of the block of an item in the parameter that is read. The length of each block is 16 bytes. data 3-set number indicates the number of sets. data 4: 19-16-byte block data. The first byte of the first block indicates the total length of an attribute. |
| Memory Info | 2 | Memory Info: data 1-set selector indicates the sequence number of the parameter to be read in a series of parameters of the same type. for example, Mem1 or Mem2. data 2-block selector indicates the sequence number of the block of an item in the parameter that is read. The length of each block is 16 bytes. data 3-set number indicates the number of sets. data 4: 19-16-byte block data. The first byte of the first block indicates the total length of an attribute. |
Command Example
Query SMBIOS information.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN