Disable hardware watchdog on imx8mq?

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

Disable hardware watchdog on imx8mq?

682 次查看
chabalaw
Contributor I

Hello,

I'm working with an ITX-P-C444 imx8mq board. I'd like to completely disable all watchdog services, drivers, and hardware at build time (not in the user-space). I'm using a Yocto environment. I want to avoid modifying drivers/source code and keep all modifications in the configs. Is this possible?

I've tried setting the u-boot configs:  

CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
CONFIG_HW_WATCHDOG=n
CONFIG_SPL_HW_WATCHDOG=n
CONFIG_IMX_WATCHDOG=n
CONFIG_SPL_WATCHDOG=n
CONFIG_WATCHDOG=n
CONFIG_WATCHDOG_AUTOSTART=n
CONFIG_WDT=n
CONFIG_WATCHDOG_RESET_DISABLE=n
 
 
 
and the kernel configs: 
 
CONFIG_SOFT_WATCHDOG=n
CONFIG_IMX_SC_WDT=n
CONFIG_IMX2_WDT=n
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=n
 
This partially  works. I don't see the watchdog devices under /dev/. However, the board will reboot at a 60s cycle (the default WDT timeout). In addition, the u-boot log shows : 
 

 

U-Boot 2021.04+fio+g38c3083e39 (Feb 16 2022 - 14:50:02 +0000)

CPU: i.MX8MD rev2.1 1300 MHz (running at 800 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 45C
Reset cause: POR
Model: WINSYSTEMS i.MX8MQ ITX-P-C444
Watchdog enabled

 

 

This last line indicates that the watchdog is either enabled before U-boot or in the U-boot environment and thus my configurations aren't working as I thought they would. Am I missing something? Any help would be greatly appreciated! 

标签 (1)
0 项奖励
回复
2 回复数

655 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Delete all the packages and uboot in your nand or SD, before burning this new program. and uboot compile the new settings and tested

 

Regards

0 项奖励
回复

638 次查看
chabalaw
Contributor I

That's the workflow I've been following up to this point.

0 项奖励
回复