Jump to content

There is no /dev/watchdog :-(


Sire Gawain

Recommended Posts

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

Link to comment
Share on other sites

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 */ }
};

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines