From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ppc405ep boot freeze with u-boot 1.3.4
Date: Sat, 22 Nov 2008 20:05:20 +0100 [thread overview]
Message-ID: <200811222005.20727.sr@denx.de> (raw)
In-Reply-To: <4926F54C.3030305@gmx.ch>
Hi Reto,
On Friday 21 November 2008, Reto Stalder wrote:
> I have a custom ppc405ep board with 128MB SDRAM, very similar to the
> AMCC Taihu board. U-Boot 1.1.4 works perfectly fine. But version 1.3.4
> freezes after saying "Relocating now" in debug mode.
This is an indication of an SDRAM initialization problem.
> Additionally, I've observed a strange effect concerning memory size:
> When a BDI2000 emulator is connected and the SDRAM size is set to 64MB
> or less, the board starts to the prompt. When a BDI2000 emulator is
> connected and the SDRAM size is set to 128MB, it freezes as well.
What does this mean: "the SDRAM size is set to 64MB"? Who *set's* the SDRAM
size? Does the board do an SDRAM size autodetection? Which SDRAM init code is
used? You probably don't reset the SDRAM controller after running an SDRAM
initialization from the BDI2000. How do you start via the BDI2000?
With "reset run"? Or differently?
> Has somebody any ideas, where the problem could reside, or what else to
> do, to isolate the problem?
>
> Every comment is welcome ;-),
Even 1.3.4 is old. I suggest that you give the latest git version a try. And
please use the code in cpu/ppc4xx/sdram.c to init the SDRAM controller. How
many SDRAM banks do you use? 1 or 2? If you use two then you need to enable
both banks via those config options:
/*
* SDRAM configuration (please see cpu/ppc/sdram.[ch])
*/
#define CONFIG_SDRAM_BANK0 1 /* init onboard SDRAM bank 0 */
#define CONFIG_SDRAM_BANK1 1 /* init onboard SDRAM bank 1 */
...
Please see taihu.h or zeus.h as a reference. This should help.
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
=====================================================================
next prev parent reply other threads:[~2008-11-22 19:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 17:52 [U-Boot] ppc405ep boot freeze with u-boot 1.3.4 Reto Stalder
2008-11-22 19:05 ` Stefan Roese [this message]
2008-11-23 13:39 ` Reto Stalder
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=200811222005.20727.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