Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9473DC6FD1F for ; Fri, 10 Mar 2023 16:29:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7D73685F38; Fri, 10 Mar 2023 17:29:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 4BADD85F22; Fri, 10 Mar 2023 17:29:44 +0100 (CET) Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7FFFC85B78 for ; Fri, 10 Mar 2023 17:29:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=francesco@dolcini.it Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 9808C20F4F; Fri, 10 Mar 2023 17:29:39 +0100 (CET) Date: Fri, 10 Mar 2023 17:29:35 +0100 From: Francesco Dolcini To: Andreas Aegerter Cc: u-boot@lists.denx.de, Marcel Ziswiler Subject: Re: [PATCH v1 2/2] colibri_imx6: add default config with watchdog enabled Message-ID: References: <20230310134333.98573-1-andreas.aegerter@mt.com> <20230310134333.98573-3-andreas.aegerter@mt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230310134333.98573-3-andreas.aegerter@mt.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On Fri, Mar 10, 2023 at 02:43:33PM +0100, Andreas Aegerter wrote: > This config is based on colibri_imx6_defconfig and enables additionally > the watchdog. The intend of the new config is that distros can use this > in the future and the behaviour will not be changed for current users. IMO in general is a bad idea to duplicate a defconfig for the same board, you just duplicate the maintenance effort. > However I am not sure if it would be OK, to just enable the watchdog in > the existing colibri_imx6_defconfig. Any suggestions? I wonder what would be the implication of enabling it by default on the general defconfig. What about using a debugger or kgdb from Linux? What is the watchdog timeout once you enable it? Can we be sure that the OS will be able to start in time to refresh the watchdog? Francesco