67
RSB-6410 Android User Manual
Chapter 4
A
ndroid
OS
4.13
Watchdog Function
The watchdog program is auto started when Android boots up. The default timeout
time is 30 seconds and the watchdog keeps checking every 2 seconds. You can
modify these two values below.
1.
Edit init.rc(you can find it under
android_source _code/ device/fsl/RSB-6410/
init.rc
) ,find follow line:
# [Advantech]Set watchdog timer to 30 seconds and pet it every 10 seconds to
get a 20 seconds margin
service watchdogd /sbin/watchdogd 10 20
class core
2.
Rebuild the kernel image with your modification (refer to 4.4.2 Build android
kernel) and create a bootable sd card to test.
Note!
The “10” means check time is every 10 secs!
The “20” plus “10” means watchdog timeout is 30 secs!
So you can modify these two values to fit your requirement.