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

Fabio Estevam
2011-09-19T15:04:59Z

Hi Stefano,

On Fri, Sep 16, 2011 at 4:46 AM, Stefano Babic <sbabic@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

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

Thanks,

Fabio Estevam