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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 B688BC4338F for ; Tue, 3 Aug 2021 05:43:56 +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 BD2F560F41 for ; Tue, 3 Aug 2021 05:43:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BD2F560F41 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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 BE99F82D84; Tue, 3 Aug 2021 07:43:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="GuN7tGbd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 420C482D88; Tue, 3 Aug 2021 07:43:52 +0200 (CEST) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 8DD0A82937 for ; Tue, 3 Aug 2021 07:43:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wm1-x331.google.com with SMTP id h24-20020a1ccc180000b029022e0571d1a0so1294497wmb.5 for ; Mon, 02 Aug 2021 22:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=pUjt8ekXRS4YIAws4zAlio5xIguZFaJA8jLx1KIHM/M=; b=GuN7tGbdMZla88mCWzdvKC69eukyDM1kjkrgYjQbDAVNhoDja58M0FMkUCoGdBTgLQ yiAH2dMzGcDb5IsC5WWZUkykUdWpNGGBQ2AW6ZB3gAxZhWTCn/uIhsCd6JnqbtG4Ph/X BzSG0y2xGl3MZCWl4E6nO/QpHHs9iV3gCEM94ysUcsAeNIv/cubGQwWCQt5HxQc3ktTc p+pdQV5Z8g8aQUUxiAa1SpWd4+98Jrl8oAUT57DKwmsp9Nzdc5dSQFHy6hHhOnVAqI5M SXfP6MO5XPrZUV5XT9E0fpWmuxUfvSSXbIq0lB1V5QI7xu9yhKGOvdQTeV6QIbtsgDsf ko6Q== 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; bh=pUjt8ekXRS4YIAws4zAlio5xIguZFaJA8jLx1KIHM/M=; b=rO+gR9pqRXqbAIR7I/8IMrezkPkndYFXE0+WZpHo305yW9BR5hAi9KRYWfBfk5XO0P vMBkTz/412ZFNxh9taVnCFfKaxWzh5+myalN2u07TjuuR+KVcuFNlQDldnuuiv7atOn1 1NH3GOcP5ztgLeMOvxgKXJXsOQKTEvh1dCAI6bMrExbyKHqTFWgHpFMpjEy9nMGgr+YJ AO8ok/fueU0CAHQQirvoDMD2BdiJzxc0jdPv/El5jr8vArZyZZjcysS0JHYG6jZOBaAu LiuQ7b0s8WJaOZNcR9U3S20Qo4q7goKp8zUZSV71jWTBzGrrBfBjXnG8M16Hu9ydmj+s bxpg== X-Gm-Message-State: AOAM531G/XTEM35SCpl87/u2Trzk5wNDr84Wc2sAvAAiLHAtiog6BMKK BRMIrHPOt8qX/pI2i07579j/Cw== X-Google-Smtp-Source: ABdhPJwvmPmbOuKkEGmB+60Brng5AvymMat9ukmpwr7Q4xH04T26MA51CazeUIFs768HgPmh6kfv3A== X-Received: by 2002:a1c:9ace:: with SMTP id c197mr2326489wme.170.1627969429059; Mon, 02 Aug 2021 22:43:49 -0700 (PDT) Received: from Iliass-MBP (ppp-94-66-249-72.home.otenet.gr. [94.66.249.72]) by smtp.gmail.com with ESMTPSA id d24sm1357523wmb.42.2021.08.02.22.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 22:43:48 -0700 (PDT) Date: Tue, 3 Aug 2021 08:43:43 +0300 From: Ilias Apalodimas To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , KASHI Takahiro , Alexander Graf , Masami Hiramatsu , Sughosh Ganu Subject: Re: [PATCH v2 0/3] efi: Minimal revert to rodata change Message-ID: References: <20210802144431.2396678-1-sjg@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Mon, Aug 02, 2021 at 02:02:56PM -0600, Simon Glass wrote: > Hi Ilias, > > On Mon, 2 Aug 2021 at 09:37, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Mon, Aug 02, 2021 at 08:44:28AM -0600, Simon Glass wrote: > > > The changes to move from devicetree to rodata take things in the wrong > > > direction for various reasons: > > > > > > > As I said on the previous thread, I think this should remain as is for a > > number of reasons (and mainly because it only works with 1/3 valid > > CONFIG_OF_XXX U-Boot provides), but I'll let Heinrich decide. > > Do you mean OF_EMBED and OF_HOSTFILE? > > We happily use OF_HOSTFILE in the sandbox vboot tests. I don't see any > issue there. > > OF_EMBED should not be used in production code. It is for debugging only. No I mean CONFIG_OF_SEPARATE and CONFIG_OF_PRIOR_STAGE (apart from CONFIG_OF_BOARD) Thanks /Ilias > > > > > > > - devicetree is where config should be stored > > > - it provides no memory production in any case, particularly when U-Boot > > > is relocated > > > - testing becomes harder, with the suggestion of adding an entire new > > > sandbox build just for this > > > > > > Revert this until a new direction can be established. > > > > > > > Regards > > /Ilias > > > Changes in v2: > > > - Also revert two other patches, based on comment from Takahiro > > > > > > Simon Glass (3): > > > Revert "doc: Update CapsuleUpdate READMEs" > > > Revert "mkeficapsule: Remove dtb related options" > > > Revert "efi_capsule: Move signature from DTB to .rodata" > > > > > > board/emulation/common/Makefile | 1 + > > > board/emulation/common/qemu_capsule.c | 43 ++++ > > > doc/board/emulation/qemu_capsule_update.rst | 203 +++++++++++++++++ > > > doc/develop/uefi/uefi.rst | 125 ----------- > > > include/asm-generic/sections.h | 2 - > > > lib/efi_loader/Kconfig | 7 - > > > lib/efi_loader/Makefile | 8 - > > > lib/efi_loader/efi_capsule.c | 18 +- > > > lib/efi_loader/efi_capsule_key.S | 17 -- > > > tools/mkeficapsule.c | 229 +++++++++++++++++++- > > > 10 files changed, 472 insertions(+), 181 deletions(-) > > > create mode 100644 board/emulation/common/qemu_capsule.c > > > create mode 100644 doc/board/emulation/qemu_capsule_update.rst > > > delete mode 100644 lib/efi_loader/efi_capsule_key.S > > > > > > -- > > > 2.32.0.554.ge1b32706d8-goog > > >