Corrected a few errors in the memory timings#18
Corrected a few errors in the memory timings#18gabrielesvelto wants to merge 1 commit intoMIPS:ci20-v2013.10from
Conversation
|
Congrats! That would be a not-quite-trivial fix, and excellent news for the platform. |
I obtained the programming manual and datasheets through a long Google session but I've put them all here for easy access. |
|
Hi Gabriel, Apologies for the delay - unfortunately I haven't had much time to spend on the Ci20's aging U-Boot port for a while now, but this does indeed sound fantastically promising :) Could you clarify which board revision(s) you tested this with? Thanks, |
|
Hi Paul, |
This fixes a few timing errors in the memory initialization routine, specifically the minimum self-refresh time which was too low for both Samsung and Hynix chip, as well as the four bank activation time and the exit-power-down-to-active-command delay for the Samsung ones. The changes are based on the memory chips' most recent datasheets as well as the JZ4780 manual and have fixed all memory-related freezes I've been experiencing with my board.