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 X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57DA5C4338F for ; Thu, 29 Jul 2021 00:40:23 +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 AACF46052B for ; Thu, 29 Jul 2021 00:40:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AACF46052B 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 0FD6582DDA; Thu, 29 Jul 2021 02:40:21 +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="qaw2ZtYr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 948DC82DDD; Thu, 29 Jul 2021 02:40:18 +0200 (CEST) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (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 AEF6B82DD6 for ; Thu, 29 Jul 2021 02:40:14 +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-x72c.google.com with SMTP id z24so4204978qkz.7 for ; Wed, 28 Jul 2021 17:40:14 -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:user-agent; bh=BiBzoazMcOEny1YfitAjJlKy2HWqpBC3BH9vYiuDAPs=; b=qaw2ZtYrVir2aeSyfC1Y3mVo3V6RBwBDtYzS1rXfjAzY8K7nb8CI+VzFZzaIkOV9wV RsocXYkwir0Spx5xnwpqxNZhqXMIAqnAX8UPlDNDJshdVO6KQlICFbuhwBt9oVLlD06U 0H+Ona0PQzSE9Ku76Kt+PqbKtd3Zoi1TLxsp8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=BiBzoazMcOEny1YfitAjJlKy2HWqpBC3BH9vYiuDAPs=; b=GX+oqtAjrCF2xGyTYQiMawDRA/4MAuFkN9Xonc7uZQQrukEZkoGKt64P21/Y7aGdoj qfeecoUqL30sKJLzWbUY1oSqWhN5Tc19m07LfYI8QslbYUq0oNOn0e7dJmzeua+sm0mo sJ7RNAVx7HA58oC0uWb5hs/RxxfDQVePHAAJ8cht+T1WIIr5D7SZcoxniZMk4ibDtsQL zEAEu3SYuHF4+N+zp/6Y8dXCUmRRJe2Pm83DqstINe9WFOPfHjb2pC2DJTeZO70esVcp WLAzdVaj82OSeWj64fRWKwQI+ZzaA4M2X0fAHKA0TyIGtOD5gFE2L46srRJOlr0X0yz1 Ivhg== X-Gm-Message-State: AOAM531rl+ZJuHAK32TDiqUyofZ0Gf77tME7ZGvMG8iQKJzqPLKFS3p+ imYl5sYZ2sxxgsGuMGoARX15Mw== X-Google-Smtp-Source: ABdhPJzPbQ7Knm4QIv1AyCiVJwaEgwHJVuGdZocXmD29R9GvIEPU4QUnrx70EtrLZ1JFbK6Wp5DX1w== X-Received: by 2002:a37:802:: with SMTP id 2mr2557836qki.89.1627519213389; Wed, 28 Jul 2021 17:40:13 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-3037-3a3d-435c-0707.res6.spectrum.com. [2603:6081:7b01:cbda:3037:3a3d:435c:707]) by smtp.gmail.com with ESMTPSA id r5sm604051qtm.75.2021.07.28.17.40.12 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Jul 2021 17:40:12 -0700 (PDT) Date: Wed, 28 Jul 2021 20:40:10 -0400 From: Tom Rini To: Heinrich Schuchardt Cc: Simon Glass , Ilias Apalodimas , Pali =?iso-8859-1?Q?Roh=E1r?= , Mark Kettenis , U-Boot Mailing List Subject: Re: [PATCH v2 8/9] Add an option for EBBR Message-ID: <20210729004010.GK9379@bill-the-cat> References: <20210702183620.1542680-1-sjg@chromium.org> <20210702183620.1542680-5-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Lxy5y0HlI/3yLyUE" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --Lxy5y0HlI/3yLyUE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 29, 2021 at 02:12:19AM +0200, Heinrich Schuchardt wrote: >=20 >=20 > On 7/2/21 8:36 PM, Simon Glass wrote: > > Add a new Kconfig option for EBBR so that the naming is more explicit. > > Make it select EFI_LOADER which is required for EBBR to work. > >=20 > > Copy over the same 'default' setting so that there is no change in > > which boards enable it. > >=20 > > Signed-off-by: Simon Glass > > --- > >=20 > > Changes in v2: > > - Split out new patch to create an option for EBBR > >=20 > > common/Kconfig.boot | 16 ++++++++++++++++ > > lib/efi_loader/Kconfig | 1 - > > 2 files changed, 16 insertions(+), 1 deletion(-) > >=20 > > diff --git a/common/Kconfig.boot b/common/Kconfig.boot > > index 89a3161f1fa..111032e1202 100644 > > --- a/common/Kconfig.boot > > +++ b/common/Kconfig.boot > > @@ -300,6 +300,22 @@ config LEGACY_IMAGE_FORMAT > > loaded. If a board needs the legacy image format support in this > > case, enable it here. > >=20 > > +config EBBR > > + bool "Enable support for Embeeded Boot Base Requirements (EBBR)" > > + select EFI_LOADER > > + default y if !ARM || SYS_CPU =3D armv7 || SYS_CPU =3D armv8 >=20 > This won't work. You cannot have UEFI neither on big-endian systems nor > on any other architecture not mentioned in the UEFI specification. >=20 > Why do you want to exclude arm1136 and arm1176? This is just moving the default y logic from EFI_LOADER over here. > > + help > > + Enable this to support ARM's EBBR boot method. This bases everything > > + on UEFI protocols.=B4 >=20 > EBBR is explitely not ARM specific. EBBR is not a boot method but a > subset of the UEFI specification. >=20 > > + > > + This Embedded Base Boot Requirements (EBBR) specification defines an > > + interface between platform firmware and an operating system that is > > + suitable for embedded platforms. EBBR-compliant platforms present a > > + consistent interface that will boot an EBBR-compliant operating > > + system without any custom tailoring required. For example, an Arm > > + A-class embedded platform will benefit from a standard interface th= at > > + supports features such as secure boot and firmware update. >=20 > Which user will ever have heard of the EBBR specification? Referencing > it in Kconfig will lead to confusion. >=20 > This new symbol is redundant. If you think that a better name for > EFI_LOADER is needed, please suggest one. At this point in time, yes, there's no need for a separate EBBR symbol as everything we need to be compliant comes down to "enable EFI_LOADER". It is possible that in the future we may need / want a specific symbol to ensure we have all of the required EBBR functionality as some of it may end up being non-default. --=20 Tom --Lxy5y0HlI/3yLyUE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEB+OcACgkQFHw5/5Y0 tyxKKQv+ItS8eLUprRDuAl7Kj2fQ2yRrcxl9JBLKSLAeEIIhM1veV2BKRcVJo4Tb mynf90xu+XwwTOTCHvtyDP8OKm3a0TkSLGlIARkUkwgPsdQp1zmcifkdBIzAXyHv Q1NFpMAMjod2j54Qo7BB9jvFBTB3WZwqqg+vbqzG3iWmUHsgFVfDzNEwl1IxZCXB yIWsbq9x5T0BVgTQb00E3aRqiMVqBmxozesZfCubQH5Sv8NllyGN/Qu6C83sGHUC pwb5WQVa6BXHYL9xs2M47LfqmDADLjI6Ff0MZD/2FvqtLGp90ltPHbRnpWGOvcYO 35vCZPtRnd2Kibs2zVpUUCCNnyafDG7s5efTSf+Kuup67XR4ZSvlmp1yaoWdmVcF D5YUdMMZs/hYcwUgZ2v4GJQNHZ62OI9bn1rapDr51tzsd72Wg1LnmCapeT/MmJXB AMk4X4AnkO0/5yqjhpVTMP/fSqfGZ7g206bGuDiFYR85FxKJKfGJlCo45vQZ6pUu DrSl5J02 =lbY5 -----END PGP SIGNATURE----- --Lxy5y0HlI/3yLyUE--