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 7390AC433F5 for ; Thu, 28 Oct 2021 17:47:37 +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 904F860FF2 for ; Thu, 28 Oct 2021 17:47:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 904F860FF2 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 062E783480; Thu, 28 Oct 2021 19:47:34 +0200 (CEST) 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="Gx++cJa4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CB61E832C6; Thu, 28 Oct 2021 19:47:31 +0200 (CEST) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 7FE798356D for ; Thu, 28 Oct 2021 19:47:26 +0200 (CEST) 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-qk1-x72d.google.com with SMTP id x123so6629671qke.7 for ; Thu, 28 Oct 2021 10:47:26 -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=HxK9ssPRGgw4JzKqhcHuk9vcQOYtQ0JD8cvtYnzlB9c=; b=Gx++cJa4juUlOvBpoHMXTgAxomeBTVnO8SOwMaLZh/ziTUL70kVGerRCNpw+/G3GPQ qvq6u9Qn9MkGXpa9jkwgUuXV7rrkF02+iAWhFOSp/qPb/IRVFf1w8DKtiD/4b47kbTCT c2D//rTQO8S3Y53qAIxjLlYls152ZCt9N55DI= 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=HxK9ssPRGgw4JzKqhcHuk9vcQOYtQ0JD8cvtYnzlB9c=; b=Qe31cZ2TduYSaBUmx6VWWy1BZbRw/BXNTj+Vp/tJKuEmxQ55YNUlgf+rEk/Y4hji4M msBhoSbohRgUVxEt7GD65XO9EJewxervvyACYUkmTrJsv3KRc2PLK5S/XuN3Lj8DjlHg gfNsmshuvH2kTTuQVdLyaNyg93TrDYZ7aZPDYXqekRTmutaLjJYoiILNkpdW12WrSU7F /D1xrqFn3/hHXQagC/8JVlZuVcReuKJLboHez60qUH8TYYBHCCMLbJVOFsdD7n9zA45Y 1m/3UR9RnCzYdMp0n08MbHnU6BYWdeQv/KY+S9Jfi8dhHCZyjdCRjC3IXMPrzrAQZUg1 3A3Q== X-Gm-Message-State: AOAM530nym0lgXWVqwS7/nub402AKNQcPXZqOhMWLmVAcRRENFkZ5FJO tTmaKP6FOLBD1CXvAydjMWdUlQ== X-Google-Smtp-Source: ABdhPJzOa6b2zw0A+amOBhb3TxDBSHDn6x5tYzqWoXZyHlZibKhBMwWKfAI20a/Cq5NKYv4wv4w3RQ== X-Received: by 2002:a37:9d90:: with SMTP id g138mr4806707qke.133.1635443245037; Thu, 28 Oct 2021 10:47:25 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-015b-1704-43dd-8832.res6.spectrum.com. [2603:6081:7b01:cbda:15b:1704:43dd:8832]) by smtp.gmail.com with ESMTPSA id g1sm2301919qkd.89.2021.10.28.10.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 10:47:24 -0700 (PDT) Date: Thu, 28 Oct 2021 13:47:21 -0400 From: Tom Rini To: Peter Robinson Cc: Simon Glass , Heinrich Schuchardt , Michal Simek , Ilias Apalodimas , Daniel Schwierzeck , Steffen Jaeckel , Marek =?iso-8859-1?Q?Beh=FAn?= , Lukas Auer , Dennis Gilmore , Jaehoon Chung , Marek Vasut , Masahiro Yamada , Pavel Herrmann , Peng Fan , Stephen Warren , Stephen Warren , =?iso-8859-1?Q?Fran=E7ois?= Ozog , Heinrich Schuchardt , U-Boot Mailing List Subject: Re: [PATCH v2 00/41] Initial implementation of standard boot Message-ID: <20211028174721.GE8284@bill-the-cat> References: <20211023232635.9195-1-sjg@chromium.org> <3fde4b98-e7c0-71c3-d7c4-22c6f43eae31@canonical.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3Gh4pev60u9p+mSW" 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 --3Gh4pev60u9p+mSW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 28, 2021 at 06:37:42PM +0100, Peter Robinson wrote: > On Wed, Oct 27, 2021 at 3:11 PM Simon Glass wrote: > > > > Hi Heinrich, > > > > On Wed, 27 Oct 2021 at 05:38, Heinrich Schuchardt > > wrote: > > > > > > > > > > > > On 10/24/21 01:25, Simon Glass wrote: > > > > > > > > The bootflow feature provide a built-in way for U-Boot to automatic= ally > > > > boot an Operating System without custom scripting and other customi= sation. > > > > This is called 'standard boot' since it provides a standard way for > > > > U-Boot to boot a distro, without scripting. > > > > > > > > It introduces the following concepts: > > > > > > > > - bootdev - a device which can hold a distro > > > > - bootmeth - a method to scan a bootdev to find bootflows (owne= d by > > > > U-Boot) > > > > - bootflow - a description of how to boot (owned by the distro) > > > > > > Please, describe why you are suggesting this change. > > > > > > Replacing a script by a devicetree chunk is just decreasing flexibili= ty > > > and increasing complexity. Where is the benefit? > > > > > > I am missing a description here of where and how a boot flow shall be > > > defined. Describing some device-tree binding in patch 40/41 does not > > > replace describing the development and usage workflow. Who will provi= de > > > which bootflow information when? > > > > > > You still have an open discussion with Linaro about the source of > > > devicetrees. This discussion needs to be finalized before considering > > > this series. > > > > > > In my view bootflows cannot be defined in the devicetree because prior > > > firmware providing a devicetree is completely independent of any dist= ro > > > and therefore cannot provide a distro specific bootflow. > > > > There is actually no need to use devicetree here. I think you might > > have the wrong end of the stick. It is certainly possible to add nodes > > to configure things, if needed, but it works find without any changes > > to the devicetree, as you can see from the rpi_3 patch. > > > > There are several aims with this effort: > > > > - Provide a standard way to boot anything on U-Boot, that everyone can > > plug into (distros, board vendors, people using a custom flow) >=20 > I as a distro maintainer don't want this, we already get the "standard > way to boot" from UEFI, this just feels like another unnecessary > abstraction to that. Right. But part of the problem is "How do I find UEFI". Something somewhere needs to be configurable to say where to look, yes? --=20 Tom --3Gh4pev60u9p+mSW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmF64ikACgkQFHw5/5Y0 tyzsXQv+IfH3MIYD1FYzZg7Zx6jTiEGIwt1KarEOhCkM+vX9wNrccmmQnWzx8f8u nnH1pMuaNRlKduQTjSF/kEM96+KfBgi+Khl8k1a+DKEV5862zE36PnlLWsAdlh46 qbHsTLk7KDXzam0TGobKjV4kWtj4YtR32sEQ+oBP5566oNAv2VcJPS86/+r/8piw Z5HGECmt/4/XDKy9MziN3mYkCspT4aAWh1NOCvPSBHX/qL+nRZkHlFNtgK8Q0Vk8 onO2/0CYgtnwl/rpREfTGp5cXLWQgNlQFQTgujhcv4Xdc63j8c7gS45nH5MTmKm3 Ot6bf3I/Y8yq45/mzVzgMHEOptmgqMLYU9nLxQoMzT80i0zmrupVrCUrp47NgwSi W4wjvBDqaHX/EEnvDGoZ3OX2Ojzjw+ikFLJ5Z0DjCUN3/Ux8w8rRCxmgxel2cmFc 8vrF3YEv3empFAvD9Jmoo2TNpxGau6Vsel6md7yBObZa/p/B6OYdwRc4iZ+/tK1R LPi7vtZc =63tT -----END PGP SIGNATURE----- --3Gh4pev60u9p+mSW--