From patchwork Thu Jun 9 12:30:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 580314 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp736599max; Thu, 9 Jun 2022 05:35:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWooIti/KlZnqu5yONHfIN4/u6zytjTUh+wyGEgDlpRZBr6Nw2l5kd+5qufLUILDxX/qsy X-Received: by 2002:a05:6638:dc6:b0:32e:e2d7:8261 with SMTP id m6-20020a0566380dc600b0032ee2d78261mr22019899jaj.152.1654778115267; Thu, 09 Jun 2022 05:35:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654778115; cv=none; d=google.com; s=arc-20160816; b=VZBXqLDavH5tNT4tZqDAsDvYAkuS4tefrM4gaJkRwvAmyqzEzGzcZf9yc5svnZY/xB ZlYZb29WINzrjSKno/ONPq+ZP+pm6V4fM7Axz80S+O7aRm85uRQtEMPJ0zsnC98df5ME rfBtwA9+vRLAYnuwRjXsep35ByEZQYQYQzgTtqYU82g6ZktT5nQoSXk15iqQw3RjQ9L7 8usehavHslemAiZ1aVMnPuJMiUnIogHuqGMeq0yUIOs245/bPqH8oCaxdHmpN3OTc6Vo XwoPVUfRfioh3DR0ROeIocsvCeyMk/5G9G4VJVUdkBsEZ5VCiY1TTcKvg48hwYH5tocR /rBg== 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:references:in-reply-to:message-id:date:subject:cc:to :from; bh=ml7GFFm/SfZWR1rJqu19HMgWy2JsUQVpNmIeRA7DCHw=; b=FJrvOWcOfIV0Lgp7YBlh4cG2aH1etrklccgTAyiCdQJWoiX8WAsUMNXw+wANni0/k0 seo5Y63E7sfxICieUWEPzbMM4KUrlPmb4EEfcCaITs4rOC4aZLSkD02U70Io57v57WC/ 4MLc93j0VFM0v2PCce0K7E0vLpwfF/FhqAKu3ho1g8RPQk1VTG4VI2r7YNLWaIfT0dMX RDzVLrH1umg+yDsSnJLVt75lA6kt1+SYr1JtRzdzpQprafZymN7bGkT20AQHpTbn69BM C+KpQxl3q459jfpPSvScPa59R2D/raRw9nizNwKFqbF2r3WJ4Db/xnMYP4xlLoJEV63L Y7HA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 a15-20020a5ec30f000000b0066988abe07dsi5741078iok.83.2022.06.09.05.35.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 05:35:15 -0700 (PDT) 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; 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=fail (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 46E278441D; Thu, 9 Jun 2022 14:33:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 32238843FC; Thu, 9 Jun 2022 14:32:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 57908843EB for ; Thu, 9 Jun 2022 14:32:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E412E153B; Thu, 9 Jun 2022 05:32:21 -0700 (PDT) Received: from a076522.blr.arm.com (a076522.blr.arm.com [10.162.16.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D7A1E3F766; Thu, 9 Jun 2022 05:32:16 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Takahiro Akashi , Patrick Delaunay , Patrice Chotard , Simon Glass , Bin Meng , Tom Rini , Etienne Carriere , Michal Simek , Jassi Brar , Masami Hiramatsu , Sughosh Ganu Subject: [PATCH v5 22/23] [TEMP]configs: synquacer: Add FWU support for DeveloperBox Date: Thu, 9 Jun 2022 18:00:09 +0530 Message-Id: <20220609123010.1017463-23-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220609123010.1017463-1-sughosh.ganu@linaro.org> References: <20220609123010.1017463-1-sughosh.ganu@linaro.org> 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 From: Masami Hiramatsu 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 --- Changes in v3: - Use CONFIG_FWU_MDATA_MTD. - Remove unused CONFIG_FWU_INIT_BROKEN_METADATA and add CONFIG_TOOLS_MKFWUMDATA. Signed-off-by: Sughosh Ganu --- configs/synquacer_developerbox_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 29b1e11401..f2c8c3cc4e 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -94,3 +94,8 @@ 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_MDATA_MTD=y +CONFIG_CMD_FWU_METADATA=y +CONFIG_TOOLS_MKFWUMDATA=y