From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD
Date: Fri, 01 Feb 2013 11:28:05 -0700 [thread overview]
Message-ID: <510C0935.2040107@boundarydevices.com> (raw)
In-Reply-To: <556140571.236438.1359674747008.JavaMail.root@advansee.com>
Hi Beno?t,
On 01/31/2013 04:25 PM, Beno?t Th?baudeau wrote:
> On Friday, February 1, 2013 12:14:53 AM, Eric Nelson wrote:
>> On 01/30/2013 02:19 PM, Beno?t Th?baudeau wrote:
>>> MMDC1_MDCFG1.tMRD should be set to max(tMRD, tMOD) for DDR3.
>>>
>>> For all DDR3 speed bins:
>>> tMRD(min) = 4 nCK
>>> tMOD(min) = max(12 nCK, 15 ns)
>>>
>>> Hence, MMDC1_MDCFG1.tMRD should be set to max(12 nCK, 15 ns), which is 12
>>> nCK
>>> at 532 MHz, encoded as 0xB in the bit-field MMDC1_MDCFG1[8:5].
>>>
>>> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
>>
>> Hi Beno?t,
>>
>> I've been able to confirm operation of this complete patch set
>> on a SABRE Lite here, but only that (boots normally).
>
> Great.
>
>> I'll try to scare up a board we can place on an extended burn-in.
>
> That'd be good.
>
I tested one board overnight running a Linux-based memory test
and things worked perfectly.
I also tested using CONFIG_SYS_ALT_MEMTEST and measured the
performance difference between
Nitrogen6x board (old memory timings):
U-Boot > time mtest 10000000 10400000 0 10
Testing 10000000 ... 10400000:
Tested 16 iteration(s) with 0 errors.
time: 1 minutes, 11.311 seconds, 71311 ticks
SABRE Lite board (new memory timings):
MX6QSABRELITE U-Boot > dcache off
MX6QSABRELITE U-Boot > time mtest 10000000 10400000 0 10
Testing 10000000 ... 10400000:
Tested 16 iteration(s) with 0 errors.
time: 1 minutes, 10.143 seconds, 70143 ticks
I also tested with cache enabled and things worked perfectly.
>> What prompted you to walk the list? Was there a specific failure
>> that this addressed?
>
> No specific failure. The only issue that I get from time to time is errors in
> the Linux SD driver, but this is probably unrelated.
>
> The only reason was that I was looking for possible better performance on the
> RAM side because I am working on very intensive RAM accessing applications. So I
> checked the init code to see if it was optimal, and I found these issues besides
> the small possible performance gain.
>
> So far, the default mtest passed on my board. The alternate mtest and more Linux
> stress tests might be interesting too.
>
For the series:
Tested-by: Eric Nelson <eric.nelson@boundarydevices.com>
next prev parent reply other threads:[~2013-02-01 18:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-30 21:19 [U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD Benoît Thébaudeau
2013-01-30 21:19 ` [U-Boot] [PATCH 2/6] imx: mx6q DDR3 init: Fix tXPR Benoît Thébaudeau
2013-01-30 21:19 ` [U-Boot] [PATCH 3/6] imx: mx6q DDR3 init: Fix SDE_to_RST Benoît Thébaudeau
2013-01-30 21:19 ` [U-Boot] [PATCH 4/6] imx: mx6q DDR3 init: Fix RST_to_CKE Benoît Thébaudeau
2013-01-30 21:19 ` [U-Boot] [PATCH 5/6] imx: mx6q DDR3 init: Fix MR0.PPD Benoît Thébaudeau
2013-01-30 21:19 ` [U-Boot] [PATCH 6/6] imx: mx6q DDR3 init: Benefit from available CL = 7 Benoît Thébaudeau
2013-01-31 23:14 ` [U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD Eric Nelson
2013-01-31 23:25 ` Benoît Thébaudeau
2013-02-01 18:28 ` Eric Nelson [this message]
2013-02-01 18:29 ` Benoît Thébaudeau
2013-02-12 12:53 ` Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=510C0935.2040107@boundarydevices.com \
--to=eric.nelson@boundarydevices.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.