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 BBCD0C3DA6E for ; Thu, 28 Dec 2023 16:46:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 391E387A69; Thu, 28 Dec 2023 17:46:22 +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 294E287A53; Thu, 28 Dec 2023 17:46:20 +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 C065587A69 for ; Thu, 28 Dec 2023 17:46:17 +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 (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id D5C71215AA; Thu, 28 Dec 2023 17:46:16 +0100 (CET) Date: Thu, 28 Dec 2023 17:46:12 +0100 From: Francesco Dolcini To: Fabio Estevam Cc: Francesco Dolcini , Marek Vasut , u-boot@lists.denx.de, "NXP i.MX U-Boot Team" , Stefano Babic Subject: Re: Regression: i.MX6ULL reset not working Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Thu, Dec 28, 2023 at 01:35:31PM -0300, Fabio Estevam wrote: > Hi Francesco, > > On Thu, Dec 28, 2023 at 12:49 PM Francesco Dolcini wrote: > > > > Hello Marek and all, > > I just tried latest master on colibri-imx6ull-emmc and the reset command > > is broken - it does nothing. > > > > From a bisect the issue was introduced with commit 68dcbdd594d4 ("ARM: > > imx: Add weak default reset_cpu()"), U-Boot releases >= v2023.07 are > > broken. > > > > Any hint? I did not try to debug it myself (yet?). > > I think we need something like this: > https://gitlab.com/u-boot/u-boot/-/commit/9043adee3ea67f4a71498e8f06023e3f63d7668f > > but it needs to be more generic, at the SoC level, instead of per board. With that we would have to enable the watchdog, something that is not done today. Any potential downside on doing it? Francesco