How to Disable Watchdog on SABRE-SD?

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

How to Disable Watchdog on SABRE-SD?

跳至解决方案
2,105 次查看
carsongreen
Contributor I

I have been trying to use KGDB with the SABRE-SD in order to debug a driver. It seems to be working but once I drop into KGDB the SABRE-SD board resets after about five seconds. I expect this is due to a watchdog timer expiring now that the kernel is not petting the dog. What is the easiest way to disable the watchdog timer or enable KGDB to resest it periodically while the kernel is halted?

I'm using Android JB4.3 from Freescale.

Thanks,

Carson

标签 (1)
标记 (4)
0 项奖励
1 解答
775 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Carson,

once enabled watchdog can not be disabled. So one needs

to rebuild sources, procedure is described in i.MX_6Dual6Quad_Linux_Reference_Manual.pdf

Chapter 43 Watchdog (WDOG) Driver :

use the ./ltib -c

command when located in the <ltib dir>. On the screen displayed, select Configure the

Kernel and exit. When the next screen appears, select the following option to enable this

module:

• CONFIG_IMX2_WDT-Enables Watchdog timer module. This option is available

under Device Drivers > Watchdog Timer Support > IMX2+ Watchdog.

or just comment function imx6q_add_imx2_wdt (board-mx6q_sabresd.c)

Otherwise seems there is no other option as to pet the dog manually. :smileywink:

在原帖中查看解决方案

0 项奖励
1 回复
776 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Carson,

once enabled watchdog can not be disabled. So one needs

to rebuild sources, procedure is described in i.MX_6Dual6Quad_Linux_Reference_Manual.pdf

Chapter 43 Watchdog (WDOG) Driver :

use the ./ltib -c

command when located in the <ltib dir>. On the screen displayed, select Configure the

Kernel and exit. When the next screen appears, select the following option to enable this

module:

• CONFIG_IMX2_WDT-Enables Watchdog timer module. This option is available

under Device Drivers > Watchdog Timer Support > IMX2+ Watchdog.

or just comment function imx6q_add_imx2_wdt (board-mx6q_sabresd.c)

Otherwise seems there is no other option as to pet the dog manually. :smileywink:

0 项奖励