Message ID | 20180613023728.202173-2-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="NsP4Ioep"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 4159s73N1pz9s1B for <incoming@patchwork.ozlabs.org>; Wed, 13 Jun 2018 12:37:46 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id BD343C21C93; Wed, 13 Jun 2018 02:37:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B0C58C21C27; Wed, 13 Jun 2018 02:37:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7B0EDC21C6A; Wed, 13 Jun 2018 02:37:35 +0000 (UTC) Received: from mail-it0-f68.google.com (mail-it0-f68.google.com [209.85.214.68]) by lists.denx.de (Postfix) with ESMTPS id E0241C21C27 for <u-boot@lists.denx.de>; Wed, 13 Jun 2018 02:37:34 +0000 (UTC) Received: by mail-it0-f68.google.com with SMTP id m194-v6so1893180itg.2 for <u-boot@lists.denx.de>; Tue, 12 Jun 2018 19:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=+QhfoUV1fr3zwQBiSQx+mPL7ckQvxSOAAjwiWRcqO1Y=; b=NsP4IoephbjT+zlintApG3xbtyC3IvWxUWue61om7OQKUaBojPEBmJEViROI77Gf6w o0f9lTL5fUvM7Rgtb5yTZHMVbbKIokoqOHJco2wF+M+lO8aM7yYwoqyQNCVJw+Sg7f16 fIiUiZlQBflYPitxEN+wINI7e20dC47/jCBoKVvYI0rnl4/uzLFaIvhC9omGQ0ry2yW9 7xB40bSg1+NvQ/EWCdqE8pInmGISZuHAitV49mBVau4GyWGOWzB98m3BsbLd1ejK+mKd aVJhtKD4MWuEmH23w3GccGL4XzmS83KhrnJ+g1PUxNzjgS95Unv5ISRj7tTaw/nT8g// 4C+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=+QhfoUV1fr3zwQBiSQx+mPL7ckQvxSOAAjwiWRcqO1Y=; b=bjjOEkeK0hG9rYHNCS21bnf0GuwdGSzs1Zzd1cezOMXC884o6uKzBmYPhhyxx9scYy +W7dO96oZFpI96OTT0xqm4cngqjMMpHO2H8YnOz3HCHvmwXAzPYN28jFyLCTrCfDENc4 klVCCcflHv1Bzjyb7ZXCLZILQzUHiXVvTyBFaelMK3HR5sS6yuRyEXdpK0SZrTOcxBNX HrVXYFX417xEHgUtpxP+G4MiJ6UOOIQEgDeXpaoCcXUsE8WQvoLhoIAqhH+O203AOozF 7KPQz9OEAfneQNAZb/zUa5+r396JgWF5lJ4U31UUdnGiRtKbuDQLjuQsN9TishHrai7T xn4w== X-Gm-Message-State: APt69E2g2C5ZddH/3q/X88uZEpssLHWCC/WA3DdjaYipcCgxAGTwReBQ YmFlTgyTmMKFX9yqFHDuzTl7Aw== X-Google-Smtp-Source: ADUXVKJjcB2Fy8NvJlOXwMLMzEPmpfOAkQ6YD+kM334g5CXA6MZ0e84odUIBw0W03PIaPV13SJkW8w== X-Received: by 2002:a24:30c4:: with SMTP id q187-v6mr2941411itq.35.1528857453269; Tue, 12 Jun 2018 19:37:33 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id f3-v6sm501610iob.49.2018.06.12.19.37.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jun 2018 19:37:32 -0700 (PDT) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id E2F0D14153C; Tue, 12 Jun 2018 20:37:31 -0600 (MDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Tue, 12 Jun 2018 20:37:16 -0600 Message-Id: <20180613023728.202173-2-sjg@chromium.org> X-Mailer: git-send-email 2.18.0.rc1.244.gcf134e6275-goog In-Reply-To: <20180613023728.202173-1-sjg@chromium.org> References: <20180613023728.202173-1-sjg@chromium.org> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Alexander Graf <agraf@suse.de> Subject: [U-Boot] [PATCH v6 01/13] efi: Don't allow CMD_BOOTEFI_SELFTEST on sandbox X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
efi: Enable basic sandbox support for EFI loader
|
expand
|
diff --git a/lib/efi_selftest/Kconfig b/lib/efi_selftest/Kconfig index 59f9f36801..b52696778d 100644 --- a/lib/efi_selftest/Kconfig +++ b/lib/efi_selftest/Kconfig @@ -1,6 +1,6 @@ config CMD_BOOTEFI_SELFTEST bool "Allow booting an EFI efi_selftest" - depends on CMD_BOOTEFI + depends on CMD_BOOTEFI && !SANDBOX imply FAT imply FAT_WRITE help
This does not work at present and gives the following error: output: 'ld.bfd: read in flex scanner failed scripts/Makefile.lib:390: recipe for target 'lib/efi_selftest/efi_selftest_miniapp_return_efi.so' failed It may be possible to figure this out with suitable linker magic but it does not seem to be easy. Also, we will be able to run the tests on sandbox without using the miniapp. So for now at least, disable this option. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v6: None Changes in v5: - Add new patch to disallow CMD_BOOTEFI_SELFTEST on sandbox Changes in v4: None Changes in v3: None Changes in v2: None lib/efi_selftest/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)