imx8mp watchdog status regiser doesnt save its value on POR

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

imx8mp watchdog status regiser doesnt save its value on POR

668 次查看
shlomz
Contributor III

HI,

 

I added logic in u-boot for reading the wsr and every time the kernel panics and the watchdog causes a reset I can see the cause as POR and the wsr value is reset.

how can it retain its value?

 

thanks,

0 项奖励
回复
2 回复数

649 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You can't save the status of WDT, but make the kernel show a dmesg.

Regards

0 项奖励
回复

591 次查看
shlomz
Contributor III

Hi,

 

the wd handling must be done at u-boot level to monitor the kernel boot process.

it appears that once the wd timer is set from u-boot (using defconfig and building the binary) the wd hw resets the kernel on panic and no wd driver function is involved

how is possible ro increment a boot counter based on kernel boot panics/failures ?

0 项奖励
回复