how to close watchdog i.MX8MP for 5.4 kernel

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to close watchdog i.MX8MP for 5.4 kernel

513 次查看
mars_lin
Contributor I

i want to close MX8MP watchdog,

i try to config kernel config

# CONFIG_IMX2_WDT is not set
# CONFIG_IMX_SC_WDT is not set
# CONFIG_WATCHDOG is not set
,

the i use echo c > /proc/sysrq-trigger to simmulate kernel crash,
then about one min system reboot.
Whatchdog look as alive .
how to close watchdog ??

0 项奖励
回复
2 回复数

428 次查看
mars_lin
Contributor I

i close uboot config CONFIG_IMX_WATCHDOG ,  
watchdog is close.

0 项奖励
回复

466 次查看
joanxie
NXP TechSupport
NXP TechSupport

refer to the reference manual:

while in debug mode, the WDE bit of Watchdog Control Register (WCR)
can be enabled/disabled directly

WDE
Watchdog Enable. Enables or disables the WDOG block. This is a write one once only bit. It is not
possible to clear this bit by a software write, once the bit is set.
NOTE: This bit can be set/reset in debug mode (exception).
0 - Disable the Watchdog (Default).
1 - Enable the Watchdog.

0 项奖励
回复