Set DDR Test Configuration
更新时间: 2026/08/06
在Gitcode上查看源码Set DDR Test Configuration
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Delivers the DDR test configuration.
Privilege
DiagnoseMgmt
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 | Sub command, sub command=78h |
| 5 | Length: command length |
| 6:9 | Trfcab: updates the allbank and LSB first parameters. The value is [0, 0xffffffff], and the default value is 0xffffffff. |
| 10:13 | Trfcpb: updates the perbank and LSB first parameters. The value range is [0, 0xffffffff], and the default value is 0xffffffff. |
| 14:17 | Trpab: timing parameter allbank or LSB first. The value range is [0, 0xffffffff], and the default value is 0xffffffff. |
| 18:21 | Trppb: timing parameter perbank, LSB first. The value range is [0, 0xffffffff], and the default value is 0xffffffff. |
| 22:25 | ExmbistBitmap: Exmbist algorithm bitmap, LSB first. The value range is [0, 0xffffffff], and the default value is 0. |
| 26 | MarginSwitch: indicates whether to enable the margin test during DDR initialization. The value range is [0, 1], and the default value is 0. 0: The margin test is disabled. 1: margin test enabled |
| 27 | EyescanSwitch: whether to enable the eye pattern test during DDR initialization. The value range is [0, 1], and the default value is 0. 0: The eye pattern test is disabled. 1: The eye pattern test is enabled. |
| 28 | EyescanDirection: eye pattern test direction. The value range is [0, 4] and the default value is 0. 0 = TX 1 = RX_EVEN 2 = RX_ODD 3 = RX_LS 4 = RX_EVEN_N_ODD |
| 29 | EyescanPattern: Algorithm of the eye pattern test stream. The value is [0, 6] and the default value is 0. 0 = PRBS7 1 = LFSR 2 = PRBS15 3 = PRBS31 4 = all 0s 5 = all 1s 6 = Clock code |
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 | Result: 0: The command is successfully sent. 1: The command fails to be sent. |
Command Example
Deliver the DDR test configuration.
Request:
bash
ipmitool raw 0x30 0x90 0xDB 0x07 0x00 0x78 0x04 0xff 0xff 0xff 0xffResponse:
text
db 07 00 00