Re: Kernel booting issues on a MPC8270 board
From: annamaya <hidden>
Date: 2005-01-21 20:53:28
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 <rvinson@mvista.com> wrote:
annamaya wrote:quoted
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 ofcodequoted
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 locationofquoted
the debug since my BDI fails to catch the resetwhenquoted
it happens. Can someone point me to the cause ofthisquoted
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