This is a DRAM stability report for various Allwinner A10/A13/A20 hardware has been generated by the tools from https://github.com/ssvb/a10-meminfo. We primarily focus on finding an optimal dram_tpr3 value to be used in the u-boot-sunxi bootloader (this is where it is configured for the Cubietruck board). The dram_tpr3 parameter is just a hexadecimal number with the following bit fields:

See the RK30XX manual for more details about MFWDLY/MFBDLY/SDPHASE, because they are apparently using the same DRAM controller as Allwinner A10/A13/A20.

Results interpretation (some results are a mix of RED and YELLOW):

A10-Lime, dram_clock=528MHz (reliability for different dram_tpr3 settings)
dram_clk = 528
dram_type = 3
dram_rank_num = 1
dram_chip_density = 4096
dram_io_width = 16
dram_bus_width = 16
dram_cas = 9
dram_zq = 0x7f
dram_odt_en = 0
dram_tpr0 = 0x42d899b7
dram_tpr1 = 0xa090
dram_tpr2 = 0x22a00
dram_tpr3 = 0x0
dram_emr1 = 0x4
dram_emr2 = 0x10
dram_emr3 = 0x0
MFxDLY \ SDPHASE36547290108126144
70x0733330x0722220x0711110x0700000x07EEEE0x07DDDD0x07CCCC
60x0633330x0622220x0611110x0600000x06EEEE0x06DDDD0x06CCCC
50x0533330x0522220x0511110x0500000x05EEEE0x05DDDD0x05CCCC
40x0433330x0422220x0411110x0400000x04EEEE0x04DDDD0x04CCCC
30x0333330x0322220x0311110x0300000x03EEEE0x03DDDD0x03CCCC
20x0233330x0222220x0211110x0200000x02EEEE0x02DDDD0x02CCCC
10x0133330x0122220x0111110x0100000x01EEEE0x01DDDD0x01CCCC
00x0033330x0022220x0011110x0000000x00EEEE0x00DDDD0x00CCCC
80x0833330x0822220x0811110x0800000x08EEEE0x08DDDD0x08CCCC
100x1033330x1022220x1011110x1000000x10EEEE0x10DDDD0x10CCCC
180x1833330x1822220x1811110x1800000x18EEEE0x18DDDD0x18CCCC
200x2033330x2022220x2011110x2000000x20EEEE0x20DDDD0x20CCCC
280x2833330x2822220x2811110x2800000x28EEEE0x28DDDD0x28CCCC
300x3033330x3022220x3011110x3000000x30EEEE0x30DDDD0x30CCCC
380x3833330x3822220x3811110x3800000x38EEEE0x38DDDD0x38CCCC

Cubieboard2, dram_clock=528MHz, dcdc3=1.25v (reliability for different dram_tpr3 settings)
dram_clk = 528
dram_type = 3
dram_rank_num = 1
dram_chip_density = 4096
dram_io_width = 16
dram_bus_width = 32
dram_cas = 9
dram_zq = 0x7f
dram_odt_en = 0
dram_tpr0 = 0x42d899b7
dram_tpr1 = 0xa090
dram_tpr2 = 0x22a00
dram_tpr3 = 0x0
dram_emr1 = 0x4
dram_emr2 = 0x10
dram_emr3 = 0x0
MFxDLY \ SDPHASE36547290108126144
70x0733330x0722220x0711110x0700000x07EEEE0x07DDDD0x07CCCC
60x0633330x0622220x0611110x0600000x06EEEE0x06DDDD0x06CCCC
50x0533330x0522220x0511110x0500000x05EEEE0x05DDDD0x05CCCC
40x0433330x0422220x0411110x0400000x04EEEE0x04DDDD0x04CCCC
30x0333330x0322220x0311110x0300000x03EEEE0x03DDDD0x03CCCC
20x0233330x0222220x0211110x0200000x02EEEE0x02DDDD0x02CCCC
10x0133330x0122220x0111110x0100000x01EEEE0x01DDDD0x01CCCC
00x0033330x0022220x0011110x0000000x00EEEE0x00DDDD0x00CCCC
80x0833330x0822220x0811110x0800000x08EEEE0x08DDDD0x08CCCC
100x1033330x1022220x1011110x1000000x10EEEE0x10DDDD0x10CCCC
180x1833330x1822220x1811110x1800000x18EEEE0x18DDDD0x18CCCC
200x2033330x2022220x2011110x2000000x20EEEE0x20DDDD0x20CCCC
280x2833330x2822220x2811110x2800000x28EEEE0x28DDDD0x28CCCC
300x3033330x3022220x3011110x3000000x30EEEE0x30DDDD0x30CCCC
380x3833330x3822220x3811110x3800000x38EEEE0x38DDDD0x38CCCC

