[U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog

Stefano Babic sbabic at denx.de
Fri Sep 16 09:46:20 CEST 2011


On 09/16/2011 01:18 AM, Fabio Estevam wrote:

Hi Fabio,

> When booting a mainline kernel on a mx31pdk the system gets getting resets from the watchdog.
> 
> As the kernel has watchdog support, disable it from U-boot.

But if the kernel has support for watchdog, why does the system reset ?
I checked this board and the watchdog in u-boot is set to 64 seconds,
that is the maximum value. It is surely enough for kernel to boot and to
start triggering the watchdog. If the system still reboots, it seems to
me that this is an issue to be fixed in kernel, not in u-boot. I am sure
I have tested in the past (not recently) the QONG board with enabled
watchdog, using also the imx2_wdt driver in kernel.

The watchdog in u-boot helps if u-boot hangs somewhere, for example
transfering the image from media. It is a different feature.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list