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 A9C90C433EF for ; Mon, 25 Apr 2022 22:50:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 63A3F83E91; Tue, 26 Apr 2022 00:50:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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="R41VbGLn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6BFAC83CE9; Tue, 26 Apr 2022 00:50:25 +0200 (CEST) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (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 31FCB83DDA for ; Tue, 26 Apr 2022 00:50:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x831.google.com with SMTP id bz24so11447880qtb.2 for ; Mon, 25 Apr 2022 15:50:09 -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=Y5wIXr688A7dCmLn3zDHz49ZOon8Jcoi5U2QgtvxP0I=; b=R41VbGLnx+qMcpvdQvspIRnbyyBrpWB1/I2nBJEbna+ArR5aNhd+rYPmQVuQVvVhc+ H5XugvNPvJnBW/CPKriN0Z2LRSOhoJKbJvW7SVgHDmegFlgbJGJkCtmgs5/o2XOtHP6+ fd0PGuZoerNP6VKfIKj76gfU3dmIBOONH8zC4= 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=Y5wIXr688A7dCmLn3zDHz49ZOon8Jcoi5U2QgtvxP0I=; b=F192E5HVYH7fJ31upiNdtHcgFr3IBt8g+qN8b/7Yn0FaKprSl80vDkSEB5I58m839n CnRdesBD64Kos3XuHB2XNyiRwWuY5pwOYMY99gyHLp847TWLRncfPsi62QJaeONK9ODY 7XM1hw5+TaJYazZVfvCb/utZWiPrCa7Pzq6JByctJb0/XaPgbQ3kSXr7pqYw2BAR4a+m bfe73QNmwXiHiFeFI+OzxF07PGD4SetgxawoiWX3xu6lpE71/ni9hiKPkydhrbCcb0nx P0pEKcbMSVhuqUlmqP6ivxfZFiETJwIbBCULTxyHJxJPlEx3O31gLOfz21HWTyu3WyLd tU1A== X-Gm-Message-State: AOAM5315HrPadWsoB0irMTrGkJz0VFuvVthIcHBKVYm7jn3SnaFaJPmg PrA49rOvCjAGNbdVxhNGQxjQIA== X-Google-Smtp-Source: ABdhPJwMNQSWL3srfNwsxcl0e4b+unTV9Xcp6p4dLQDYfpPMflx65/ROthrJk3+bSP1Tol7n1vOBBg== X-Received: by 2002:a05:622a:11d2:b0:2f3:692f:4268 with SMTP id n18-20020a05622a11d200b002f3692f4268mr4790739qtk.301.1650927008047; Mon, 25 Apr 2022 15:50:08 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-fc46-9350-7cba-0174.res6.spectrum.com. [2603:6081:7b01:cbda:fc46:9350:7cba:174]) by smtp.gmail.com with ESMTPSA id n3-20020a05620a152300b0069ec409e679sm5557617qkk.48.2022.04.25.15.50.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Apr 2022 15:50:07 -0700 (PDT) Date: Mon, 25 Apr 2022 18:50:04 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Dennis Gilmore , Lukas Auer , Daniel Schwierzeck , Michal Simek , Ilias Apalodimas , Steffen Jaeckel , Jaehoon Chung , Marek Vasut , Pavel Herrmann , Peng Fan Subject: Re: [PATCH v5 00/34] Initial implementation of standard boot Message-ID: <20220425225004.GF6644@bill-the-cat> References: <20220425053127.19950-1-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NtwzykIc2mflq5ck" Content-Disposition: inline In-Reply-To: <20220425053127.19950-1-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett 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.5 at phobos.denx.de X-Virus-Status: Clean --NtwzykIc2mflq5ck Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 24, 2022 at 11:30:53PM -0600, Simon Glass wrote: > The bootflow feature provide a built-in way for U-Boot to automatically > boot an Operating System without custom scripting and other customisation. > This is called 'standard boot' since it provides a standard way for > U-Boot to boot a distro, without scripting. >=20 > It introduces the following concepts: >=20 > - bootdev - a device which can hold a distro > - bootmeth - a method to scan a bootdev to find bootflows (owned by > U-Boot) > - bootflow - a description of how to boot (owned by the distro) >=20 > This series provides an implementation of these, enabled to scan for > bootflows from MMC, USB and Ethernet. It supports the existing distro > boot as well as the EFI loader flow (bootefi/bootmgr). It works > similiarly to the existing script-based approach, but is native to > U-Boot. I've put most of this cover letter in the merge commit, and applied this to u-boot/master. This is an incremental starting point at providing a alternative way of constructing and controlling the load and execute OS stage of booting. There is some growth on most platforms for this, but it is a reasonable alternative and will be iterated on. --=20 Tom --NtwzykIc2mflq5ck Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJnJZwACgkQFHw5/5Y0 tyxNpwv/YEFeee2VFobgXpKdWaHdTtMyaLaOtCqkvQMkMR8+Hw6rtC3lmMs6URvX tIGOI5UR+xaPJ1VkGnmptsMLxAGHmSuPaZ/izJkoxq0PYqThGlXVudDpRwuvhBri eVnq5Sfv6BcLfLmqJKUQRXQjUFpWQx+KMPMHaYQzQZlOWl/ya7SuRrB8v5QGdCR+ Dfc9uZSIA5WHqF2Lv8oCHUyisLbJ7SOXp97SBKmTJkbPrwqjIz3BwaGK9QXS+ddi 5aI6uChCRwqhMOsoTcV5DBUEEHLM2S3sTrWT3L1cLP+98i06SOhpylHeJFJ+xGv5 pftAws6OGOJYajowe2jZRtHUoyiB7fVpg2b/1Se+XGh0RJMCUIt2bOJaq+33g0Jt IzxdIxtoAtflXMw+VkRPkfonHvrxuP3Sr2a8uMw15l9yIZVEiJF9iFzfSp9d4ijM RbFn2uwME54blUyj0PRenjhb35D7FqJy5xCsDTFzr627InByguugHzoHsnKE0dy0 4MfwCIeW =aw7m -----END PGP SIGNATURE----- --NtwzykIc2mflq5ck--