From mboxrd@z Thu Jan 1 00:00:00 1970 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 E2451C46467 for ; Mon, 16 Jan 2023 10:59:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EB909851BE; Mon, 16 Jan 2023 11:59:11 +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 Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mailserver.it header.i=@mailserver.it header.b="R+9UkLh6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 02E96851BE; Mon, 16 Jan 2023 11:59:10 +0100 (CET) Received: from smtp-out-03.comm2000.it (smtp-out-03.comm2000.it [212.97.32.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6857485117 for ; Mon, 16 Jan 2023 11:59:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=francesco@dolcini.it Received: from francesco-nb.int.toradex.com (31-10-206-125.static.upc.ch [31.10.206.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-03.comm2000.it (Postfix) with ESMTPSA id DC17AB462BD; Mon, 16 Jan 2023 11:58:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1673866747; bh=MZfOTKrWJ/vMoqfgnLJNAkQ6aWw/D8JXUDMbxZXsYqU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=R+9UkLh64GRczsbJdEOzHfeJ31XSc2dabseF/VQaGRYpealgkYk3t5YlxccfrkDqk BeY/7F56vWLESTn9BUK5skC8txaY3EWCmvbAzh15t2qNcMJtq1QEbfvpb3rgx73K3p cEE/FBvLR606UtuNL7JX7KzVC139b6xiJAvZeRGRQPmhtcvKVOiBL9VZY8NmWg0Q5c TwwwYW+YmNCT6N1vArc2CgBqkFOI9ktRX9Dxe0wjY4SVwVCEP1gfNpFDy7PU3ZiFAL Jtzo50vSyVHFBaKNb4wHcb/Qw/FnolmGeOrQ0a80duwQuZiGEaH7QZmSP8u6M+LUlC O4V0GunrE/rgQ== Date: Mon, 16 Jan 2023 11:58:47 +0100 From: Francesco Dolcini To: Tom Rini Cc: Heinrich Schuchardt , Fabio Estevam , Francesco Dolcini , Oliver Graute , u-boot@lists.denx.de, marcel.ziswiler@toradex.com, Francesco Dolcini , Simon Glass Subject: Re: [PATCH v2 01/22] apalis-imx8: fix booting caused by missing dm_event Message-ID: References: <20230113171751.331268-1-francesco@dolcini.it> <20230113171751.331268-2-francesco@dolcini.it> <20230114132725.GB3880571@bill-the-cat> <20230114165720.GC3880571@bill-the-cat> <20230114172224.GD3880571@bill-the-cat> <62bdc9b3-d7b8-8334-3617-43681cdfa846@gmx.de> <20230114182311.GG3880571@bill-the-cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230114182311.GG3880571@bill-the-cat> 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.6 at phobos.denx.de X-Virus-Status: Clean Hello Tom, On Sat, Jan 14, 2023 at 01:23:11PM -0500, Tom Rini wrote: > On Sat, Jan 14, 2023 at 07:00:08PM +0100, Heinrich Schuchardt wrote: > > On 1/14/23 18:22, Tom Rini wrote: > > > On Sat, Jan 14, 2023 at 11:57:20AM -0500, Tom Rini wrote: > > > > On Sat, Jan 14, 2023 at 08:27:25AM -0500, Tom Rini wrote: > > > > > On Sat, Jan 14, 2023 at 08:25:19AM -0300, Fabio Estevam wrote: > > > > > > Hi Francesco, > > > > > > > > > > > > On Fri, Jan 13, 2023 at 2:18 PM Francesco Dolcini wrote: > > > > > > > > > > > > > > From: Marcel Ziswiler > > > > > > > > > > > > > > Without the DM_EVENT absolutely no output whatsoever and the system does > > > > > > > not boot at all. > > > > > > > > > > > > Why do we need to select CONFIG_EVENT=y in the first place? > > > > > > > > > > > > Oliver on CC reported the same issue for his board, and we have other > > > > > > broken boards too > > > > > > that do not select CONFIG_EVENT=y. > > > > > > > > > > > > Can we have a generic fix for this? > > > > > > > > > > > > Tom, Heinrich? > > > > > > > > > > Yes, if someone can explain what the problem is, we can correct the > > > > > dependency. I gather most platforms have whatever this problem is > > > > > ignored due to enabling EFI_LOADER. > > > > > > > > The more I look at this, the more confused I get. With DEBUG_UART > > > > enabled, where do thing fail without CONFIG_EVENT (and CONFIG_DM_EVENT, > > > > which is then enabled due to "imply DM_EVENT" in arch/arm/Kconfig, under > > > > ARCH_IMX8) ? How about if you turn DM_EVENT back off? > > > > > > The only other data point I can add right now is that it's not entirely > > > generic, I think. I can disable EFI_LOADER and EVENT and DM_EVENT on > > > am65x_evm (both r5 and a53 portions) and still boot up fine. I don't > > > have something imx8 in my lab, however. > > > > > > > I cannot find event_register() used outside of > > lib/efi_driver/efi_block_device.c and test/common/event.c) > > > > Why should any board with CONFIG_EFI_LOADER=n depend on events? > > There's other events, using EVENT_SPY(...). I'm working on a patch to > fix things up now. Given that this is now solved by your patch Tom, we can just drop this, together with patch 10. The question here is if I should send another series with those 2 removed or you just do not apply those. Francesco