Document toolboxDocument toolbox

Revolution Pi Watchdog

How does the watchdog handling of Revolution Pi Connect 4 differ from other modules such as Revolution Pi Connect S?

In the RevPi Connect 4, we use the watchdog feature of the RTC. The RTC driver implements a proper watchdog device. We intend to do this for all future devices.

Older Connect models use a custom watchdog implementation. It should be possible to use the gpio-wdt driver with this watchdog. But as we use the gpio in our piControl it is not possible to use piControl and the gpio-wdt driver at the same time. We can’t change this behavior, as there are users, which are depending on the watchdog being exported by piControl into the process image.

This is the usual issue of when to break interfaces. We decided to keep this interface stable for the product model lifetime.

You can find the example source for the watchdog here: https://gitlab.com/revolutionpi/revpi-tools/-/tree/master/examples-watchdog?ref_type=heads
If you like, you can contribute your changes directly.