All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 01/13] efi: Don't allow CMD_BOOTEFI_SELFTEST on sandbox
Date: Tue, 12 Jun 2018 20:37:16 -0600	[thread overview]
Message-ID: <20180613023728.202173-2-sjg@chromium.org> (raw)
In-Reply-To: <20180613023728.202173-1-sjg@chromium.org>

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(-)

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
-- 
2.18.0.rc1.244.gcf134e6275-goog

  reply	other threads:[~2018-06-13  2:37 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-13  2:37 [U-Boot] [PATCH v6 00/13] efi: Enable basic sandbox support for EFI loader Simon Glass
2018-06-13  2:37 ` Simon Glass [this message]
2018-06-13  2:37 ` [U-Boot] [PATCH v6 02/13] efi: Init the 'rows' and 'cols' variables Simon Glass
2018-06-14 10:11   ` Alexander Graf
2018-06-14 12:58     ` Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 03/13] efi: sandbox: Adjust memory usage for sandbox Simon Glass
2018-06-14 10:12   ` Alexander Graf
2018-06-14 12:58     ` Simon Glass
2018-06-14 13:41       ` Alexander Graf
2018-06-14 14:12         ` Simon Glass
2018-06-14 14:22           ` Alexander Graf
2018-06-14 15:43             ` Simon Glass
2018-06-14 15:47               ` Alexander Graf
2018-06-14 15:53                 ` Simon Glass
2018-06-14 16:07                   ` Alexander Graf
2018-06-14 16:13                     ` Simon Glass
2018-06-14 16:26                       ` Alexander Graf
2018-06-14 16:33                         ` Simon Glass
2018-06-14 16:42                           ` Alexander Graf
2018-06-14 16:55                             ` Simon Glass
2018-06-14 17:08                               ` Alexander Graf
2018-06-14 17:15                                 ` Simon Glass
2018-06-14 18:05                                   ` Alexander Graf
2018-06-14 19:02                                     ` Simon Glass
2018-06-14 19:32                                       ` Alexander Graf
2018-06-20 17:51                                         ` Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 04/13] sandbox: smbios: Update to support sandbox Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 05/13] efi: sandbox: Add distroboot support Simon Glass
2018-06-14 10:13   ` Alexander Graf
2018-06-13  2:37 ` [U-Boot] [PATCH v6 06/13] efi: sandbox: Add relocation constants Simon Glass
2018-06-14 10:14   ` Alexander Graf
2018-06-13  2:37 ` [U-Boot] [PATCH v6 07/13] efi: Add a comment about duplicated ELF constants Simon Glass
2018-06-14 10:15   ` Alexander Graf
2018-06-13  2:37 ` [U-Boot] [PATCH v6 08/13] efi: sandbox: Enable EFI loader builder for sandbox Simon Glass
2018-06-14 10:19   ` Alexander Graf
2018-06-13  2:37 ` [U-Boot] [PATCH v6 09/13] efi: Split out test init/uninit into functions Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 10/13] efi: sandbox: Add a simple 'bootefi test' command Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 11/13] efi: Create a function to set up for running EFI code Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 12/13] efi: Rename bootefi_test_finish() to bootefi_run_finish() Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 13/13] Revert "buildman: Extract environment as part of each build" Simon Glass
2018-06-13  2:41   ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180613023728.202173-2-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.