Watchdog doesn't restart IMX6ULL

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

Watchdog doesn't restart IMX6ULL

ソリューションへジャンプ
1,770件の閲覧回数
glecocq
Contributor II

Hello,

I'm trying to use the watchdog 1 on an IMX6ULL, meaning I want the system to restart once the system freeze (for example after a forkbomb).

Here's the definition in my device tree :

 

 

pinctrl_wdog: wdoggrp {
fsl,pins = <
MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0
>;
};

&wdog1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wdog>;
fsl,wdog_b;
fsl,use-wre;
fsl,ext-reset-output;
};

 

 

During the boot, I can see that the imx2-wdt is correctly initialized :

 

imx2-wdt 20bc000.wdog: timeout 20 sec (nowayout=1)

 

 

I wanted to test the watchdog with the unit-tests recipe, but I'm building on a custom machine (and I can't built it with this machine). So I'm using a fork bomb to force a freeze of the system :

:(){ :|:& };:

 The system freeze but doesn't restart at all.

Am I missing something ?

ラベル(2)
0 件の賞賛
返信
1 解決策
1,764件の閲覧回数
glecocq
Contributor II

Solved ! My configuration was correct. I was just missing the software in the userland to interact with the watchdog driver, in my case I use the Yocto recipe watchdog : https://layers.openembedded.org/layerindex/recipe/90007/

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,765件の閲覧回数
glecocq
Contributor II

Solved ! My configuration was correct. I was just missing the software in the userland to interact with the watchdog driver, in my case I use the Yocto recipe watchdog : https://layers.openembedded.org/layerindex/recipe/90007/

0 件の賞賛
返信