Set Cpld Channel
更新时间: 2026/08/06
在Gitcode上查看源码Set Cpld Channel
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to switch the CPLD channel.
Privilege
N/A
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 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 | Subcommand, subcommand=63h |
| 5 | Channel type iBMCBMC V2 supports the following functions: 0-Front Hdd Backplane 1-Rear Hdd Backplane 2-Inner Hdd Backplane 3-PSU Backplane 4-NPU Board 1 5-NPU Board 2 Channels 4 to 20 are reserved for expansion of the NPU board. If other types of CPLD channels are added, start from 21. 21-Basic Computing Backplane 22-Fan Backplane 254-Determining the Test Object by Component Type (To Be Implemented) 255-Default other reserved iBMCBMC V3 supports the following functions: 0-Front Hdd Backplane 21-Basic Computing Backplane, used to test the BCU CPLD 22-Fan Backplane, test fan board 254-Determining Test Objects by Component Type 255-Default: expansion board other reserved |
| (6) | This byte is available only when Channel Type is set to 254. Component type. For details, see Table Table 3. |
| (7) | This byte is available only when Channel Type is set to 254. Indicates the index of the JTAG link test channel. You can run the Get Cpld Manufacturer ID command to query the index (the query information type is 255). |
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. |
| 5 | Cpld Channel Value |
Command Example
Switch the CPLD channel to the front hard disk backplane.
Request:
bash
ipmitool raw 0x30 0x90 0xdb 0x07 0x00 0x63 0x00Response:
text
0x00 0xdb 0x07 0x00 0x10