Test run #1: Cubietruck, dram_clock=552MHz, dcdc3=1.35v - overvolted! (reliability for different dram_tpr3 settings)
dram_clk = 552
dram_type = 3
dram_rank_num = 1
dram_chip_density = 4096
dram_io_width = 8
dram_bus_width = 32
dram_cas = 9
dram_zq = 0x7f
dram_odt_en = 0
dram_tpr0 = 0x3c9688b4
dram_tpr1 = 0xa090
dram_tpr2 = 0x210c0
dram_tpr3 = 0x72222
dram_emr1 = 0x4
dram_emr2 = 0x10
dram_emr3 = 0x0
MFxDLY \ SDPHASE36547290108126144
70x0733330x0722220x0711110x0700000x07EEEE0x07DDDD0x07CCCC
60x0633330x0622220x0611110x0600000x06EEEE0x06DDDD0x06CCCC
50x0533330x0522220x0511110x0500000x05EEEE0x05DDDD0x05CCCC
40x0433330x0422220x0411110x0400000x04EEEE0x04DDDD0x04CCCC
30x0333330x0322220x0311110x0300000x03EEEE0x03DDDD0x03CCCC
20x0233330x0222220x0211110x0200000x02EEEE0x02DDDD0x02CCCC
10x0133330x0122220x0111110x0100000x01EEEE0x01DDDD0x01CCCC
00x0033330x0022220x0011110x0000000x00EEEE0x00DDDD0x00CCCC
80x0833330x0822220x0811110x0800000x08EEEE0x08DDDD0x08CCCC
100x1033330x1022220x1011110x1000000x10EEEE0x10DDDD0x10CCCC
180x1833330x1822220x1811110x1800000x18EEEE0x18DDDD0x18CCCC
200x2033330x2022220x2011110x2000000x20EEEE0x20DDDD0x20CCCC
280x2833330x2822220x2811110x2800000x28EEEE0x28DDDD0x28CCCC
300x3033330x3022220x3011110x3000000x30EEEE0x30DDDD0x30CCCC
380x3833330x3822220x3811110x3800000x38EEEE0x38DDDD0x38CCCC

Test run #2: Cubietruck, dram_clock=552MHz, dcdc3=1.35v - overvolted! (reliability for different dram_tpr3 settings)
dram_clk = 552
dram_type = 3
dram_rank_num = 1
dram_chip_density = 4096
dram_io_width = 8
dram_bus_width = 32
dram_cas = 9
dram_zq = 0x7f
dram_odt_en = 0
dram_tpr0 = 0x3c9688b4
dram_tpr1 = 0xa090
dram_tpr2 = 0x210c0
dram_tpr3 = 0x72222
dram_emr1 = 0x4
dram_emr2 = 0x10
dram_emr3 = 0x0
MFxDLY \ SDPHASE36547290108126144
70x0733330x0722220x0711110x0700000x07EEEE0x07DDDD0x07CCCC
60x0633330x0622220x0611110x0600000x06EEEE0x06DDDD0x06CCCC
50x0533330x0522220x0511110x0500000x05EEEE0x05DDDD0x05CCCC
40x0433330x0422220x0411110x0400000x04EEEE0x04DDDD0x04CCCC
30x0333330x0322220x0311110x0300000x03EEEE0x03DDDD0x03CCCC
20x0233330x0222220x0211110x0200000x02EEEE0x02DDDD0x02CCCC
10x0133330x0122220x0111110x0100000x01EEEE0x01DDDD0x01CCCC
00x0033330x0022220x0011110x0000000x00EEEE0x00DDDD0x00CCCC
80x0833330x0822220x0811110x0800000x08EEEE0x08DDDD0x08CCCC
100x1033330x1022220x1011110x1000000x10EEEE0x10DDDD0x10CCCC
180x1833330x1822220x1811110x1800000x18EEEE0x18DDDD0x18CCCC
200x2033330x2022220x2011110x2000000x20EEEE0x20DDDD0x20CCCC
280x2833330x2822220x2811110x2800000x28EEEE0x28DDDD0x28CCCC
300x3033330x3022220x3011110x3000000x30EEEE0x30DDDD0x30CCCC
380x3833330x3822220x3811110x3800000x38EEEE0x38DDDD0x38CCCC

Notes: