From owner-freebsd-arm@FreeBSD.ORG Mon Oct 21 00:03:06 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13396847 for ; Mon, 21 Oct 2013 00:03:06 +0000 (UTC) (envelope-from freebsd.asc@strcmp.org) Received: from ozelot.schwarzes.net (ozelot.schwarzes.net [62.109.78.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9BD182AF3 for ; Mon, 21 Oct 2013 00:03:04 +0000 (UTC) Received: from [62.109.78.35] (mosquito.schwarzes.net [62.109.78.35]) by ozelot.schwarzes.net (8.14.7/8.14.7) with ESMTP id r9KNh6j2019158 for ; Mon, 21 Oct 2013 01:43:06 +0200 (CEST) (envelope-from freebsd.asc@strcmp.org) From: Andreas Schwarz To: freebsd-arm@FreeBSD.org Mail-Reply-To: Andreas Schwarz Mail-Followup-To: freebsd-arm@FreeBSD.org Date: Mon, 21 Oct 2013 01:42:36 +0200 (CEST) Message-ID: <43584768717.406e8ebb@mail.schwarzes.net> User-Agent: YAM/2.9-dev (MorphOS; PPC; rv:20131017r7173) Subject: raspberry pi BCM2708 hardware watchdog MIME-Version: 1.0 Content-Type: text/plain X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (ozelot.schwarzes.net [62.109.78.34]); Mon, 21 Oct 2013 01:43:06 +0200 (CEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 00:03:06 -0000 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: 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 best regards, Andreas