Set BIOS Configuration
更新时间: 2026/08/06
在Gitcode上查看源码Set BIOS Configuration
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Setting BIOS Configuration Items
Privilege
UserMgmt
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=8Ch |
| 5 | System ID, which is used to query the BIOS option of the corresponding system. |
| 6:7 | Reserved field. The default value is 0. |
| 8 | Property Length: indicates the length of the property name. The length is recorded as M. |
| 9:8+M | Property name, which is case sensitive. |
| M+9 | Value Type: attribute value type. 0: character string; 1: number. |
| M+10 | Value Length: indicates the length of an attribute value. The length is recorded as N. |
| M+11:M+N+10 | Value: attribute value, which is an ASCII character string. If the value is a number, the value is in little-endian format. For example, if the type is 0 and the attribute value is 0x68, it indicates "h." If the type is 1 and the attribute value is 0x68, it indicates 104. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code C9h: ParmOutOfRange. The corresponding attribute is not found or the attribute value is not within the allowed range. C7h: ReqDataLenInvalid, indicating that the command length is incorrect |
| 2 | 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. |
Command Example
Example
Request:
bash
ipmicmd -k "0f 00 30 93 \{ManufacturerId\} 8C \{SystemId\} \{Type\} \{Reserved\} \{Length\} \{Property\} \{Type\} \{Value Length\} \{Value\}" smi 0Response:
text