How to enable watchdog at u-boot using env parameter?

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

How to enable watchdog at u-boot using env parameter?

3,564件の閲覧回数
adarsh1997
Contributor III

Hi
I am using imx6sabresd custom design board.I need to enable wdog at u-boot.

I have successfully enabled watch dog at u-boot by doing following:

In include/configs/mx6sabresd.h

add
/* Enabled Watchdog Timer */
#define CONFIG_IMX_WATCHDOG
#define CONFIG_WATCHDOG_TIMEOUT_MSECS 60000

In /board/freescale/mx6sabresd/mx6sabresd.c

board late init

add
#ifdef CONFIG_IMX_WATCHDOG
hw_watchdog_init();
#endif

 

But now i want to enable wdog by u-boot environment variables after stop at u-boot.Is there any way i can do this?

 

 

 

ラベル(7)
0 件の賞賛
返信
1 返信

3,552件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信