From patchwork Tue Nov 17 00:28:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 324547 Delivered-To: patch@linaro.org Received: by 2002:a17:906:d156:0:0:0:0 with SMTP id br22csp4493437ejb; Mon, 16 Nov 2020 16:32:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzn1SX1kXca4vbOeZe7eeaFGCSlCTrKA0Y5ALRC8yAqNOhz+1g/vEPc3048lXIMvzHZLIPE X-Received: by 2002:a17:906:2818:: with SMTP id r24mr17794610ejc.100.1605573141791; Mon, 16 Nov 2020 16:32:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605573141; cv=none; d=google.com; s=arc-20160816; b=PHxjNayLBlt5C19kyqObH5gLqA9v51bCcEgZpzB+t8PYJtj+AjThQxXw2ziSTRPQfK gjDzIgnZWw2oIzJ8vXWzP8tGp2eRmaKYQ6cRnnPL+iivCVmYM0WKJD/qSb0ZKhEfqleT sYNqlJz9p0V/z54L9qzv/a+8UFHdhGPAGOS/3hX9Iwq1rfS5XMyD6hYHQ0dHJO1RZlXf nVF3Nc47c1nYRYhsZkvtvSC1ItHzWLGqu4EtuoJEoHnJaQ4S9ZwP/MeRGPrKvmuZhdQR Q7R81ML0RC8AxEiM+QFm8SlrflIZbpSdSdgOeeXQrgwT2//elJNgT31zN5s4USC6hA/d TbVg== 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=fkdLqn6XoS/iuDPI8B72z1kdJx07YXi17EuwH4gV7xtaoh8WkBZ8sB3flwCDNyvYA3 r8K1IZPIz795vy7WcNN6gDdP74Dfiw86WXMLUexGGCpm4kR1/KJT/t8KrQ7YKEY8snER vHLQ7BQkOgpnxdt9khlNxAPxB1j+oUarUFuP9ta5pyVA0rDKmraxVTZs8pSPeOBqzfZk FSwI5Rm0NQpNuKMV/xc+wg/J/iQilQsaQM8Umnj8DkvowIl1qyv/XGuuLWHsFfNPyX4r Y1Mr58R5iZkYnG2B/WURiMrCDhwjTCNluUGwRGjkL5FaHkaOPIo93Sr2HX+rsTpFbfcX PvOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GhGk0HG/"; 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 d21si12172735ejy.662.2020.11.16.16.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 16:32:21 -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="GhGk0HG/"; 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 2A1CD825C3; Tue, 17 Nov 2020 01:30:53 +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="GhGk0HG/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A01A382590; Tue, 17 Nov 2020 01:29:39 +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,T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 70F7382586 for ; Tue, 17 Nov 2020 01:29:15 +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-pg1-x532.google.com with SMTP id v21so2009025pgi.2 for ; Mon, 16 Nov 2020 16:29:15 -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=GhGk0HG/zLd03gUQlohhOOJja+g2TCyDOJ9MQ7GwRisckNOJFf8OF3fMFgGfW3ND15 fPO2Gmwmbe3unjDqSNqjr5XSdbz4CTAIcW37eVQ7eRGETe6GIXJabCD6oT+gaqFaw4mD 6d/NKYkZfNntz2OPdY7NJ9vBwWyKzRDvZeZ6PdzSrQu8eJd21u/x8+QFaR5SfOVrYwNT imkCI3WcXf4gIvcBQWeH3DOnA9NqeqHrUX8lv7mMH3uYCzEQyu/jQRpwdMwSKkQivyMp sggVJyJNZ3x3AYcUTQHYDWwl4AoT3JyCELbFiICdroemQcGi/ZDIIHqQKdOhpqRURNdo 7MBA== 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=OpfgStHCHWWnOlyS9/nUEjAalrHFe1TdK6A2a6wXEmLlqkuhLSw3ZgpS5LkXeBfYqg R3kreQu8LJUGVpkVs3tddNTL/J7lnULHVyivjxBVyYeq3lNFVv8q+r0AFC3kSXRisqKN PTl+HzHj4bvIYwGK+iATBEUZFCqb9h3HASpunrgRpzWsgyqdHnlLTiXHR2xx6fFGGiDU iBcqhRXcj+OU7jts/fUuxlx8FPpLZhQ0TDSHzC1cO/EgmxKF1XN0bDXKJCsTSAhIAuO5 dYbkAcy+3pI7p8gAswsv/D38zJKghsApRjBy3dBiqtL+LSAxzVdib6WYpIMyfU4LAQhC ZOHA== X-Gm-Message-State: AOAM530zGH+De2T/Zlhq0MzDYp+96aBZSIfC3L/3T6qGwWEcaYW1p4wL mEVeMA/gO/4omJV4A+5im66ziw== X-Received: by 2002:a63:d74e:: with SMTP id w14mr1391788pgi.360.1605572953945; Mon, 16 Nov 2020 16:29:13 -0800 (PST) Received: from localhost.localdomain (p784a5642.tkyea130.ap.so-net.ne.jp. [120.74.86.66]) by smtp.gmail.com with ESMTPSA id t64sm20116506pfd.36.2020.11.16.16.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 16:29:13 -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 v9 11/11] sandbox: enable capsule update for testing Date: Tue, 17 Nov 2020 09:28:05 +0900 Message-Id: <20201117002805.13902-12-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201117002805.13902-1-takahiro.akashi@linaro.org> References: <20201117002805.13902-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