public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jon Loeliger <jdl@jdl.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Manual Setup of DDR2
Date: Fri, 13 Jul 2007 17:41:22 -0500	[thread overview]
Message-ID: <E1I9TpC-0004ez-Fr@jdl.com> (raw)

[ Sorry to break the threading here.  --jdl ]

> * Without SPD EEPROM configured DDR, this must be setup manually.

You have two fundamental choices:

    - Use SPD on your DDR and hope that it gets the configuration right,

    - Turn SPD off, read the data sheets, derive memory controller values
      by hand, set them in the config file and hope they work.

My recommendation is to determine if the DDR2 you plan on using
will support SPD, and then let the SPD configuration take place.
It will be less work in the long run if it works.  Note that it
may _still_ take some tuning and parameter setting that is specific
to your board (and DDR).  There are values in this code that are
derived empirically, off a fast scope while looking at the data-eye
for some specific piece of DDR at a particular speed.  Your milage
will vary.  And if you don't pay attention here, you will hurt.
This is one of _the_ single largest U-Boot port failure cases!

Now, the 8548 reference board from Freescale had two type sof
memory on it.  One of which was on the local bus.  Depending on
your board, it may or may not have the second memory on it.
You may, or may not, need to set up different (additional) LAWs
and mappings for it.  IIRC, some of the memory is tacitly covered
by one Local bus LAW mapping?  Or may not even be mapped in at all.

You ask if "this" is the right approach, but I'm not really
sure what it is you are questioning....

The key is to do what is right for your board, of course.

jdl

             reply	other threads:[~2007-07-13 22:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 22:41 Jon Loeliger [this message]
2007-07-16 20:30 ` [U-Boot-Users] Manual Setup of DDR2 robert lazarski
2007-07-16 20:37   ` Jon Loeliger
  -- strict thread matches above, loose matches on Subject: below --
2007-07-13 21:44 [U-Boot-Users] Manual setup " robert lazarski
2007-07-13 21:47 ` robert lazarski

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=E1I9TpC-0004ez-Fr@jdl.com \
    --to=jdl@jdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox