public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Hangs at relocation on 460EX Target
Date: Thu, 23 Oct 2008 06:02:30 +0200	[thread overview]
Message-ID: <200810230602.31027.sr@denx.de> (raw)
In-Reply-To: <20081023005908.GA17964@crust.elkhashab.com>

On Thursday 23 October 2008, Ayman M. El-Khashab wrote:
> On Wed, Oct 22, 2008 at 07:12:30AM +0200, Stefan Roese wrote:
> > Yes, there have been issues with the "old" autocalibration code on some
> > boards. That's one reason that AMCC provided a new version just a few
> > weeks ago:
>
> Thanks Stefan,  I've got the hardware mostly working now.

Great, congrats.

> The new 
> calibration code did work once I got past another issue.  I'll try to
> describe it here b/c It *might* be a bug, but I wasn't 100% sure.
>
> First, I am using registered ecc dimms which appears to be handled in
> cpu/ppc4xx/44x_spd_ddr2.c

I personally have never used a registered DIMM on the 4xx systems. And I don't 
know of any systems that do. So it could be that this is still untested and 
buggy.

> However, what I found by observing the registers 
> with the abatron was that the SDRAM_MCOPT1_RDEN was not set for the
> registered DIMM. Following the code, it looks like it should have been set
> if "registered" was set, but it does not appear that it worked correctly. 
> So of course we were off by 1/2.  I forced the bit in the mcopt1 variable
> and that fixed all the problems.

Good.

> Any thoughts or is there something I can try/contribute?

Best would be if you could provide a proper patch to fix this problem. Please 
see here:

http://www.denx.de/wiki/view/U-Boot/Patches

how this is done correctly.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-10-23  4:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 15:37 [U-Boot] Hangs at relocation on 460EX Target Ayman M. El-Khashab
2008-10-21 15:54 ` Stefan Roese
2008-10-21 16:20   ` Ayman M. El-Khashab
2008-10-21 19:10     ` Wolfgang Denk
2008-10-21 21:59       ` Ayman M. El-Khashab
2008-10-22  5:12         ` Stefan Roese
2008-10-23  0:59           ` Ayman M. El-Khashab
2008-10-23  4:02             ` Stefan Roese [this message]
2008-10-23  6:27               ` Felix Radensky
2008-10-23  7:15                 ` Stefan Roese
2008-10-23  7:31                   ` Felix Radensky
2008-10-23  8:39                     ` Stefan Roese
2008-10-27 14:34                       ` Ayman M. El-Khashab

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=200810230602.31027.sr@denx.de \
    --to=sr@denx.de \
    --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