Thread (3 messages) flat view 3 messages, 3 authors, 2009-05-07

Re: MPC5121 new board constantly resetting after u-boot passes control to Linux

From: Wolfgang Denk <hidden>
Date: 2009-05-07 20:21:00

Dear Damien,

in message [ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help