
Kernel Configure Options
Kernel Configure Tree View Options
Kernel Configure Tree View Options
Description
Device Drivers --->
[*] Watchdog Timer Support --->
[*] Disable watchdog shutdown on close
[*] IMX2+ Watchdog
IMX2 Watchdog Timer
Compile-time Configuration Options
Option
Values
Default Value
Description
CONFIG_IMX2_WDT
y/n
y
IMX2 Watchdog Timer
Source Files
The driver source is maintained in the Linux kernel source tree.
Source File
Description
drivers/watchdog/imx2_wdt.c
IMX2 Watchdog Timer
User Space Application
The following applications will be used during functional or performance testing. Please refer to the UM document for the detailed
build procedure.
Command Name
Description
Package Name
watch
watchdog is a daemon for watchdog
feeding
watchdog
Verification in Linux
• Set NFS rootfs. Build a rootfs image which includes watchdog daemon.
• Set boot parameter. On the U-Boot prompt, set following parameter:
Set nfsargs:
setenv bootargs wdt_period=35 root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:
$gatewayip:$netmask:$hostname:$netdev:off
console=$consoledev,$baudrate $othbootargs
Device Drivers
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
NXP Semiconductors
87
Summary of Contents for Layerscape LS1028A BSP
Page 135: ......