* [PATCH] x86: efi_defconfig: enable the EFI USB I/O protocol driver
@ 2026-09-23 7:29 Sascha Hauer
2026-09-24 7:41 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2026-09-23 7:29 UTC (permalink / raw)
To: Barebox List
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] x86: efi_defconfig: enable the EFI USB I/O protocol driver
2026-09-23 7:29 [PATCH] x86: efi_defconfig: enable the EFI USB I/O protocol driver Sascha Hauer
@ 2026-09-24 7:41 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-09-24 7:41 UTC (permalink / raw)
To: Barebox List, Sascha Hauer
On Wed, 23 Sep 2026 09:29:53 +0200, Sascha Hauer wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] x86: efi_defconfig: enable the EFI USB I/O protocol driver
https://git.pengutronix.de/cgit/barebox/commit/?id=75819f9e196e (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-24 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 7:29 [PATCH] x86: efi_defconfig: enable the EFI USB I/O protocol driver Sascha Hauer
2026-09-24 7:41 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox