Hi Yuri,
The part number is MT29PZZZ8D5BKFTF. It's a EMCP. The HW seems ok. And the problem caused by dcd_hdr and write_dcd_cmd. Please refer below:
dcd_hdr: .word 0x404802D2 /* Tag=0xD2, Len=72*8 + 4 + 4 = 0x0248, Ver=0x40 */
write_dcd_cmd: .word 0x044402CC /* Tag=0xCC, Len=72*8 + 4 = 0x0244, Param=0x04 */
But We still have 20% fail rate on 1GB. These boards are normally on 512MB on Android. But fail to boot if change to 1GB mode (use 2 chip select). And these boards pass ddr test more than 2 hours. Do I missing somethings ?
And do I need to modify "MMDC0_ARB_BASE_ADDR" ?
#define MMDC0_ARB_BASE_ADDR 0x10000000
#define MMDC0_ARB_END_ADDR 0x7FFFFFFF
#define MMDC1_ARB_BASE_ADDR 0x80000000
#define MMDC1_ARB_END_ADDR 0xFFFFFFFF
Thanks!
David Wu