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> References: <43584768717.406e8ebb@mail.schwarzes.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-10-20, at 4:42 PM, Andreas Schwarz <freebsd.asc@strcmp.org> = wrote: >=20 > Hi, >=20 > 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=20 > freezes. >=20 > The watchdog (bcmwd0) is found when booting, but I'm not able to use = it with the=20 > watchdogd (which is using /dev/fido to communicate with the watchdog). = Seems > that something is still missing. Any ideas? >=20 > root@pizelot:~ # dmesg | grep Watchdog > bcmwd0: <BCM2708/2835 Watchdog> mem 0x2010001c-0x20100027 on = simplebus0 >=20 > 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=20 actual watchdog function: = http://svnweb.freebsd.org/changeset/base/256871
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4029D36-8C55-4617-A429-0C5A3DA31C63>