In the mean time I have discovered one ddr-controller-parameter that can make my unstable protos good.
This new setting is now under test on all prototypes but this is definitely a better ddr-controller setting for my boards.
You can add next info to the ticket.
parameter “timing_cfg1[29:31 wrtord]”
tWTR min = greater of 4CK or 7.5ns (Micron datasheet & CK=333Mhz_3.0ns)
WRTORD = 4CK min <<<<
WRTORD = (tWTR+2cycles) if ddr_sdram_cfg2[OBC_CFG]=1 >> tWTR min = 4+2=6
“OBC: On_the_fly_Burst_chop” is not used >> parameter WRTORD = 4 (in my old reg-settings). <<< Correction 4jan18: OBC=on, explaining unstability
As soon as I make WRTORD > 4 , the unstable protos become stable.
To create max margin max setting 7 ck is used.
#define CONFIG_SYS_DDR_TIMING_1 0xBCBBE747 /* caslat=6,wrrec=7,wtr=7 */
#define CONFIG_SYS_DDR_MODE_1 0x00041621 /* sdram:caslat=6,wrrec=7,Rtt=60,ods=half */