Hello igor,
I tested DDR3 with uboot mtest command on the 8 boards(our custom boards).
Some boards fails in executing uboot and some boards returns mtest errors.
It seems to be caused by problems in accessing DDR3.
On the other hand, I observe that mtest is passing on 8 boards using the DDR3 init script for the reference board(SabreSD) as it is, which is "DDR_Stress_Tester_v2.30\ddr_stress_tester_v2.30\script\mx6dq\MX6Q_SabreSD_DDR3_1GB_64bit.inc".
I also found the DDR3 initialization Script Generation Aid at https://community.freescale.com/docs/DOC-105963.
By editting specific register values we are able to obtain the same file with the above-mentioned "MX6Q_SabreSD_DDR3_1GB_64bit.inc".
Modified registers are as follows:
1) tAOFPD (0x021B0008) :8.5(original) --> 0.1~3.7 (modified)
2) tAONPD (0x021B0008) :8.5 -->1.9~3.7
3) tWR (0x021B0010) :15 --> 134~135
4) MR0: DLL (0x021B001C) :1 --> 9
The original settings are matched with our DDR3 datasheet, but the above modification is made for "MX6Q_SabreSD_DDR3_1GB_64bit.inc".
Our observation shows these modfication should have critical influence on stable DDR3 performance on our boards.
I would like to clarify why SabreSD init script is OK and our calibrated script is causing errors.
Regards,
Shoji