All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Erickson <gerickson@nuovations.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Help!Some memory doesn't work on PPC405Ex based board!
Date: Wed, 22 Apr 2009 23:01:29 -0700	[thread overview]
Message-ID: <C6155249.1606E%gerickson@nuovations.com> (raw)
In-Reply-To: <BAY114-W26F7BD8350CC893D757685AB750@phx.gbl>

On 4/22/09 10:00 PM, SunNeo wrote:
> I got a new board with 1GB DDRII memory and only 1 Rank, but the problem still
> exist. 
>  
> The following is a summary of my job:
>
> 4. Have performed memory test with "mtest" command at U-Boot, no error
>    happened.

Sun:

It's been awhile since I looked at the code for mtest; however, it may not
be entirely comprehensive or exhaustive depending on how you configured your
u-boot build and the arguments you invoked it with. Do verify that it is
operating over the largest range of RAM possible and that it is doing an
array of tests (walking 1s, alternating bit patterns, etc.).

Also, AMCC has available (perhaps available through your FAE if not on
MyAMCC or AMCC.com itself) a DDR planning spreadsheet. While the last
revision I used had a few bugs, it certainly was useful to validate our DDR
configuration against. I'd recommend obtaining it and reviewing your
settings.

Beyond that, does the same kernel work on Kilauea? Have you set up a build
environment where you can make small, incremental changes and verify those
on Kilauea and then on your board and have confidence that only those things
you changed are changing?

Once the wrinkles got worked out of the DDR settings in the PPC405EX[r]
boards I've worked with in the last year, they all worked as well as Kilauea
without notable changes to the Linux kernel, version 2.6.25 up through
2.6.28 (all from the Denx GIT repository).

> 9. Add the parameter "mem=516M" to bootargs, Linux can boot up normally. But
> if add "mem=517M" to bootargs, Linux hangs.

That should be instructive. Start tweaking mtest or writing your own memory
tests to tease out a pattern from that. Failing that, what other values work
here? What values fail?

Regards,

Grant Erickson 
Principal
Nuovations

  reply	other threads:[~2009-04-23  6:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-13 12:05 Help!Some memory doesn't work on PPC405Ex based board! SunNeo
2009-04-14  9:23 ` Stefan Roese
2009-04-14 11:08   ` SunNeo
2009-04-14 12:20     ` Stefan Roese
2009-04-14 12:20       ` [U-Boot] " Stefan Roese
2009-04-14 14:04     ` Grant Erickson
2009-04-14 16:30     ` Feng Kan
2009-04-15  7:56       ` [U-Boot] " SunNeo
2009-04-15  8:08         ` Stefan Roese
2009-04-23  5:00           ` SunNeo
2009-04-23  6:01             ` Grant Erickson [this message]
2009-04-23  8:07               ` Stefan Roese
2009-04-23  9:13                 ` SunNeo
2009-04-23  9:55                   ` Stefan Roese
2009-05-04  4:56                     ` SunNeo

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=C6155249.1606E%gerickson@nuovations.com \
    --to=gerickson@nuovations.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.