From patchwork Mon Nov 30 09:12:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 334702 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp4468932ilb; Mon, 30 Nov 2020 01:15:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLmUHD+o2c+7Nw6FMhqqp2Hbjwkjo5hX+TyCqCQfBmBwkAi+8ZpYrnQkyQsosB+5r/qLK/ X-Received: by 2002:a50:fc14:: with SMTP id i20mr4370883edr.289.1606727710905; Mon, 30 Nov 2020 01:15:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606727710; cv=none; d=google.com; s=arc-20160816; b=HAysriFBecDaodQWM3YWJ68E3qe8/Z9YUOwl9jAtm7J/N4BDzx8mZZKPUapxPaYUsI 8oOjMHWoLArN0qCEfSsMoz4Rgm+M+9SkKAdOOmWM6gFQ5aXcQ2XhSDXtPDnj3wKBQIbA rm7417uETeyozzwghk8YYrQcBvWXcQgIquj/4NqJXW947yImz6wH4YCh/2e8lWrhNWuV 6pHI+jD8SynLK4YDT761Xt5MzsUjdGJvGgQPG8n2jnfRpuNttqCVOWYhs8WwdiC+Y9Zw sK/dVcJKLIcrEE07RteWSr8Tkru4bUY00Fo0dhps9UYzEMPAnjqK6P9OC1DMhfV/vpUk CuSQ== 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:dkim-signature; bh=1q6dfJV585KCVgW4EI5erEsoW8f7cX5vuTNO9p46u3c=; b=uQkBnYmnC/Asoqlo387nXcHXymaEAcE7C5DAnefwERM1/iIgLLnNbmsYix6EJMxgiv LvUhXMSoC6PIWWGWCPryi5ui6H+xsCNP3SPsSowwMJx4S2GpMOf3EtQ9mExFOqbegiEu DPp6yUg18EArdHsJtmcc+6wqf1B4MRUgWciXsuhnpXMYrZiICC7yE9I1x/SnI+b5fISV Hgsi1Jfio+LulfDdx3tdA+jKmRZqB7920rAKQTS3v/WLoiQpy4soAvvBgwJcWOTwhq4K qGmDZg1vEskPp0nIRbLUON9h8cC3Wj3P+tWZcLNfrMhJtCsFms6+IInRAKaEzdlDw6wI 6Hew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BnhikD8h; 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 e14si10940589edj.598.2020.11.30.01.15.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 01:15:10 -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=BnhikD8h; 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 48789827EB; Mon, 30 Nov 2020 10:13:59 +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="BnhikD8h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 301C8827C6; Mon, 30 Nov 2020 10:13:22 +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,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) (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 D19B3827CE for ; Mon, 30 Nov 2020 10:13:11 +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=takahiro.akashi@linaro.org Received: by mail-pl1-x631.google.com with SMTP id l11so6157865plt.1 for ; Mon, 30 Nov 2020 01:13:11 -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 :mime-version:content-transfer-encoding; bh=1q6dfJV585KCVgW4EI5erEsoW8f7cX5vuTNO9p46u3c=; b=BnhikD8hHThkXHONiidP6yOaLcxDsyF8SsYUzEwYqCetAyurhdl9jOZaa+okYUCH/F Hk7EpYxBzd/yk8EXq1MknTVTFCXnr9gcVyiln/4AI6RmP08yBS1vH5UFu6Vxt4qlX8gk 5NuaFgM7WK9AhgjXmA8HrtPDmC/HdFXf25UxLjxIiBIfYLkp/hYKmzX+EcOa3t9FkUaF MWoxAtwlBT+DItibrHSwt6yvaN9w3Jp/tyCWJpNyEBE2gV533bbTvQQMVo1JPEJWdk4/ e4N/4wg2NdodDnPskPCf+emCBJu2lozAuLup4jFmYZeUyy44dmw/UN5W/UYht2hKFqrc IoTQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=1q6dfJV585KCVgW4EI5erEsoW8f7cX5vuTNO9p46u3c=; b=nflT5sf+UL+4mMIE8oJb0mQnrG9jtCXVx5Y+K19GraMKZNsbLBP4RYnAwfKb9Yat8J bsdr7Zmn70tRlTZAsNFJ3caMnUUZOt0cJfH9j2l3xzr4/3qOpPjUsIRzbUkuCscw4ryY yYZ1h9nUlxL+IGyzLMlBpDS/8woMFuIkDHogG5hD/C8cM1wSv+yndfrVoL0KR7cEE+ap 7zCVJy4hZLa49jxgyd0sc8yIUCvA4FHJTMwCkFh3sV3bywaIR1lxYOx7Bq/F4X60HS6o vyhHZjhluFtYynljK6xmYdQDzzgxKg1DE4zq9eEn0jslypQJQasINm7LYkKwLkdCBaDN vHlg== X-Gm-Message-State: AOAM531C5UpIRGq+34duIJCk8Nbh9hCydrPi3plVyB0HZUjonhJG8WcP ySa4tPf5tdesdACltTAl5x3mNg== X-Received: by 2002:a17:90a:178b:: with SMTP id q11mr24615819pja.132.1606727590441; Mon, 30 Nov 2020 01:13:10 -0800 (PST) Received: from localhost.localdomain (p784a5642.tkyea130.ap.so-net.ne.jp. [120.74.86.66]) by smtp.gmail.com with ESMTPSA id y19sm16015792pfn.147.2020.11.30.01.13.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 01:13:09 -0800 (PST) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de Cc: sughosh.ganu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v10 11/11] sandbox: enable capsule update for testing Date: Mon, 30 Nov 2020 18:12:18 +0900 Message-Id: <20201130091218.66413-12-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201130091218.66413-1-takahiro.akashi@linaro.org> References: <20201130091218.66413-1-takahiro.akashi@linaro.org> 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.3 at phobos.denx.de X-Virus-Status: Clean Add more configuration options to allow for efi capsule update on sandbox. Signed-off-by: AKASHI Takahiro --- configs/sandbox64_defconfig | 6 ++++++ configs/sandbox_defconfig | 6 ++++++ 2 files changed, 12 insertions(+) -- 2.28.0 diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig index dc993cd13aaa..661830763feb 100644 --- a/configs/sandbox64_defconfig +++ b/configs/sandbox64_defconfig @@ -231,3 +231,9 @@ CONFIG_TEST_FDTDEC=y CONFIG_UNIT_TEST=y CONFIG_UT_TIME=y CONFIG_UT_DM=y +# +CONFIG_DFU_SF=y +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y +CONFIG_EFI_CAPSULE_ON_DISK=y +CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index f2a767a4cdea..e385425b7d91 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -274,3 +274,9 @@ CONFIG_TEST_FDTDEC=y CONFIG_UNIT_TEST=y CONFIG_UT_TIME=y CONFIG_UT_DM=y +# +CONFIG_DFU_SF=y +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y +CONFIG_EFI_CAPSULE_ON_DISK=y +CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y