Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 22:24:43 -0700
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        Andreas Schwarz <freebsd.asc@strcmp.org>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: raspberry pi BCM2708 hardware watchdog
Message-ID:  <F4029D36-8C55-4617-A429-0C5A3DA31C63@bluezbox.com>
In-Reply-To: <43584768717.406e8ebb@mail.schwarzes.net>

index | next in thread | previous in thread | raw e-mail


On 2013-10-20, at 4:42 PM, Andreas Schwarz <freebsd.asc@strcmp.org> wrote:

> 
> Hi,
> 
> the BCM2708 SoC contain a hardware watchdog, using it, would be a good solution
> for the people which are running a remote rpi 24/7 to avoid these sudden system 
> freezes.
> 
> The watchdog (bcmwd0) is found when booting, but I'm not able to use it with the 
> watchdogd (which is using /dev/fido to communicate with the watchdog). Seems
> that something is still missing. Any ideas?
> 
> root@pizelot:~ # dmesg | grep Watchdog
> bcmwd0: <BCM2708/2835 Watchdog> mem 0x2010001c-0x20100027 on simplebus0
> 
> root@pizelot:~ # /etc/rc.d/watchdogd start
> Starting watchdogd.
> watchdogd: watchdog_patpat failed: Operation not supported
> watchdogd: patting the dog: Operation not supported
> /etc/rc.d/watchdogd: WARNING: failed to start watchdogd

Watchdog was used for rebooting device only.  I've just committed support for 
actual watchdog function: http://svnweb.freebsd.org/changeset/base/256871



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4029D36-8C55-4617-A429-0C5A3DA31C63>