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 5D772C433EF for ; Wed, 19 Jan 2022 08:08:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DC13E830B3; Wed, 19 Jan 2022 09:08:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc 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; secure) header.d=walle.cc header.i=@walle.cc header.b="hGR1xaRN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 24CDF8319C; Wed, 19 Jan 2022 09:08:54 +0100 (CET) Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 73C7A8309D for ; Wed, 19 Jan 2022 09:08:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@walle.cc Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id E185A22175; Wed, 19 Jan 2022 09:08:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1642579730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B0hieNQCO8r/gxNfSAXp7lpX5jLU31RtSWPsTlMGqes=; b=hGR1xaRNw+kSSJQo5j/lWhXpI6DtgQffJA9o8FeV9z7SHmO4czrlSV37IB5FfLpionhidF kTlcNZNwnGX1rocObYGt8Ez/JONXxLVppL+5mh58O/zeP4z3lXi5DXRqJhfUPvLlKYIdJw yjYvpXjRXCLrKTmO/hGuaOHrMAu1u2k= From: Michael Walle To: sjg@chromium.org Cc: daniel.schwierzeck@gmail.com, dennis@ausil.us, ilias.apalodimas@linaro.org, jaeckel-floss@eyet-services.de, lukas.auer@aisec.fraunhofer.de, michal.simek@xilinx.com, trini@konsulko.com, u-boot@lists.denx.de, xypron.glpk@gmx.de, Michael Walle Subject: Re: [PATCH v3 22/31] bootstd: Add an implementation of EFI boot Date: Wed, 19 Jan 2022 09:08:38 +0100 Message-Id: <20220119080838.2899594-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220119014315.1938157-14-sjg@chromium.org> References: <20220119014315.1938157-14-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.2 at phobos.denx.de X-Virus-Status: Clean > Add a bootmeth driver which handles EFI boot, using EFI_LOADER. > > In effect, this provides the same functionality as the 'bootefi' command > and shares the same code. But the interface into it is via a bootmeth, > so it does not require any special scripts, etc. > > For now this requires the 'bootefi' command be enabled. Future work may > tidy this up so that it can be used without CONFIG_CMDLINE being enabled. > > There was much discussion about whether this is needed, but it seems > that it is, at least for now. FWIW, the distro boot will also load the device tree from the installer medium for example. The filename is fetched from fdtfile. This is missing here, thus for my board, this cannot be a replacement for distro boot; which is the ultimate goal here, no? -michael