Watchdog

Started by SlyCom, October 24, 2013, 02:02:23 PM

Previous topic - Next topic

SlyCom

Hi,

During my work with A13 WiFi board I noticed that the board hangs sometimes after 1, 2 hours. I have no idea where is the problem but I'm thinking about watchdog. How I can implement watchdog? Maybe there is any linux distribution with watchdog support or is it better use hardware watchdog connected to the reset pin of the A13?

vinifr

#1
There is a watchdog inside A13 and the driver: https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.4/drivers/watchdog/sunxi_wdt.c

Enable it in .config kernel.

SlyCom

Thanks vinifr,

I already noticed this functionality and recompiled the kernel with watchdog.

SlyCom

Unfortunately the board still sometimes hangs even with watchdog. Obviously it trying to reboot but hangs at adding swap file.