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.
Hi Arthur
nxp version uboot does not use watchdog
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/?h=imx_v2015.04_4.1.15_1.0.0_ga
one can post this on uboot mail list
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------