AnsweredAssumed Answered

reboot freeze due to watchdog

Question asked by Arthur LAMBERT on Nov 14, 2016
Latest reply on Nov 15, 2016 by igorpadykov

Hi,

 

I have an issue with reboot on a imx6ul board + the watchdog hardware from uboot. Most of the times the reboot freeze. Not all the time.

 

 reboot
imx2-wdt 20bc000.wdog: Unexpected close: Expect reboot!
ALSA: Storing mixer settings...
Stopping network...Saving random seed... done.
Stopping dropbear sshd: OK
Stopping system message bus: done
Stopping logging: OK
OK
OK
umount: devtmpfs busy - remounted read-only
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all    processes
Requesting system reboot
imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!
reboot: Restarting system
mxc_restart: Watchdog reset failed to assert reset

 

I am using the hardware watchdog in uboot like this :

#define CONFIG_HW_WATCHDOG
#define CONFIG_IMX_WATCHDOG
#define CONFIG_WATCHDOG_TIMEOUT_MSECS 20000 // 20s

 

I have of course a piece of code to feed the watchdog. This feature works perfectly on imx6sl.

 

If I disable the uboot watchdog, no more reboot issue. Any reason that the hardware watchdog broke the reboot

feature ?

 

I found a similar issue : Shutdown/Reboot not working on dart-mx6ul Fido, is patch required? - Variscite Forums 

By checking the patch on the kernel, I was not able to find a solution for me. They just remove a wdog node in their device tree.

 

Thanks,

Arthur.

Outcomes