Watchdog Function - Advantech RSB-6410 User Manual

Nxp arm cortex-a9 i.mx6 dual/quad mini-itx motherboard
Table of Contents

Advertisement

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
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.
2.
Rebuild the kernel image with your modification (refer to 4.4.2 Build android
kernel) and create a bootable sd card to test.
67
RSB-6410 Android User Manual

Advertisement

Table of Contents
loading

Table of Contents