The watchdog routine for a fast development board -QtE-watchdog -IMX6

This section describes the watchdog testing routine in the linux environment. WatchDog is to be able to prevent the program running
is one thing and use, the user may not need in the general procedure, but in special cases may require such a mechanism.
Here we will introduce watchdog experiment commissioning steps.
Watchdog drive Freescale has done, we just need to call the device node

"/ Dev / watchdog", as shown below.

The "watchdogtest" (in the compressed packet) to copy the development board, using the command "the chmod 777
watchdogtest" permission to modify, using the command "./watchdogtest", to open the watchdog, and the dogs per
1 for 10 seconds after stopping the dogs boards will restart.

Guess you like

Origin www.cnblogs.com/mingyue77/p/11463103.html