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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 990A4C433EF for ; Wed, 3 Nov 2021 15:57:02 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id AA2A460E98 for ; Wed, 3 Nov 2021 15:57:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AA2A460E98 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1743583434; Wed, 3 Nov 2021 16:56:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="nWFL1CKr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9E0DE83538; Wed, 3 Nov 2021 16:56:57 +0100 (CET) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4AB288342C for ; Wed, 3 Nov 2021 16:56:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82c.google.com with SMTP id x10so862609qta.6 for ; Wed, 03 Nov 2021 08:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=UxvmRoWg44HPTy/dFmIBXIcm3NkM9L8NhwEC1h8+xpc=; b=nWFL1CKrsYsGMOrnt4yOXLEX+cbk05+609wBab9LXGxSIOYv7UeT6l/3VDlYbiYHn+ ggSdNz49AweNHwmjV+kRdk0epp1OWXHXlBn9gd1M6T44B/YsmJ3pJ/xQuHq7dsohDicF pZ39240e4H/NdpBHcIh7XqM08QdQ3U/uuJJE8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UxvmRoWg44HPTy/dFmIBXIcm3NkM9L8NhwEC1h8+xpc=; b=zKAZ+eNjfURMwSQKPTjjv0Q1UASTN+wavaJyBbGjFkxelV3XlhLe/7gq+KCxL5Lip0 Hqf7m8kxxaeG7o69qllAH36CKzrzyPAzNgp2YYlmK50SN/LfK0VzP20A7a3FaRaQM5qk xgfiVdytDyKZUKW8+Dxwp++35xf7GC0nRNeYRWmFV8EQcf8koANZs08LzdQm99/O330o 9KpYi12FbfToppggmNCY9VY1c9eA+KLVAi2EAkCt0Ad01ZURdLJuKVPb0jbJoA+kPaPb pv87IYDN7nlY6qllCA5c6vxemITPwx+lC74QxW5jSThBIhbmbOvIqwO4pPu1WExMet/c UVpg== X-Gm-Message-State: AOAM531NaKBARc3/Q1CZndGWG/Rx3oYkQM8ao7+M69okWr5dTU/qW5J8 lyikoVy2jYmtoBI/5mWN/MWUag== X-Google-Smtp-Source: ABdhPJxlkzsrrGxFBgCXE/+hry1y3OLvHXepD5mCebry+jHweXvUCV/jaluV1gpZTG1hsYTD7FxNaA== X-Received: by 2002:a05:622a:1006:: with SMTP id d6mr46640970qte.259.1635955013006; Wed, 03 Nov 2021 08:56:53 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-e929-65d4-8978-cf6f.res6.spectrum.com. [2603:6081:7b01:cbda:e929:65d4:8978:cf6f]) by smtp.gmail.com with ESMTPSA id 201sm1726976qkm.1.2021.11.03.08.56.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 08:56:49 -0700 (PDT) Date: Wed, 3 Nov 2021 11:56:47 -0400 From: Tom Rini To: Simon Glass Cc: Mark Kettenis , francois.ozog@linaro.org, awilliams@marvell.com, albert.u.boot@aribaud.net, agraf@csgraf.de, Anastasiia_Lukianenko@epam.com, andre.przywara@arm.com, bmeng.cn@gmail.com, xypron.glpk@gmx.de, ilias.apalodimas@linaro.org, vanbaren@cideas.com, linus.walleij@linaro.org, mbrugger@suse.com, michal.simek@xilinx.com, Oleksandr_Andrushchenko@epam.com, seanga2@gmail.com, swarren@wwwdotorg.org, swarren@nvidia.com, fitzsim@fitzsim.org, tuomas.tynkkynen@iki.fi, u-boot@lists.denx.de, qemu-devel@nongnu.org Subject: Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option Message-ID: <20211103155647.GD24579@bill-the-cat> References: <20211026002344.405160-1-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p7Jy7isCirGQ9JA8" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --p7Jy7isCirGQ9JA8 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 02, 2021 at 07:20:51PM -0600, Simon Glass wrote: > Hi Mark, >=20 > On Wed, 27 Oct 2021 at 16:30, Mark Kettenis wro= te: > > > > > From: Simon Glass > > > Date: Wed, 27 Oct 2021 12:23:21 -0600 > > > > > > Hi Fran=E7ois, > > > > > > On Wed, 27 Oct 2021 at 09:14, Fran=E7ois Ozog wrote: > > > > > > > > > > > > > > > > On Wed, 27 Oct 2021 at 16:08, Simon Glass wrote: > > > >> > > > >> Hi Fran=E7ois, > > > >> > > > >> On Tue, 26 Oct 2021 at 00:07, Fran=E7ois Ozog wrote: > > > >> > > > > >> > Hi Simon > > > >> > > > > >> > Position unchanged on this series: adding fake dts for boards th= at generate their device tree in the dts directory is not good. If you have= them in documentation the it is acceptable. > > > >> > > > >> I think we are going to have to disagree on this one. I actually u= sed > > > >> the qemu one in testing/development recently. We have to have a wa= y to > > > >> develop in-tree with U-Boot. It does not impinge on any of your use > > > >> cases, so far as I know. > > > > > > > > I am not the only one in disagreement... You just saw Alex B=E9n=E9= e from Qemu saying the same thing. > > > > I understand the advanced debug/development scenario you mention. > > > > But locating the DT files in the dts directory is mis-leading the c= ontributors to think that they need to compile the DT for the targeted plat= forms. > > > > For your advanced scenario, you can still have the dts in the docum= entation area, or whatever directory (except dts). compile it and supply to= U-Boot. > > > > > > We have this situation with rpi 1, 2 and 3 and I don't believe anyone > > > has noticed. U-Boot handles the build automatically. If you turn off > > > OF_BOARD, it will use the U-Boot devicetree always so you know what is > > > going on. > > > > Until. The Raspberry Pi foundation releases a new firmware that > > configures the hardware differently such that the addresses in the > > U-Boot devicetree are wrong and nothing works anymore. Can't speak > > for the rpi 1, but this has happened in the past for the rpi 2 and 3 > > as well as more recently on the rpi 4. >=20 > So I update my SD card with a new private-binary bootloader and things > stop working? I think I can narrow that one down :-) Well, wait, no, this is the point. You can just not update your board. But that all of the users running a more recent release are now broken is the problem. It's already an opt-in thing to use U-Boot on Pis and if we make it even more annoying to be recent, there'll be even less reason to use U-Boot over over the Pi+TianoCore if you want anything more fancy that direct-to-Linux booting. --=20 Tom --p7Jy7isCirGQ9JA8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGCsTwACgkQFHw5/5Y0 tywowwwAjh/I2ESKoXGKfn8tdSOJkwkm76+IQMDKUUA9w5hGPosNr3PFkljQEEao 7u7wQ6fWpBHQvvJR0alLSQJsC/Mc33svclejrOFxB8QgBIUCELweBSkTlzpMxV3f jULksNSnkSTGFgavE9mcohqXPfEEC0i5MlHw8COljvYYdleRIYPCVSrOJHcWFtqc MNH5wn33ZSwrgzILUsOTdHGV54f/YvGjnTAN/FeLOB2rCp4BAGzUZCaxngKvdRIk 0j4IY5qOokXM/z/MyUBKmDynG+Ml0IUp+LGK8IPxQR8DBXwLZfFmhehdImAqW93S m/Ug1Dh0kFER4AJN6aLXiXgIedOipLPWiBGsVpvHS5+2viMiN9aniXaJvSqG8cuE rAYD2wdcCtIhCnrru/Dn3G/ZhRlutINX387jmCcKGr63Wl641Pf0fotK/5750Low wQoegNquYbZlDXNK891AZVKA5tCSpD4UwCFY5YhqKp8G+D/6zBUn7WpVzMLbJsVB VVv2wJ8A =Gg7j -----END PGP SIGNATURE----- --p7Jy7isCirGQ9JA8--