From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog
Date: Mon, 19 Sep 2011 18:24:11 +0200 [thread overview]
Message-ID: <4E776CAB.4020303@denx.de> (raw)
In-Reply-To: <CAOMZO5A-h=dfdNBAc8EzkLU-zT0idwrVn-_anrwPhSLBCCQKdQ@mail.gmail.com>
On 09/19/2011 05:04 PM, Fabio Estevam wrote:
> 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
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
=====================================================================
next prev parent reply other threads:[~2011-09-19 16:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-15 23:18 [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog Fabio Estevam
2011-09-15 23:18 ` [U-Boot] [PATCH 2/2] mx31pdk: Change the prompt as per other i.MX boards Fabio Estevam
2011-09-16 11:38 ` Stefano Babic
2011-09-19 9:35 ` Stefano Babic
2011-09-16 7:46 ` [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog Stefano Babic
2011-09-19 15:04 ` Fabio Estevam
2011-09-19 16:24 ` Stefano Babic [this message]
2011-09-19 16:57 ` Fabio Estevam
2011-09-19 17:47 ` Fabio Estevam
2011-09-16 11:10 ` Sergei Shtylyov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E776CAB.4020303@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.