All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ira W. Snyder <iws@ovro.caltech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] DMA ECC update
Date: Wed, 8 Jul 2009 16:02:31 -0700	[thread overview]
Message-ID: <20090708230231.GG2827@ovro.caltech.edu> (raw)
In-Reply-To: <20090708223129.GF2827@ovro.caltech.edu>

On Wed, Jul 08, 2009 at 03:31:29PM -0700, Ira W. Snyder wrote:
> On Wed, Jul 08, 2009 at 02:28:39PM -0500, Peter Tyser wrote:
> > These changes bring the 83xx SDRAM ECC initialization in line
> > with the 85xx/86xx boards and also fixes a minor bug in fsl_dma.c.
> > 
> > I don't have any 83xx boards to test on, so it would be appreciated
> > if someone with 83xx hardware that uses ECC could give the patches
> > a shot.
> > 
> > It'd be nice if SDRAM could be initialized via the DDR controller
> > with CONFIG_ECC_INIT_VIA_DDRCONTROLLER on the 83xx platform too,
> > but I'm not going to tackle it:)
> > 
> > The patches also resolve the compile error Stefan brought up with
> > non-freescale boards with CONFIG_ECC.
> > 
> > Peter Tyser (3):
> >   83xx: Default to using DMA to initialize SDRAM
> >   83xx: Added CONFIG_MEM_INIT_VALUE for boards with ECC
> >   fsl_dma: Fix SDRAM initial value
> > 
> 
> Something in this patch makes the ECC DDR initialization VERY slow. It
> used to take <5 seconds, now it takes ~20 seconds for the memory to
> initialize.
> 
> I wonder why the CPU method would be so much faster?
> 

As a further quick note, I just hacked in support for initializing the
DDR via the DDR controller. Nothing good for submission, but it works
fine for my board. (We're using fixed_sdram(), no SPD code).

The DDR controller takes about 3 seconds to initialize all 256MB of RAM
on the board.

Ira

      parent reply	other threads:[~2009-07-08 23:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 19:28 [U-Boot] [PATCH 0/3] DMA ECC update Peter Tyser
2009-07-08 19:28 ` [U-Boot] [PATCH 1/3] 83xx: Default to using DMA to initialize SDRAM Peter Tyser
2009-11-22 20:42   ` Wolfgang Denk
2009-11-24  4:25     ` Peter Tyser
2009-07-08 19:28 ` [U-Boot] [PATCH 2/3] 83xx: Add CONFIG_MEM_INIT_VALUE for boards with ECC Peter Tyser
2009-07-08 19:28 ` [U-Boot] [PATCH 3/3] fsl_dma: Fix SDRAM initial value Peter Tyser
2009-07-08 22:31 ` [U-Boot] [PATCH 0/3] DMA ECC update Ira W. Snyder
2009-07-08 22:59   ` Peter Tyser
2009-07-08 23:13     ` Ira W. Snyder
2009-07-08 23:22       ` Peter Tyser
2009-07-09 11:52       ` Jerry Van Baren
2009-07-08 23:02   ` Ira W. Snyder [this message]

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=20090708230231.GG2827@ovro.caltech.edu \
    --to=iws@ovro.caltech.edu \
    --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.