Sire Gawain Posted January 10, 2018 Posted January 10, 2018 Hi out there! I've managed to build a quite complex system based on Tinker, using 1 Wire sensor, I2C-s, all of all UART's, and all of all remaining GPIO's... :-) Unfortunately a long term test in a climate chamber have failed... (although the core was just heated up to 70 degrees Celsius) The need for a hardware watchdog then arise... I've build new kernel using latest compile.sh with the HW watchdog checked resulting Linux tinkerboard 4.4.110-rockchip #2 SMP Wed Jan 10 16:41:03 CET 2018 armv7l GNU/Linux but there is no /dev/watchdog Not even in /proc/iomem at ff800000... (it seems okay in dtb, as well as in /sys/devices/platform) Now what? Any help would be kindly appreciated, SG
Myy Posted January 11, 2018 Posted January 11, 2018 Did you enable the Synopsys DesignWare Watchdog Driver ? Check in your .config file if DW_WATCHDOG=m or DW_WATCHDOG=y is present. It's the only watchdog driver compatible with snps,dw-wdt DTB entries. /* drivers/watchdog/dw_wdt.c */ static const struct of_device_id dw_wdt_of_match[] = { { .compatible = "snps,dw-wdt", }, { /* sentinel */ } };
TonyMac32 Posted January 11, 2018 Posted January 11, 2018 Thanks for that, @Myy. I'll take a look. [update] @Sire Gawain if you build a "Next" kernel now you will have support. https://github.com/armbian/build/commit/ac76d47785c130a20f8f2c6447bbae7f2c40bc14
Recommended Posts