mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* s3c2440's register: MRSR6
@ 2013-01-12  9:53 niqingliang2003
  2013-01-13 10:55 ` Juergen Beisert
  0 siblings, 1 reply; 2+ messages in thread
From: niqingliang2003 @ 2013-01-12  9:53 UTC (permalink / raw)
  To: barebox

Hello, I compiled barebox (based on mini2440).
and start from nand, can't start normally,
after changed MRSRB6 to 0x30, ok.

I have checked uboot, it does use 0x30 for mini2440.
but barebox use 0x20 (work on mini2440, but not work on my 2442 
board).

what does it depend on?
in other words, what does the CL value depend on?

'BOARD_SPECIFIC_MRSRB6'

Nanjing Jilong
Yi Qingliang


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: s3c2440's register: MRSR6
  2013-01-12  9:53 s3c2440's register: MRSR6 niqingliang2003
@ 2013-01-13 10:55 ` Juergen Beisert
  0 siblings, 0 replies; 2+ messages in thread
From: Juergen Beisert @ 2013-01-13 10:55 UTC (permalink / raw)
  To: barebox

Hi Yi,

niqingliang2003@gmail.com wrote:
> Hello, I compiled barebox (based on mini2440).
> and start from nand, can't start normally,
> after changed MRSRB6 to 0x30, ok.
>
> I have checked uboot, it does use 0x30 for mini2440.
> but barebox use 0x20 (work on mini2440, but not work on my 2442
> board).
>
> what does it depend on?
> in other words, what does the CL value depend on?

You should read the manual of the used SDRAM. As SDRAM is a synchronous 
memory, the SDRAM device and the SDRAM controller must be programmed in the 
same way (same CL value).

The CL value in MRSRB6 must correspond with the Trcd in the BANKCON* register.

Note: the impact of higher CL values is huge. Data throughput with 100 MHz @ 
CL2 is higher than at 133 MHz @ CL3.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-01-13 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-12  9:53 s3c2440's register: MRSR6 niqingliang2003
2013-01-13 10:55 ` Juergen Beisert

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