From patchwork Thu Feb 25 19:37:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 387238 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp594539jap; Thu, 25 Feb 2021 11:38:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCqcdFnNhK+Q48qNgeJ/LaVXLqp+QQu84cQMpsoeGdm3oYr7rS4bRD3wZhiq2IztkSe70B X-Received: by 2002:a17:906:1e50:: with SMTP id i16mr4209552ejj.466.1614281885235; Thu, 25 Feb 2021 11:38:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614281885; cv=none; d=google.com; s=arc-20160816; b=CXEsXDXBsk57IG96tmAGjYRwnKwOzq+Zs1z30riXkDC9XXJggEshhsAsxLjaLQFUt+ Nz/8zzqwK2E9fDHywxFnlkId1nh+0lsD45vfBx93RTJdJ5FG3eOEs8P0bvxLNxJmPiok gT4C6N9R+PBLGc2o8UK0ZWrl86EWC07vkq949vBK8jjWLssH+OQbIyX0HcD6mXEbjNoh G5rl7mk+6CRpxPlrBOZNAeeIaMWXPHrdoiU9ODO5YxnV2IdbEdKpKxN9INF2Dy7H0upN BJPZ+/JSxO7EcZXSJwansoBzTkm6sdxV3ECyByCDApH3DXoOvq1my3Hb+tqBewABhudu kZCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=7A//OH9OqL/s/ScbpjslRhxO+Z5uD3rFt+M6PDnUrPA=; b=TCPuY8zlQXSQlc6yKPFhHzJ00/sIch8pjVqFQWqD3KnslIgCPyhrdY0EgHbgf0fX0y 4LhTB6qjbbotryC3ijvHTDUUlR9z9i6zAlPH65yAxGXbLXl/Q7EH/1/KR7suqXTeBCob 8mbePe9D7Sz/tsKexCRx4rIa7cGEeP5+Ph0x0LFt6hOWw5dCRMtS2hksHLcCkcLiP+KN s42IpPBsI+8cDHApYxCI6v2e4buKISf522D7gZcgoZp4MVKn4xXfFiSos0j8DxpgFK3v NpuxGsf4CokR2ucEzFVBZ+DToXeLzgOsC0PZhTuhQpCUfb46wCJLBWqSH3xh5Fwuwhjo 0uWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EU1fnru5; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id w13si3727503edd.262.2021.02.25.11.38.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 11:38:05 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EU1fnru5; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0C48780EFC; Thu, 25 Feb 2021 20:38:04 +0100 (CET) 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="EU1fnru5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3E996812E2; Thu, 25 Feb 2021 20:38:01 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 0FA0180765 for ; Thu, 25 Feb 2021 20:37:58 +0100 (CET) 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-wr1-x436.google.com with SMTP id d11so6391081wrj.7 for ; Thu, 25 Feb 2021 11:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7A//OH9OqL/s/ScbpjslRhxO+Z5uD3rFt+M6PDnUrPA=; b=EU1fnru59CWueCMHwaHGPiSmY4is3/2KSsmD6eDrB3/KGn47ncnY0EYTPIRbBAjGt/ bpD8XUWyYUbvj5pZ+K4JWXOOvv7Zdt0TcMsjSZrPEdZG7QHMT92NkfzRBAqptMIRiNeS 06aTjpSBCsy2uS6p+1Avrh0/ZipVJFx9nuzug5JEXotKOJ7I7NFipt4oUm/6/KZJB3Tk I9HwVwDgJJXLMcuQcVSwiWCexyEalS9+DvL9iSKOqz51EepoPYt0e8kc1yu8nL6FOQp4 rZAQjYU2Z+lOGN7eMlUjMYIeT/NLu3qHf5kCSnoeug709HaetRFFmeGV0fVQ93qmN10Y dw4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7A//OH9OqL/s/ScbpjslRhxO+Z5uD3rFt+M6PDnUrPA=; b=cjo399w+nkTf8HC1mSaXbhPH0kdCW4HvUoMG3FUUtJbhglghh7mZcPdt26Vd79uQYS n+QoERQjfZtWFKVuOc2HviRMgCABsX3CdloqIZQwt85Y0egxd2TIb5k5Cm/gzihT+lE+ i0nC9z1uv6pm8OKhLL8HTz8q5hKDVUSYidKtF+JA64LEBzFsepMxwcEmyWyFSg1X5CD0 K7+vbayX7mAzMB+nOYbH6umRFVAuKx8kkFUtH8xuyYfxgMIEtSBzHHd5kXwse9jCxAn2 Vyz03JgmCpQf7zk9t0rBsD4TAMwxU4aFNsa9sPidqEl7uvk+N6uxD7fa9j6uO08pWVTf 4A9g== X-Gm-Message-State: AOAM530jnbmTjQuvMSDoYaJxK2cg0mHRcpGBaJjxkFOMyOKxh/ShamoV RdJMN2dE2BLchnntYL6SDi3rZwuZ7GdVMePz X-Received: by 2002:a5d:4cd1:: with SMTP id c17mr3991319wrt.168.1614281877674; Thu, 25 Feb 2021 11:37:57 -0800 (PST) Received: from apalos.home ([2a02:587:4647:e6c6:2e56:dcff:fe9a:8f06]) by smtp.gmail.com with ESMTPSA id o20sm8276789wmq.30.2021.02.25.11.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 11:37:57 -0800 (PST) From: Ilias Apalodimas To: patrick.delaunay@foss.st.com Cc: Ilias Apalodimas , Patrice Chotard , uboot-stm32@st-md-mailman.stormreply.com, u-boot@lists.denx.de Subject: [PATCH] configs: stm32mp1: enable uefi related commands Date: Thu, 25 Feb 2021 21:37:54 +0200 Message-Id: <20210225193754.1898064-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 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.102.4 at phobos.denx.de X-Virus-Status: Clean The board can boot with UEFI. With the latest changes in U-Boot's EFI subsystem we also have support for EFI runtime variables, without SetVariable support. We can also store the EFI variables in a file on the ESP partition and preserve them across reboots. The env and efidebug commands are missing in order to configure EFI variables and the efibootmgr though. Since U-Boot's default config enables other EFI related commands (e.g bootefi), let's add the env related and efidebug commands and allow users to do that Signed-off-by: Ilias Apalodimas --- configs/stm32mp15_trusted_defconfig | 3 +++ 1 file changed, 3 insertions(+) -- 2.30.1 diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig index da31b74cdeb6..107041119f1d 100644 --- a/configs/stm32mp15_trusted_defconfig +++ b/configs/stm32mp15_trusted_defconfig @@ -17,6 +17,7 @@ CONFIG_BOOTCOMMAND="run bootcmd_stm32mp" CONFIG_SYS_PROMPT="STM32MP> " CONFIG_CMD_ADTIMG=y CONFIG_CMD_ERASEENV=y +CONFIG_CMD_NVEDIT_EFI=y CONFIG_CMD_MEMINFO=y CONFIG_CMD_MEMTEST=y CONFIG_CMD_ADC=y @@ -32,6 +33,7 @@ CONFIG_CMD_USB=y CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_BMP=y CONFIG_CMD_CACHE=y +CONFIG_CMD_EFIDEBUG=y CONFIG_CMD_TIME=y CONFIG_CMD_TIMER=y CONFIG_CMD_PMIC=y @@ -144,4 +146,5 @@ CONFIG_BMP_32BPP=y CONFIG_WDT=y CONFIG_WDT_STM32MP=y CONFIG_ERRNO_STR=y +# CONFIG_HEXDUMP is not set CONFIG_FDT_FIXUP_PARTITIONS=y