Generic Wdog Driver; Driver Features; Menu Configuration Options; Source Code Structure - Freescale Semiconductor i.MX 6SoloLite Linux Reference Manual

Hide thumbs Also See for i.MX 6SoloLite Linux:
Table of Contents

Advertisement

Generic WDOG Driver

30.2 Generic WDOG Driver
The generic WGOD driver is implemented in the <ltib_dir>/rpm/BUILD/linux/drivers/
watchdog/imx2_wdt.c file.
It provides functions for various IOCTLs and read/write calls from the user level program
to control the WDOG.

30.2.1 Driver Features

This WDOG implementation includes the following features:
• Generates the reset signal if it is enabled but not serviced within a predefined timeout
value (defined in milliseconds in one of the WDOG source files)
• Does not generate the reset signal if it is serviced within a predefined timeout value
• Provides IOCTL/read/write required by the standard WDOG subsystem

30.2.2 Menu Configuration Options

To get to the Linux kernel configuration option provided for this module, use the ./ltib -c
command when located in the <ltib dir>. On the screen displayed, select Configure the
Kernel and exit. When the next screen appears, select the following option to enable this
module:
• CONFIG_IMX2_WDT-Enables Watchdog timer module. This option is available
under Device Drivers > Watchdog Timer Support > IMX2+ Watchdog.

30.2.3 Source Code Structure

Table below shows the source files for WDOG drivers that are in the following directory:
<ltib_dir>/rpm/BUILD/linux/drivers/watchdog.
File
imx2_wdt.c
i.MX 6SoloLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
190
Table 30-1. WDOG Driver Files
WDOG function implementations
Description
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents