linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: Damien Dusha <d.dusha@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: MPC5121 new board constantly resetting after u-boot passes control to Linux
Date: Thu, 07 May 2009 22:20:55 +0200	[thread overview]
Message-ID: <20090507202055.D86FA832C2FB@gemini.denx.de> (raw)
In-Reply-To: <c788c1220905070143t5271ebe1ra12df43f8f53e491@mail.gmail.com>

Dear Damien,

in message <c788c1220905070143t5271ebe1ra12df43f8f53e491@mail.gmail.com> you wrote:
> 
> We are attempting to bring up a new MPC5121e board, somewhat based on the
> Silicon Turnkey's ADS5121 development board.  We are using a kernel and
> u-boot based on Freescale/STx's board support package.

I recommend to use current code - tip of tree in U-Boot (although I
have a long stack of patches in the queue - wait for the weekend) and
Linux (use mainline aka kernel.org plus the patches I just posted for
a start).

> We have successfully modified u-boot for the 64MB of DDR2 RAM, and we can
> use u-boot's (and the BDI's) memory test facility to check that the RAM is
> working.

Let's say, it is *basicly* working. Note that these memory tests
don't stress-test the bus; for example, they do not stress-test any
burst-mode accesses.

See the FAQ: http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation

My bet is you got a memory initialization error.

> At this point, the board immediately resets.  There is no hint of life from
> the kernel from the console, although setting a breakpoint on the BDI at
> 0x0000000 and tracing through appears as though some code (although we don't
> know what) is being executed.

Why don't you know which code this is? GDB will tell you.

Did you try the standard methods, like post-mortem dump of the log
buffer area, etc.?  See the FAQ for details.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
I think there's a world market for about five computers.
         -- attr. Thomas J. Watson (Chairman of the Board, IBM), 1943

      parent reply	other threads:[~2009-05-07 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07  8:43 MPC5121 new board constantly resetting after u-boot passes control to Linux Damien Dusha
2009-05-07 15:26 ` David Jander
2009-05-07 20:20 ` Wolfgang Denk [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=20090507202055.D86FA832C2FB@gemini.denx.de \
    --to=wd@denx.de \
    --cc=d.dusha@gmail.com \
    --cc=linuxppc-dev@ozlabs.org \
    /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;
as well as URLs for NNTP newsgroup(s).