Kernel booting issues on a MPC8270 board

annamaya annamaya at yahoo.com
Sat Jan 22 07:53:25 EST 2005


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 at mvista.com> 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 
 




More information about the Linuxppc-embedded mailing list