From patchwork Fri Nov 13 04:15:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 324275 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp900380ils; Thu, 12 Nov 2020 20:20:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7tP2ojEoc3veN4Wsb/mA7EbM16k1DTvbHX7NV+6LuMJGRMSUCeyMoZqCBxO9wRJVlrkKI X-Received: by 2002:a17:906:2490:: with SMTP id e16mr227548ejb.17.1605241210262; Thu, 12 Nov 2020 20:20:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605241210; cv=none; d=google.com; s=arc-20160816; b=BB6AwCjVrSDj/QpKHRCbQmDwPTby3OJC2Fo6R6jJZPKpUpd5dFSr+8Ljbb9zOpnr84 beOdwHqnUkq+RSEg4PfJhhnf87G7tIdj+xd0cIEWeVz3ru3OVmoKu5x4GEquGzdLOcsi 7AtxPRvXTN48lmqvK/uRwL/7J0/dGCsrZssD8LNdcFRh8KvvsRHwpjP3h99j/QxEUD98 zP7sWeUfE5xZyObxksxpR4IdDNcsVGh+kVsx9EbCdmBbyOetf7VvUdavDkiuMbsJCVFg bzpWww9h5P2fdZPRKwj7QmaOTi3sSYJCKxSwsRB4o47K23IvYdxWtIVBdUxLUpu1PsYs wi7g== 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=861UNZFt1MhZe5GDTVhqJ2uogkkpWaPHlUWUJxmEOjM=; b=YSKUTDRX7CZoFOxZH4i7+Eu+CUNoATHtsVbpsQpcNKltuKfyAZBb4rkYcuXZrTN/19 5vXABMOvAW8O8pvzNY8/aNMtn32R30A0Di2jg6mEK9sEhm9ufNuCJGMbOs5KonzhRopp hMAMmxSjhIB6JO2+0n3RvX6wJkLjeRXDT5Ap5lHHvN5qeXU43q1NolUi0cCMfbVdUkmg dIPqj8WAbFouOHgf6cP5A/cEPdWkMlPvtNIfvjOEsSNlQ0QgoRANuualLy2J0eM4UWO9 QP7lfg88sNLCoeom+ncyCQOoZce8be0YvuxrSe3QJrrec3Uapj379SYwJy4YpB0NuzpK 3u4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JrloY9Xd; 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 a15si5848685eju.565.2020.11.12.20.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 20:20:10 -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=JrloY9Xd; 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 70B81825AA; Fri, 13 Nov 2020 05:18:26 +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="JrloY9Xd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C04B682564; Fri, 13 Nov 2020 05:16:49 +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,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 1CB5F82578 for ; Fri, 13 Nov 2020 05:16:34 +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-x62a.google.com with SMTP id w11so3936317pll.8 for ; Thu, 12 Nov 2020 20:16:34 -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=861UNZFt1MhZe5GDTVhqJ2uogkkpWaPHlUWUJxmEOjM=; b=JrloY9XdNtEeA7uLGVJFFexP12tVcMKDUZ88hK9E4nsH2XVQ99DHj+wXAXYm6QiVHW DxcbsMkg3rr2gBHf8OEgzVU75Rlg+7XbJPdfprjhQ+jsBuS6C5QgH020K6mpxP7/kdn2 y4lXcn86NL+EI48MqusPtMZEcONV6blFXot+a2I8W/UVWfLqRUmMgEwxLKfVtfya7wM/ bbrN2HmWRyGyaaJ8lsog3Rf1ikW0QPe0bwpbVQ5AMtViKY4gtNXCCWOd+r/0W3czC80g LF3pFWhc8SF8eI3icxBVcDLJ/QIXP9XxoDQfI5tI7aJqDZU7KfcqMjmJoVHpI1AYJ43T F1LQ== 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=861UNZFt1MhZe5GDTVhqJ2uogkkpWaPHlUWUJxmEOjM=; b=RUg+QtXunRF/kSLvwjw/WmYhDtAfKq8KFm5RrEtbd63tWA0udP6+UPiGWyXsE5gcZn 0K9Lg8NB3s1HPPvdmTmezHj4jzFl0THI1kS/PExiWJNJ+izr9BDfbfY/fpl+Ib4/E90b 3Bn9XEdHH+aGpFYMXcPLxxCqEEUZUq5p/6RFkCZWPJaET10Hb/2xvZtjSbj/TnS3s5QZ Zx1JbCTSfP5J7+Kk+sB3BXKrFJO9rdDXHEw7IfZIOLtGpyhp7a6tw0XQUmMBfAj7t9ll qe1R+kAwN2QRKPu/mi3hcvvwBTenagLaDkE+3Soge/PjA/9GRiPRYF6IQAKb6aGrgDjn yfUw== X-Gm-Message-State: AOAM531Oa5HhlrkskqoZGS/dcoV24J+tprzcUK1m55bj2hzIpWVxr9e8 NxpfN4Baz2fQORUycZ3qKr7u3maF2eSHJQ== X-Received: by 2002:a17:902:7c87:b029:d8:d023:eb5a with SMTP id y7-20020a1709027c87b02900d8d023eb5amr342719pll.39.1605240987176; Thu, 12 Nov 2020 20:16:27 -0800 (PST) Received: from localhost.localdomain (p784a5642.tkyea130.ap.so-net.ne.jp. [120.74.86.66]) by smtp.gmail.com with ESMTPSA id s10sm4588340pjn.35.2020.11.12.20.16.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 20:16:26 -0800 (PST) From: AKASHI Takahiro To: lukma@denx.de, trini@konsulko.com, xypron.glpk@gmx.de, agraf@csgraf.de Cc: sughosh.ganu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v8 18/18] sandbox: enable capsule update for testing Date: Fri, 13 Nov 2020 13:15:11 +0900 Message-Id: <20201113041511.48207-19-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201113041511.48207-1-takahiro.akashi@linaro.org> References: <20201113041511.48207-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 e9928d5fc2e7..332fbb11e4e3 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 3043208b4b72..1011545304d0 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