Write SMBIOS Data
更新时间: 2026/08/06
在Gitcode上查看源码Write SMBIOS Data
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 write SMBIOS data.
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, sub command=04h |
| 5 | BIOS ID: This parameter is reserved for multi-host scenarios. In single-host scenarios, this parameter has a fixed value of 0. |
| 6 | Operations: 00h: Write Prepare 01h: Write Data 03h: Write Finish |
| (7) | Data checksum. If the value of Operation is Write Data, this field indicates the data checksum. When Operation is Write Finish, this field indicates the checksum of the entire SMBIOS data structure. This byte must be specified if the value of Operation is Write Data and Write Finish. |
| (8:11) | Offset to write, LSB First Offset of the data segment relative to the start position of the SMBIOS structure. This field must be specified if the value of Operation is Write Data. |
| (12:n) | Data Data content. The length of the IPMI command cannot exceed 255 bytes, that is, n cannot be greater than 248. This field must be specified if the value of Operation is Write Data. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 00h: Command Completed Normally 80h: Invalid Checksum 81h: Wrong Data Offset D5h: Invalid Status |
| 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:8) | Required offset. Indicates the offset address for requesting the BIOS to start retransmission. This field is optional. This field is required only when the completion code is 81h. |
Command Example
Write SMBIOS data.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN