
* Liu Dave-R63238 | 2009-05-15 08:47:04 [+0800]:
(v1.3.0-rc2):
- ddr->sdram_mode 0x00400a62;
- ddr->sdram_data_init = 0x00000000;
- ddr->sdram_cfg_2 = 0x04401000;
to (v2009.03):
- ddr->sdram_mode 0x00440a62
- ddr->sdram_data_init 0xdeadbeef
- ddr->sdram_cfg_2 0x24401000
I cherry-picked commit 6a819783 aka "fsl-ddr: Fix two bugs in the ddr infrastructure" but nothing improved.
Now I've picked v1.3.0-rc2 and linux v2.6.29. With that combination everything seems to work however I experience sometimes ICE while compiling. If I continue to compile from that point there is no ICE anymore so it does not look like a gcc bug to me.
Any suggestions? Someone with similar problems?
It seems like you are happening the DDR memory issue. Have a dump all of DDR registers for both v1.3.0-rc2 and v2009.03. Check if anything is different.
Those three I've posted are the only ones that have changed. I've compared the 16 regs which are set in fixed_sdram(). Do you want me to go through _all_ of them? As I wrote later, with v1.3.0-rc2 I get some ICE during compile sessions. So it looks to me like those timings are not bullet proof but friendlier than in v2009.03
Sebastian