From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reto Stalder Date: Sun, 23 Nov 2008 14:39:07 +0100 Subject: [U-Boot] ppc405ep boot freeze with u-boot 1.3.4 In-Reply-To: <200811222005.20727.sr@denx.de> References: <4926F54C.3030305@gmx.ch> <200811222005.20727.sr@denx.de> Message-ID: <49295CFB.3050100@gmx.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Stefan > 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. You were right... > 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 Actually that was exactly the problem: I had overloaded the function "initdram(int board)" in my "board.c" to initialize the SDRAM stuff. The solution was to trash my own code and let U-Boot use the routines defined in cpu/ppc4xx/sdram.c. Now it works perfectly. Thank you very much for your help! Best regards, Reto