Get PCIe Eye Diagram
更新时间: 2026/08/06
在Gitcode上查看源码Get PCIe Eye Diagram
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
| 26.06 | 2026/04/30 | Changed BerThr value to little-endian and fixed the usage example |
Basic Information
Function Description
Querying the Four-Point Eye Pattern and Full Eye Pattern Information of the Management Chip
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1:3 | 0xDB0700 (Little endian. The first byte is DBh, the second byte is 07h, and the third byte is 00h.) |
| 4 | Sub command, sub command=6Bh |
| 5:6 | Chip ID, little endian, unsigned int16 type. This parameter is mandatory and specifies the chip to be operated. The value range depends on the actual environment. |
| 7:8 | Macro ID, little endian, unsigned int16 type. This parameter is mandatory and specifies the macro to be operated. |
| 9:10 | Lane ID, little endian, unsigned int16 type. This parameter is mandatory and specifies the lane to be operated. |
| 11 | Test mode. 0: four-point eye pattern; 1: full eye pattern |
| 12 | ScanMode: specifies the H.25 scanning mode. This parameter is optional. 00h-FIXED_POINT 01h-ISI 02h-WIDTH 03h-HEIGHT FFh-ignored |
| 13 | PreTap: specifies the H10 pre-tap mode. This parameter is optional. The value 0 is invalid. 1h-PRE_TAP_BIT0 2h-PRE_TAP_BIT1 3h-PRE_TAP_BIT01 FFh-ignored |
| 14 | PatternType: specifies the H25 pre-tap mode. This parameter is optional. 00h-PRE_TAP_BIT0 01h-PRE_TAP_BIT1 FFh-ignored |
| 15 | EyeType: specifies the eye type. This parameter is optional. 00h-EYE_BASIC 01h- EYE_TAP1 02h- EYE_TAP2 FFh-ignored |
| 16 | PathType: specifies the scanning path of the H.25 eye pattern. This parameter is optional. 1h-EYE_PATH_Q 2h-EYE_PATH_I 4h-EYE_PATH_QB 5h-EYE_PATH_Q_QB 8h-EYE_PATH_IB Ah-EYE_PATH_I_IB Fh-EYE_PATH_COMPOSITE FFh-ignored |
| 17:20 | Win value, in little endian format. The value is of the unsigned uint32 type. This parameter is optional. The value can be 0xff 0xff 0xff 0xff. By default, this parameter is not transferred and the win value is specified. |
| 21:24 | BerThr value, in little endian format. The value is of the signed int32 type. This parameter is optional. If the value is 0xff 0xff 0xff 0x7f, this parameter is not transferred by default. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | 0xDB0700 (LS Byte first, the first byte is DBh, the second byte is 07h, and the third byte is 00h) |
| 5:8 | Bottom, little endian, signed int32, bottom value of the four-point eye pattern |
| 9:12 | Top, little endian, signed int32 type, top value of the four-point eye pattern |
| 13:16 | Left, little endian, signed int32 type, left value of the four-point eye pattern |
| 17:20 | Right, little endian, signed int32 type, right value of the four-point eye pattern |
Command Example
Obtain the eye pattern information of the management chip.
Request:
bash
ipmitool raw 0x30 0x90 0xDB 0x07 0x00 0x6B 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x7FResponse:
text
db 07 00 00 00 00 00 00 00 00 00 f6 ff ff ff 0a 00 00 00