On Fri, 2012-11-16 at 10:25 +0000, Martin Michlmayr wrote:
> * Martin Michlmayr <t...@cyrius.com> [2012-11-15 19:31]:
> > I'm not entirely sure since I don't have such a device, but I believe
> > the PIC itself is programmed so the watchdog is on unless you disable
> > it.
> 
> Yes, it's on by default.
> 
> Also, there's currently no PIC control to keep the PIC watchdog alive.
> You _have_ to turn it off using 0x67.
> 
> Here's QNAP rationale:
> 
> "Since the default watchdog function is disabled in Marvell SoC. It is
> to prevent the system hang-up in uboot process. It will try to reboot
> when system hang up in uboot, our kernel process will send the 0x67 to
> PIC to disable the PIC's watchdog then enable the SoC's watchdog
> function."

Thanks (and to Helmut too) for the confirmation. Unconditionally calling
qcontrol watchdog off as early as we can seems like a good idea then.

I'll look at doing this as soon as I have a chance.

Ian.
-- 
Ian Campbell

I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
                -- Dave '-ddt->` Taylor, announcing DOOM for Linux


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to