From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 5 May 2010 13:52:20 +0200 Subject: [U-Boot] u-boot hangs after detecting DDR3 RAM and Flash. In-Reply-To: References: <201005041738.36127.sr@denx.de> Message-ID: <201005051352.20353.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 05 May 2010 13:48:05 prakash bedge wrote: > I commented he MSR_EE in interrupt_init function in cpu/ppc4xx/interrupts.c > to run the u-boot and to get u-boot prompt. > > when I executed "sleep 3 " command it doesn't reurns to prompt. It seems > that it hangs in while loop or hangs somewhere else. > what does it mean? That means, that the timer is not running at all. Since you disabled the interrupts in the MSR register. You need to solve the problem with the hanging trap, most likely resulting from the DDR3 setup code. Cheers, 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