Return-Path: Received: from web53808.mail.yahoo.com (web53808.mail.yahoo.com [206.190.36.203]) by ozlabs.org (Postfix) with SMTP id 7C4EF67A76 for ; Sat, 22 Jan 2005 07:53:28 +1100 (EST) Message-ID: <20050121205325.87956.qmail@web53808.mail.yahoo.com> Date: Fri, 21 Jan 2005 12:53:25 -0800 (PST) From: annamaya To: Randy Vinson In-Reply-To: <41F16B51.1000003@mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linuxppc-embedded@ozlabs.org Subject: Re: Kernel booting issues on a MPC8270 board List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Thanks for the input Randy. I thought of this too early on and verified that the Software Watchdog timer was disabled. And as I pointed it, it first happened on the very first instruction even when I was single stepping on the debugger. --- Randy Vinson wrote: > annamaya wrote: > > I debugged this problem a little more and realized > > that the reset was happenning right after the > > execution of the first kernel instruction at > > 0x0000000c. The instruction at this location was > > "mfpvr r28". I traced this back to a snippet of > code > > that was dealing with pipeline depth issues on the > > MPC8260. Once I commented this code out, more > > instructions were issued but the reboot happens > > elsewhere. I am not able to pin-point the location > of > > the debug since my BDI fails to catch the reset > when > > it happens. Can someone point me to the cause of > this > > situation? Thanks in advance. > > I'm not familiar with the 8260, but this sounds very > much like a > hardware watchdog is expiring somewhere. Check to > see if the hardware > has an on-board watchdog (most likely in the timer > section of the 8260) > and see if the firmware has armed it. If so, you'll > need to add a > snippet of code to disable the watchdog to allow > boot-up to complete. > > Randy Vinson > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com