Hi ame,
On Friday 01 October 2010 17:36:39 ame wrote:
> > Ok, confirmed the new one has it in there. sorry about that. The logic
> > is the same as the one that is in the old code though.
>
> Well, ok, kind of. cpu.c is correct, cpu_init.c that actually sets up the
> watchdog timer is not tho
On Fri, Oct 01, 2010 at 09:37:55AM -0500, ame wrote:
> On Fri, Oct 01, 2010 at 03:35:14PM +0200, Stefan Roese wrote:
> > On Thursday 30 September 2010 22:15:04 ame wrote:
> > > On my 460ex board, i've tried to add CONFIG_WATCHDOG to the config and it
> > > appears to work until the board tries to b
On Friday 01 October 2010 16:37:55 ame wrote:
> > void reset_4xx_watchdog(void)
> > {
> >
> > /*
> >
> > * Clear TSR(WIS) bit
> > */
> >
> > mtspr(SPRN_TSR, 0x4000);
> >
> > }
> > ...
> >
> > Definitely upper-case here.
>
> Ok, confirmed the new one has it in the
On Fri, Oct 01, 2010 at 03:35:14PM +0200, Stefan Roese wrote:
> On Thursday 30 September 2010 22:15:04 ame wrote:
> > On my 460ex board, i've tried to add CONFIG_WATCHDOG to the config and it
> > appears to work until the board tries to boot. At that point I can count
> > down about 10 seconds and
On Thursday 30 September 2010 22:15:04 ame wrote:
> On my 460ex board, i've tried to add CONFIG_WATCHDOG to the config and it
> appears to work until the board tries to boot. At that point I can count
> down about 10 seconds and the reboot happens. The 10s correlates with
> what I think the watch
ame wrote:
> Finally reset_4xx_watchdog does mtspr(tsr, 0xc000) where tsr is 0x150
> IIRC.
My guess is that this code doesn't actually reset the watchdog. Perhaps your
value of TSR is wrong, or 0xc000 is wrong, or perhaps there's some other
watchdog active that you're ignoring.
--
Timu
On Thu, Sep 30, 2010 at 03:48:36PM -0500, Timur Tabi wrote:
> On Thu, Sep 30, 2010 at 3:15 PM, ame wrote:
> > On my 460ex board, i've tried to add CONFIG_WATCHDOG to the config and it
> > appears to
> > work until the board tries to boot. ?At that point I can count down about
> > 10 seconds
> >
On Thu, Sep 30, 2010 at 3:15 PM, ame wrote:
> On my 460ex board, i've tried to add CONFIG_WATCHDOG to the config and it
> appears to
> work until the board tries to boot. At that point I can count down about 10
> seconds
> and the reboot happens. The 10s correlates with what I think the watchd
On my 460ex board, i've tried to add CONFIG_WATCHDOG to the config and it
appears to
work until the board tries to boot. At that point I can count down about 10
seconds
and the reboot happens. The 10s correlates with what I think the watchdog is
being
set to. I've inserted some WATCHDOG_RESET
9 matches
Mail list logo