public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] PPC4xx: SDRAM detection (bug?)
@ 2004-11-25 18:42 llandre
  2004-11-25 23:33 ` Roger Larsson
  2004-11-29 16:51 ` Stefan Roese
  0 siblings, 2 replies; 12+ messages in thread
From: llandre @ 2004-11-25 18:42 UTC (permalink / raw)
  To: u-boot

I have a question about SDRAM detection code (cpu/ppc4xx/sdram.c).
I tested it with the following configurations:
Configuration #1: 32 MB (2 chips), SDRAM clk = 133 MHz
Configuration #2: 32 MB (2 chips), SDRAM clk = 111 MHz
and everything worked fine.

Then I tried the following:
Configuration #3: 64 MB (2 chips), SDRAM clk = 111 MHz
and the SDRAM does not work. U-Boot executes fine until it jumps to SDRAM
after relocation.
In this case, two chips K4S561632E-TI75 have been used.
In my understanding the default value (0x07f00000) for the RTR register
is wrong because these chips have a 64 ms/8k cycle refresh.
Thus this register should be 0x03780000. I tried to change it
but SDRAM did not work anyway. I suspect it is necessary to fix
the TR register too or that the value for RTR is wrong.
Any suggestions/remarks?



TIA and best regards,

llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-04-05 23:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-25 18:42 [U-Boot-Users] PPC4xx: SDRAM detection (bug?) llandre
2004-11-25 23:33 ` Roger Larsson
2004-11-26  0:08   ` Wolfgang Denk
2004-11-26 18:26   ` llandre
2004-11-27 23:09     ` Andrew E. Mileski
2004-11-28  9:19       ` Wolfgang Denk
2004-11-28 22:29         ` Andrew E. Mileski
2004-11-28 22:48           ` Wolfgang Denk
2004-11-28 23:27             ` Andrew E. Mileski
2005-04-05 23:38               ` Wolfgang Denk
2004-11-29 16:51 ` Stefan Roese
2004-11-30 11:03   ` llandre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox