imx8mp watchdog status regiser doesnt save its value on POR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mp watchdog status regiser doesnt save its value on POR

656 Views
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 Kudos
Reply
2 Replies

637 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

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

Regards

0 Kudos
Reply

579 Views
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 Kudos
Reply