Set Hardware Registers Information
更新时间: 2026/08/06
在Gitcode上查看源码

Set Hardware Registers Information

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Sets hardware register information.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD90h
1Sub command, sub command=73h
2Type (hardware protocol type)
1: CPLD by localbus
2: GPIO
3Chip 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:5Addr (component address), LS-byte first
Defaults to 0.
6:7Offset (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.
8Length (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:NData (set data)

Response Information

ByteData Field
1Completion 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 0

Response:

text
0f 31 00 92 00 db 07 00

Back to Index