mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] x86: efi_defconfig: enable the EFI USB I/O protocol driver
Date: Wed, 23 Sep 2026 09:29:53 +0200	[thread overview]
Message-ID: <20260923072953.4123955-1-s.hauer@pengutronix.de> (raw)

b31adcfd28bc ("test: x86: add test for uefi usb io") added a usb1 entry to
the devices list in test/x86/pc@efi_defconfig.yaml and enabled the driver
needed for it in the kconfig_add of that same file.

As described in 266482336cda ("ci: pytest: enable console and libc
allocator for allyesconfig"), we build and run tests in two separate
stages, so the options in kconfig_add are never applied. MAKEALL reads
them only when it is passed the YAML file, which would have it run the
tests as well, and that doesn't play nicely with our structure, because
we build e.g. multi_v7_defconfig once and then run multiple tests on it.

CONFIG_USB_HOST is thus not set in the image under test and
test_devices_present fails with:

	devinfo usb1
	devinfo: No such device

266482336cda worked the options around in the build stage. Here the
driver is useful for everyone booting barebox as an EFI payload, so
enable it in efi_defconfig instead.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/x86/configs/efi_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/configs/efi_defconfig b/arch/x86/configs/efi_defconfig
index e21ac4fda3..62d83afac4 100644
--- a/arch/x86/configs/efi_defconfig
+++ b/arch/x86/configs/efi_defconfig
@@ -78,6 +78,8 @@ CONFIG_DRIVER_NET_EFI_SNP=y
 # CONFIG_SPI is not set
 CONFIG_DISK=y
 CONFIG_DISK_WRITE=y
+CONFIG_USB_HOST=y
+CONFIG_USB_EFI_IO_PROTOCOL=y
 CONFIG_VIDEO=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_DRIVER_VIDEO_EFI_GOP=y
-- 
2.47.3




             reply	other threads:[~2026-09-23  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-23  7:29 Sascha Hauer [this message]
2026-09-24  7:41 ` Sascha Hauer

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=20260923072953.4123955-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox