i have try by this:
set MDMISC[CALIB_PER_CS] to 0, use ddr_stress_test tool to calibrate and test cs0 with 512MB per chip select. it can pass.
then set MDMISC[CALIB_PER_CS] to 1, to calibrate and test cs1 with 512MB per chip select. it fail:
*******************************************************************************
Error flags: read_dqs_gating: 1, read cal: 1, write cal: 1
**re-running calibration did not resolve, check hw or code
DDR Freq: 528 MHz
MMDC registers updated from calibration
Read DQS Gating calibration
MPDGCTRL0 PHY0 (0x021b083c) = 0x4E001E00
MPDGCTRL1 PHY0 (0x021b0840) = 0x0E000E00
Read calibration
MPRDDLCTL PHY0 (0x021b0848) = 0x40404040
Write calibration
MPWRDLCTL PHY0 (0x021b0850) = 0x40404040
** Error detected during calibration
Error flags: read_dqs_gating: 1, read cal: 1, write cal: 1
>> Attempting to run calibration one more time
MMDC registers updated from calibration
Read DQS Gating calibration
MPDGCTRL0 PHY0 (0x021b083c) = 0x4E001E00
MPDGCTRL1 PHY0 (0x021b0840) = 0x0E000E00
Read calibration
MPRDDLCTL PHY0 (0x021b0848) = 0x40404040
Write calibration
MPWRDLCTL PHY0 (0x021b0850) = 0x40404040
** Error detected during calibration
Error flags: read_dqs_gating: 1, read cal: 1, write cal: 1
**re-running calibration did not resolve, check hw or code
*******************************************************************************
is my way right? i just change MDMISC[CALIB_PER_CS] to 1. i am confused.