imx8m (maaxboard and maaxboar-min)how to enable watch dog in uboot or in kernel and how to feed it?

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

imx8m (maaxboard and maaxboar-min)how to enable watch dog in uboot or in kernel and how to feed it?

396 Views
gonewithwind-peter
Senior Contributor I

Hi all,

I am playing imx8m (maaxboard and maaxboar-min) boards, finally I need to add watch dog timer.

q1: how to enable(start) watch dog timer in uboot starup in command line?

or

q2: how to enable(start) watch dog timer  in kernel startup?

q3: how to feed the dog  in user space ?

q4: I find  in i.MX_Reference_Manual( imx-yocto-L4.14.98_2.0.0_ga)  page 322 

 where can i download wdt_driver_test.out  ... (in yocto source code somewhere ?)

Thanks

./autorun-wdog.sh

or

./wdt_driver_test.out 1 2 0 &
Expected output
This should generate a reset after 3 seconds (a 1 second time-out and a 2 second sleep).
or
./wdt_driver_test.out 2 1 0
0 Kudos
1 Reply

387 Views
gonewithwind-peter
Senior Contributor I

Hi 

I have  found 

wdt_driver_test.out

in imx-test package. it  works in user space .

so my questions is how to start up watchdog in uboot startup?

so I can feed the watchdog after kernel startup with wdt_driver_test.out ?

 

0 Kudos