From patchwork Thu Jan 20 15:31:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 533553 Delivered-To: patch@linaro.org Received: by 2002:ad5:5d50:0:0:0:0:0 with SMTP id x16csp1677961imu; Thu, 20 Jan 2022 07:32:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5QVWCT1pRcLtlAWrmd0zK4HZC4Yvf94M6Zp8whSqCOhjIP6hSflPCXDToY38MxPQsaznt X-Received: by 2002:a17:906:3197:: with SMTP id 23mr2826888ejy.215.1642692721769; Thu, 20 Jan 2022 07:32:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642692721; cv=none; d=google.com; s=arc-20160816; b=G9i+LXSMODI+y8ohl02QcLN3KjNQfm5dB78dYk6BP6t2ML5N5UUB7w6okvqg9nIJMS F3zFLG/JoPL9aleLVcs01uuSxoX5oImv8EnkdRZiMqfTzFDfXxRZyLaKdRHH1ojM5/kL y8NwX9fLi2j+XPWdYjtkIy+9U8w5Stpr1sQQ1GJkVwBK7wQZmjT01eBxUozz8AAcuxUR Gx0fn1yVrveTkqdS5xhP9cC1FYXNqi0n6D//wWYHbWAPPHhTFsOx0rMSxlvZ8tO6iBaY TixpqgHdvO7RoQMbbaYC8o/7Kl8hy0hskgJEyN+50QPA2/NszdvsBd27kMnFMOgBWZj4 K9tg== 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=RGe4zOoVnE8X0miwDtdJjTCYZ36L9GxTi0cZKQJNhk8=; b=vtA0XkqklanXWNP09Fd3xgwMT/UeDdnX4tPX0YYy+yayMJXazYg98ena1wanNbVu+c IqzFEKm16ngdHYSb6gwacR1E+zHyW5Og1EJ/3d8m0aK2x2VRhyRdSDEa1D5EHSqOJxOL pMA4SkKjYgUDIyjUCj+NXWXXLPxKVcjgRv+bXPngzsSAxW9Y31QfWxXXIJHZTvoZwJNx 6VFzuezXGvUkjcpVXrkSQlHnVp/GKbWXhfrow6ErAyr60UuVSFmZdF+kh+mELONDewAn N/SA7feH1cH6k1ALcm3LrQ9IUUIdJilUydrOQiUiDby1c1VxYnxb05b4zq0VfOIQRZBA UPjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G1CjbUpU; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id bu10si2035431ejb.957.2022.01.20.07.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 07:32:01 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G1CjbUpU; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 18190838EE; Thu, 20 Jan 2022 16:31:52 +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="G1CjbUpU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 71EA9838D4; Thu, 20 Jan 2022 16:31: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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (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 B4C64838EE for ; Thu, 20 Jan 2022 16:31:47 +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-pl1-x632.google.com with SMTP id n8so5479403plc.3 for ; Thu, 20 Jan 2022 07:31:47 -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=RGe4zOoVnE8X0miwDtdJjTCYZ36L9GxTi0cZKQJNhk8=; b=G1CjbUpUY9f5P39R+cVVW4E/b/vfv45NFx2vfdzfkuvK/BuiS1qrzmjzmZDpom35Dq AZ6tndbQG2loIC7ShB9unvB3f0JDGN9IjvgkOcvbG1gXPkPEOmeOzAmFafZCALoGnr3i jQ/JdXdG6KMEkFsVLBvKvh8GlW6FW2lviyKUW0n8xPKJo6m+F9dEnWxoeNH1B8IOQoUQ bUgzi/jXJdum1NpBghmXZN2dFCNfuoZftlasaw35bgEeSjderIfLQ9m9A409hHKXkFim +ug9Q6dfLqNqeJPz0r6gWVfqG1N+q0jJgO3ljBtr3TEUSq00wq+uxbYjsPi6FKDKoLUo 3w+Q== 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=RGe4zOoVnE8X0miwDtdJjTCYZ36L9GxTi0cZKQJNhk8=; b=e76oNmlDzw3e9Mrr7DWZSFpZv4rAyQvGpCjUHiWhOcoUJEzeAIVYLANoeFOt4G52sq E/2r45LVClP8AbLoDWmdOFsTa8vYeIBcnpjXJn8iZLFVPfpBjWnYi3QdBa6IhI4vCpXB zb8Jf8GYeXOP9KT2nrPQ/wCEINRP//ZxSwm07vmpjehxv3zyDEchuUk06Jsr6VN0AWBB sokVHrMwOQfqERO3RvW+1GgzRjb+IA+Wub0KTxqfC5SBUD/2H+vGw3cYx3sEIb/vR+kG XpaXq2GVAso6n8+R3FIUyOgcyBAKNdq/8Vqq3Vy9HMltkY3nv0AHCtWc9K84fVa3bsFj NsSA== X-Gm-Message-State: AOAM531zkp9JW8f8ic3GbTITqATrp1Aml1fzW5GYd2rNFFEYDy0DwqS8 BINpUKhndAUP6qkp3YU0nGv3tbQ2TZS59A== X-Received: by 2002:a17:902:a601:b0:148:adf2:9725 with SMTP id u1-20020a170902a60100b00148adf29725mr38589114plq.136.1642692705822; Thu, 20 Jan 2022 07:31:45 -0800 (PST) Received: from localhost.localdomain (113x37x226x201.ap113.ftth.ucom.ne.jp. [113.37.226.201]) by smtp.gmail.com with ESMTPSA id f4sm3903911pfe.204.2022.01.20.07.31.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 07:31:45 -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 14/14] configs: synquacer: Add FWU support for DeveloperBox Date: Fri, 21 Jan 2022 00:31:41 +0900 Message-Id: <164269270101.39378.7735258686987722166.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <164269255955.39378.260729958623102750.stgit@localhost> References: <164269255955.39378.260729958623102750.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.2 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 484f6b7336..02d87bc403 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -91,3 +91,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