IAC-IMX6-Kit Linux Function and Test Manual
Any question, please send E-mail
Page 13 of 66
Sales E-mail
:trade@qiyangtech.com
sales@qiyangtech.com
Website
:http://www.qiytech.com
©2014 Qiyangtech
Copyright
(3)Whether the kernel configuration option has been configured.
2.3 Watchdog Test
Test Principle:
Hardware Watchdog, GPIO5_20 enable Watchdog, GPIO5_18
executing ‘Feeding Dog’ operations.
Test Process &Result:
1.Boot Watchdog, and execute ‘feeding dog’ operations. You can see the
system will not reboot. Press [Ctrl+C] to exit the program.
./watchdog_feed_test /dev/qy_watchdog
2.Boot Watchdog, but do not execute ‘feeding dog’ operations, system
reboot after 1.6 seconds later.
./watchdog_notfeed_test /dev/qy_watchdog
Device Node:
/dev/qy_watchdog
Test Code:
CD/Source Code /Test Code/watchdog_test/watchdog_feed_test.c
CD/Source Code /Test Code/watchdog_test/watchdog_notfeed_test.c
Driver Code:
linux-3.0.101/drivers/misc/watchdog.c
The Kernel Options:
Device Drivers --->
[*] Misc devices --->
[*] WATCH_DOG FOR QIYANG BOARD