Enable the watchdog on U-boot

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

Enable the watchdog on U-boot

715件の閲覧回数
Chethan
Contributor III

Hi,

I am using the LS1046ARDB board for one of my projects, in that I need to enable the watchdog over the U-boot so below are the configurations added into the configs/ls1046ard_tfs_defconfig and dtsi file

CONFIG_CMD_WDT=y
CONFIG_WDT=y
CONFIG_WATCHDOG=y
CONFIG_CMD_WDT=y

And arch/arm/dts/fsl-ls1046a.dtsi

 wdt: watchdog@2ad0000 {
     compatible = "fsl,imx21-wdt";
     reg = <0x0 0x2ad0000 0 0x1000>;
     big-endian;
     status = "okay";
 };

based on the above configuration watchdog driver is up on U-boot, I saw some debug prints in watchdog driver, but now that watchdog functionality is not working means If I put the while loop in U-boot source code for testing purposes, after 60 sec or 40 sec it suppose to restart on its own. that indicates  watchdog functionality is working, Please help me out to resolve this issue and move ahead.

Please let me is there configuration in BL2/ATF or in RCW source code.

Reset Configuration Word (RCW):
           00000000: 0e150012 10000000 00000000 00000000
           00000010: 22335577 40000012 40045000 c1000000
           00000020: 00000000 00000000 00000000 0002e800
           00000030: 20004500 28263000 00000096 00000001

Thanks & Regards,

Chethan GR

0 件の賞賛
返信
1 返信

665件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please enable CONFIG_IMX_WATCHDOG in u-boot.

0 件の賞賛
返信