From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 19 Sep 2011 18:24:11 +0200 Subject: [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog In-Reply-To: References: <1316128703-1330-1-git-send-email-festevam@gmail.com> <4E72FECC.2050500@denx.de> Message-ID: <4E776CAB.4020303@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/19/2011 05:04 PM, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Sep 16, 2011 at 4:46 AM, Stefano Babic 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 =====================================================================