Get Eye Diagram Test Infomation
更新时间: 2026/08/06
在Gitcode上查看源码Get Eye Diagram Test Infomation
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
To query the eye pattern test result
Privilege
N/A
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command = 6 Ah |
| 2 | Option test options: 0: Start the test. 1: Query the test result. |
| 3 | DeviceType: device type. The options are as follows: 0: PCIe0 1: PCIe1 2: GMAC2 3: GMAC3 4: USB other reserved |
| 4 | Data type: 0: test width 1: real width 2: test length 3: real length |
| 5 | ScopeSel type: 0: before AFE sampling 1: after AFE sampling |
| 6-9 | CompareValue: value of noise to be removed. A larger value indicates more noise to be removed. The lower byte is in the front. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 0x0: The command is executed successfully. 0x80: When the option of the request parameter is 1 (querying the test result), 0x80 is returned, indicating that the eye pattern test data is not ready and needs to be retried. Other return codes: The command execution is abnormal. |
| 2 | ASCII code length of the eye pattern test result |
| 3:N | ASCII code value of the eye pattern test result For example, if the ASCII code is 0x32 0x32 0x2e 0x30, the return value is 22.0. |
Command Example
Obtain the test width of the PCIe0 eye pattern. The value of scope_sel is 0, and the value of compareValue is 1.
Request:
bash
ipmitool raw 0x30 0x90 0x6A 0x1 0x0 0x0 0x0 0x1 0x0 0x0 0x0Response:
text
0x00 0x4 0x32 0x32 0x2e 0x30