Hi all,
I am trying to enable watchdog in u-boot for imx6. I am using Yocto - imx_v2016.03_4.1.15_2.0.0_ga in SABRESD board.
In uboot .bb file i addedfollwing lines,
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
SRC_URI += "file://watchdog.patch"
SRC_URI += "file://watchdog1.patch"
In these 2 patches, the below changes are done.
path : git/include/configs$ vim mx6sabresd.h
/* Enabled Watchdog Timer */
#define CONFIG_IMX_WATCHDOG
In another patch, I reduced the restarting time in
#define CONFIG_WATCHDOG_TIMEOUT_MSECS 6000
Then i cleaned and compiled the u-boot. My patches are applied in source but the board is not restarting. Can anyone help me to enable the Watchdog.