From patchwork Thu Feb 17 15:12:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 543389 Delivered-To: patch@linaro.org Received: by 2002:ac0:e142:0:0:0:0:0 with SMTP id r2csp449133imn; Thu, 17 Feb 2022 07:13:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaeZDA6Kbj2ghHAclPMquuNu5D3L0Ef1gEieYzoAMG+EMmUIMGOC5HRl93WH7R2jldzCqT X-Received: by 2002:a17:906:8681:b0:6ce:d45f:1689 with SMTP id g1-20020a170906868100b006ced45f1689mr2681380ejx.183.1645110798313; Thu, 17 Feb 2022 07:13:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645110798; cv=none; d=google.com; s=arc-20160816; b=nrTgRbNBkXieApnj4DEMmrM5A5qw/3PAMQxPk/+B29I3i0obYNkixo4CV91W+2U+6/ 7ACejnjxGJwKKKUnKRrrL7WkkG3sqQRzJaoJs9mtMCS7STWhK+DHsF+DMNKGFaqm7jnL HjTzUMoxNrU7FGUGAZMdfL/cDBh8bJoq9r6b/1okC7AyyVBhNgGpGoOBXDqoA+JJ3mZF 4OB8xBAJ9GSDN3tzyJsKrUrTchq7qiYQJxsyhbY3OkmN/IDJkx83BKtxqWs6Ty632mGc OtWMhQ5znGd9oXvd/Nbt8OLoGaKrK1KQi+e9Qvxwox5Pam7rqCwe7GNYYwEtEqJDPHtU Y8FA== 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:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=6XTxR3XP4+pKJw9CRshbSSOHci4k8Zjx/+YxPqICG6Q=; b=0wQSs1rIutLH6U9S8rB7Y0HMqeeo8pFttos+NgLuXv69VmpkHjkr0V/9xAA9DjHIVF l1aOEjWd3Fj/yhBpbZnZkjOhwZZx8pTTKp+FoY+kj9LamPLBBYWQsVHEMo21gcRk/A1l sZbePeED2dEPXsWNl6IMPdc6xlo06fLY/zNxGFswBVawayoorq3kjMCEgWs458+wbUgZ f9q+8MvMxEjRn6u8f6X4MZhS0BCujTaR29v1kTkGxZIWhoPGaJBtc5qY3AOgDYsQNgi2 zkzvBnOX4ttAKvvnalwjupEKsX4u8PVri8guyO5Yii4hvw8pHj7/TutmQAxZcd6H7Eqt NN/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EMYxPAxn; 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 c7si2047435ejd.491.2022.02.17.07.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 07:13:18 -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=EMYxPAxn; 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 F272D83C20; Thu, 17 Feb 2022 16:13:02 +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="EMYxPAxn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5575383BB3; Thu, 17 Feb 2022 16:12:50 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (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 7A29283BB3 for ; Thu, 17 Feb 2022 16:12:44 +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=masami.hiramatsu@linaro.org Received: by mail-pg1-x536.google.com with SMTP id z4so5262938pgh.12 for ; Thu, 17 Feb 2022 07:12:44 -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:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=6XTxR3XP4+pKJw9CRshbSSOHci4k8Zjx/+YxPqICG6Q=; b=EMYxPAxnRapO7QnEVsENAIm6/4zS2Wm591xIsgusyixTM9G67oFKPRvsA+KkrJboU6 bBrcnlcQGdzb7/nYVBl3DufgWaEJqB3S5u0KvtV0OGSD17nZ7O1UwkDXMH+4yvPBTQ9n ywlmLJ2Vr7iLTO17CvE93+dVWOwezDZAtHFsUDc3C28OCy7VaMFnSqwkOb7NjLRVPOzK vRZSasE4VUzTWQINOTwiKg8i4M/e2YUCdgQlPvN6cPOOTl1W6jpD66mx0Cvjl/d2JgXT Q5hABm84RP1VPSBcaJoAUeGJhl+/Xp7bEEcZszs8hkJcTsjOaB2F/lB5cESd+qNsGkyo gZnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=6XTxR3XP4+pKJw9CRshbSSOHci4k8Zjx/+YxPqICG6Q=; b=RqycADJrvQAEifwYx7FVetpMybD9TV1EZGNcRhc15Rk0Sc8cISzmDuyfY8Gn8aZus2 qOkJLZZ8rPXMW3Kk5In+FCdRHFMZYSY1/Vvr9rjTj9C/td/QeJOkqdCpLC/+/ERML+0P L4j+5eMjh/xOFC8wOIx2wnolEHdMtYHMOtbsOuwevkfLQ5MWVU1wrFqahC2FHszBM9hU zmyqDMKFZiQ8lcdpCfvU2Crjp0yOuMvY1BIzbLsKstLdefvBc9YU8cNkXUdFuk9jJ/jJ bcSEF8Lro9UYpxsE43pLU7tkOqT57Hq9ZkFD3BQ9wznZnFuHTI4hNu/a6EYnOEUSCl5P FWmA== X-Gm-Message-State: AOAM532tZ7q5/dYCPqBLLknHR4mQjK14Y4p1jS9COUlVH/xTdQFM/pXX dWWRb1fJ1w39isWKkv2gZDZ/Bd1/5lRngA== X-Received: by 2002:a63:4f42:0:b0:373:cc0b:5b67 with SMTP id p2-20020a634f42000000b00373cc0b5b67mr66765pgl.605.1645110761650; Thu, 17 Feb 2022 07:12:41 -0800 (PST) Received: from localhost.localdomain (113x37x226x201.ap113.ftth.ucom.ne.jp. [113.37.226.201]) by smtp.gmail.com with ESMTPSA id c14sm1355740pfv.126.2022.02.17.07.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 07:12:41 -0800 (PST) From: Masami Hiramatsu To: u-boot@lists.denx.de Cc: Masami Hiramatsu , Patrick Delaunay , Patrice Chotard , Heinrich Schuchardt , Alexander Graf , AKASHI Takahiro , Simon Glass , Bin Meng , Ilias Apalodimas , Jose Marinho , Grant Likely , Tom Rini , Etienne Carriere , Sughosh Ganu , Paul Liu Subject: [RFC PATCH v2 8/8] configs: synquacer: Add FWU support for DeveloperBox Date: Fri, 18 Feb 2022 00:12:37 +0900 Message-Id: <164511075690.43219.12760491382325137583.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <164511067605.43219.15508992404634142079.stgit@localhost> References: <164511067605.43219.15508992404634142079.stgit@localhost> User-Agent: StGit/0.19 MIME-Version: 1.0 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 Enable FWU Multi-Bank support for DeveloperBox SynQuacer platform. This also enables fwu_metadata_read command and "reboot soon after update" option. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 692919e1f5..3bd875c797 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -95,3 +95,10 @@ CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_IGNORE_OSINDICATIONS=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y +CONFIG_EFI_SECURE_BOOT=y +CONFIG_FWU_MULTI_BANK_UPDATE=y +CONFIG_FWU_MULTI_BANK_UPDATE_SF=y +CONFIG_FWU_MULTI_BANK_UPDATE_GPT_BLK=n +CONFIG_CMD_FWU_METADATA=y +CONFIG_FWU_REBOOT_AFTER_UPDATE=y +CONFIG_FWU_INIT_BROKEN_METADATA=y