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

Stefano Babic sbabic at denx.de
Mon Sep 19 18:24:11 CEST 2011


On 09/19/2011 05:04 PM, Fabio Estevam wrote:
> Hi Stefano,
> 
> On Fri, Sep 16, 2011 at 4:46 AM, Stefano Babic <sbabic at denx.de> wrote:
>> 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.
> 
> I have sent a patch to the ARM kernel list to add watchdog support for
> qong board:
> http://lists.infradead.org/pipermail/linux-arm-kernel/2011-September/065698.html

Ok, thanks.

> 
> Can you please try it and let me know if you get resets when watchdog
> is enabled in U-boot
> and kernel?

It works, the board does not get reset (of course, it is required to
trigger at least once the watchdog under the kernel). I send my
Tested-by to linux-arm.

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