AnsweredAssumed Answered

i.mx6: watchdog fires after shutdown call

Question asked by Łukasz Łaguna on Jul 10, 2019
Latest reply on Jul 10, 2019 by igorpadykov

Hello,
I have a problem with closing (restart works fine) the system on i.mx6 (custom board). Output:
```
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Reached target Shutdown.
[  OK  ] Reached target Final Step.
         Starting Power-Off...
imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!
reboot: System halted
```
After max timeout (128 s) watchdog fires. I tried several things, e.g. hack the driver and disable the watchdog in imx2_wdt_shutdown(), but already noticed that it's not possible to clear the WDE bit by a software write, once the bit is set.

Maybe you have an idea what can be wrong and how can I solve this issue?

I read here: i.MX6 watchdog: reboot on system halt that it can be caused by AUTO ON feature, but I don't understand it. There is no way to fix it on system level? Could you explain me what is the shutdown procedure and (if it's related) what is the auto on feature and how it affects the shutdown?

Thanks.

Outcomes