M3 WDT (watchdog timer)


(Philippe Trottier) #1

Hello everyone, I wanted to know how well supported is the watchdog timer on the M3 ? I haven’t seen the module compile by default and since I do not have a x86 system, compiling the kernel is often challenging.


(bpi team) #2

do you mean android???

android have WDT support.


(Philippe Trottier) #3

Sorry I forgot to flag this properly, I am developing on linux, specifically on gentoo.


(BPI_Justin) #4

HI: you need re-build M3 kernel. CONFIG_WATCHDOG=m


(Philippe Trottier) #5

Thank you,

So there is a hardware WDT in the chip itself ?


(BPI_Justin) #6

you can try it…

Step 1: sudo modprobe sunxi_wdt

Step 2: sudo apt-get install watchdog sudo service watchdog start


CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_NOWAYOUT=y CONFIG_SUNXI_WDT=m


(Yoshihito Horigome) #7

What is the reason not to have enabled by default I guess? Preferably in the Linux OS want.


(bobdeng) #8

how to use WDT in Android?I use BPI-M2U