Set Hardware Registers Information
更新时间: 2026/08/06
在Gitcode上查看源码Set Hardware Registers Information
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Sets hardware register information.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command, sub command=73h |
| 2 | Type (hardware protocol type) 1: CPLD by localbus 2: GPIO |
| 3 | Chip ID When Byte2 is 1 (CPLD by localbus), the default value is 1. When there are multiple CPLDs, the value can be changed as required. When byte 2 is 2 (GPIO), the default value is 1. |
| 4:5 | Addr (component address), LS-byte first Defaults to 0. |
| 6:7 | Offset (offset), LS-byte first 01 00: one byte offset When byte 2 is 1 (CPLD by localbus), this field indicates the offset of logical register. When byte 2 (GPIO) is 2, this field indicates the GPIO ID. |
| 8 | Length (length of the data to be read, 1-32 bytes) When byte 2 is 1 (CPLD by localbus), this field is 1. When byte 2 is 2 (GPIO), the value of this field is 1. |
| 9:N | Data (set data) |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
Command Example
Set CPLD register configurations.
Request:
bash
ipmicmd -k "0f 00 30 90 73 01 01 00 00 32 00 01 0x76" smi 0Response:
text
0f 31 00 92 00 db 07 00