how to close watchdog i.MX8MP for 5.4 kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to close watchdog i.MX8MP for 5.4 kernel

595 Views
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 Kudos
Reply
2 Replies

510 Views
mars_lin
Contributor I

i close uboot config CONFIG_IMX_WATCHDOG ,  
watchdog is close.

0 Kudos
Reply

548 Views
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 Kudos
Reply