Get Cpld Space Test Result Information
更新时间: 2026/08/06
在Gitcode上查看源码Get Cpld Space Test Result Information
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
To query the CPLD full resource detection result
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | SubCmd. The value is fixed at 84h. |
| 2:5 | Component Type, LS Byte first: board type. [31]: device type identifier 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 definition of the device type (Component Type). [16:30]: reserved. The default value is 0. [0:15]: device type identifier. The current component type corresponds to the board type: BCU: 0xC0, EXU: 0xC1 and SEU: 0xC2, CLU: 0xC4. The board type must be specified during query. |
| 6 | Slot: indicates the slot of a board. ComponetType specifies the board type, and Slot specifies the board slot, for example, BCU2. The default value (0xFF) indicates that all full check results of a specified board type are queried. |
Response Information
| Byte order | Domain Content |
|---|---|
| 1 | Completion Code |
| 2 | ResultCount: total number of CPLD self-check results of the ComponetType type corresponding to the last full check. If the environment is not fully checked or the CPLD of the corresponding component type in the environment is not fully checked, the value is 0. |
| 3 | Slot: indicates the slot of a board. Slot number of the board corresponding to the full check result. For example, the slot number of BCU2_CPLD1 is 2. |
| 4 | CpldIndex. Specifies the CPLD ID of the card where the CPLD is located. For example, the CPLD ID of BCU2_CPLD1 is 1, indicating the first CPLD. |
| 5 | TestResult. CPLD test result: OK(0), NOK(1), Cpld not support(2), Testing (3) |
| ... | ... |
| 3N: 3N+ 2 | CPLD check result and CPLD information of group N. For details about the format, see the first group. |
Command Example
Example 1: Query the full resource detection information about all CPLDs corresponding to the basic board (BCU).
Request:
bash
ipmitool raw 0x30 0x90 0x84 0xC0 0x00 0x00 0x80 0xFFResponse:
text
02 01 01 00 01 02 00