[OpenWrt-Devel] [PATCH] om-watchdog: Add support for GL-X1200 (GL.iNet)

guilin.wang guilin.wang at gl-inet.com
Fri Apr 10 06:55:59 EDT 2020


Hi ,Martin
   Thank your for your suggest, I initially followed this method, but found that the dog could not be fed successfully. Our external microcontroller feeds the dog. The cpu just gives the microcontroller a trigger signal, but I tested that the microcontroller cannot detect the level change using this method you said So I used the script.

  ------------------ Original ------------------From:  "Martin Blumenstingl"<martin.blumenstingl at googlemail.com>;Date:  Fri, Apr 10, 2020 05:55 PMTo:  "guilin.wang at gl-inet.com"<guilin.wang at gl-inet.com>; Cc:  "openwrt-devel"<openwrt-devel at lists.openwrt.org>; Subject:  Re: [OpenWrt-Devel] [PATCH] om-watchdog: Add support for GL-X1200 (GL.iNet) Hi,

On Fri, Apr 10, 2020 at 11:47 AM guilin.wang at gl-inet.com
<guilin.wang at gl-inet.com> wrote:
>
> Signed-off-by: guilin.wang at gl-inet.com <guilin.wang at gl-inet.com>
the format should be "your name <email at address.com>"

> ---
>  package/kernel/om-watchdog/Makefile               |  2 +-
>  package/kernel/om-watchdog/files/om-watchdog      | 40 +++++++++++++++++++----
>  package/kernel/om-watchdog/files/om-watchdog.init |  2 ++
>  3 files changed, 37 insertions(+), 7 deletions(-)
why not use a GPIO watchdog node in board.dts instead? see [0] for an example


Martin


[0] https://github.com/torvalds/linux/blob/v5.4/Documentation/devicetree/bindings/watchdog/gpio-wdt.txt
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list