How to Disable Watchdog on SABRE-SD?

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

How to Disable Watchdog on SABRE-SD?

ソリューションへジャンプ
2,106件の閲覧回数
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 解決策
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 件の賞賛
1 返信
777件の閲覧回数
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 件の賞賛