how to close watchdog i.MX8MP for 5.4 kernel

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to close watchdog i.MX8MP for 5.4 kernel

562件の閲覧回数
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 返答(返信)

477件の閲覧回数
mars_lin
Contributor I

i close uboot config CONFIG_IMX_WATCHDOG ,  
watchdog is close.

0 件の賞賛
返信

515件の閲覧回数
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 件の賞賛
返信