Set Component Parameters
更新时间: 2026/08/06
在Gitcode上查看源码Set Component Parameters
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Set equipment parameters.
Privilege
BasicSetting
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 = 8Fh |
| 5:8 | Component Type, LS Byte first [31]: value range flag of the device type 0- device type identifier. For details, see the definition of PLDM Entity ID Code tables in the DMTF specification document DSP0249. 1- device type identifier. For details, see the Table 3 definition table. [16:30]: reserved [0:15]: device type identifier |
| 9 | Group ID. 0xFF indicates an invalid value. If the device ID is not globally unique in the product, this field must be set based on the product plan. The background performs indexing based on the group ID and device ID. If the device ID is globally unique in the product, this field is set to an invalid value. The background performs indexing only based on the device ID. If the device number is globally unique but filled with a valid value or the device number is not globally unique but filled with an invalid value, C9h is returned. |
| 10:11 | Component Id, LS Byte first Device number. If the device supports the silkscreen number, the value is the same as the silkscreen number. If the device does not support the silkscreen number, the value is the logical number. |
| 12:13 | Parameter Selector, LS Byte first. Different parameters are used as follows: General type. The Selector is limited to [0x0000, 0xBFFF], which is applicable to all device types. For details, see Table 1.Dedicated type. The value range of Selector is [0xC000, 0xFFFF]. For details, see Table 2. |
| 14 | [7:1]: reserved [0]: cascading flag 0: last data 1: middle data |
| 15:16 | Write Offset, LS Byte first Offset of the data to be written. The value starts from 0. If the data is long and needs to be written for multiple times, the data must be written from the beginning to the end in sequence. |
| 17 | Length Write length N |
| 18:17+N | Parameter Data: The value varies according to the value of Parameter Selector. General type. The Selector is limited to [0x0000, 0xBFFF], which is applicable to all device types. For details, see Table 1.Dedicated type. The value range of Selector is [0xC000, 0xFFFF]. For details, see Table 2. |
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. |
Table 1 Common device component parameters
| Parameter Selector | Function | Parameter Data-Get | Parameter Data-Set |
|---|---|---|---|
| 0000h | Component SN | Request: Offset=00h Length=FFh Response: EndOfList=00h Data=SN of the component to be queried. If the component to be queried does not exist, the value is an empty string. | Not supported |
| 0001h | Part PN | Request: Offset=00h Length=FFh Response: EndOfList=00h Data=PN of the queried component. If the component to be queried does not exist, the value is an empty string. | Not supported |
Table 2 Component parameters of dedicated devices
| Parameter Selector | Function | Parameter Data-Get | Parameter Data-Set |
|---|---|---|---|
| C000h | Resetting the NPU Module | N/A | Only Component Type=0x8000005C is supported. Request: Group Id: 0xFF Component Id: slot ID of the NPU module Write Offset: 0x0000 Length: 1 Data: data1: reset area type 0xFF: all domains 0x00 = reserved 0x01 = compute unit Output parameters: none. |
Command Example
Reset the NPU module compute unit.
Request:
bash
ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x8f 0x5c 0x00 0x00 0x80 0xff 0x01 0x00 0x00 0xc0 0x00 0x00 0x00 0x01 0x01Response:
text
db 07 00