Hey everyone, a user just posted in the github, about watchdog not working… Looks like it’s never been enabled.. and broken.. so i’ve added another bootarg by default:
omap_wdt.early_enable=1
So going forward, i guess we will have a working watchdog?
Issue: https://github.com/beagleboard/linux/issues/297
Enablement: am335x: enable omap_wdt.early_enable=1 so watchdog is running · beagleboard/image-builder@0550aef · GitHub
The gist, watchdog starts disabled…
static bool early_enable;
module_param(early_enable, bool, 0);
MODULE_PARM_DESC(early_enable,
"Watchdog is started on module insertion (default=0)");
Best way to start is is with early_enable..
if (early_enable) {
omap_wdt_start(&wdev->wdog);
set_bit(WDOG_HW_RUNNING, &wdev->wdog.status);
} else {
omap_wdt_disable(wdev);
}
Regards,