Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: pmeslin on February 01, 2015, 08:10:36 AM
-
Using the latest 6.0 release, I have no problem loading the bcm2708_wdog module but can't seem to find the watchdog daemon (or its configuration file) anywhere on the system or in tce-ab.
Seems that busybox can include a watchdog daemon applet but the build present in piCore 6.0 doesn't?
Is the daemon necessary for the watchdog to work or has something been hardcoded for it?
-
watchdog starts working when /dev/watchdog opened and restarts system after 10 seconds if not opened again. It means that it must be opened in every less than 10 seconds. It can be done by a generic watchdog daemon, like watchdog.tcz in the repo or dedicated programs, applications with built-on watchdog handling.
-
Hmmm... on Core 4.7.7 on x86, the timeout seems to be one minute. Is there some simple way to change the timeout interval?
Not that it's going to be all that useful on my PC... I'm just playing around with it.
-
bmarkus >> Thanks, that watchdog.tcz package wasn't actually there when I posted.
Lee >> You can most likely change the timeout interval as a parameter to pass when the module is loaded (or a kernel command line parameter if the watchdog module is built-in).
-
bmarkus >> Thanks, that watchdog.tcz package wasn't actually there when I posted.
True, just added it.
-
True, just added it.
I can confirm it works beautifully after proper configuration. Even handles the built-in temperature sensor just fine. Thanks for adding the module!
-
Thanks for the feedback :)