I have an i.mx6UL board and I am running watchdog daemon in this. I am facing following problem.
In watchdog.conf file I have set watchdog-timeout = 20 seconds. This board reboots after 20 seconds if I kill watchdog daemon with SIGINT signal and this behaviour is expected. But if I put board to sleep using echo mem > /sys/power/state and I kill watchdog daemon once I wake up board the board reboots after more than watchdog-timeout = 20 seconds. In fact it boots after more than 2 minutes.
Is this expected behaviour? Shouldn't the board reboot after 20 seconds since I have set watchdog-timeout = 20 seconds? What does it take more than 2 minutes if I put board to sleep? Even the default watchdog-timeout is 1min in i.mx6UL.
Hi Pratyush
wdog behaviour in low power modes is defined by WDOGx_WCR
WDZST, WDW bits, so one can check them.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------