This reverts commit c8000ecccc83b728baf04ced2fedb870bc3bc1b3 on account of USB keyboard devices not being detected until after the timeout to enter the Setup menu or run the UEFI Shell has expired.
The core of the issue is that, when EfiBootManagerConnectAll() is not invoked, PCI bus scanning only starts after the BDS wait period has elapsed, which effectively takes away the ability to use an USB device to enact Boot Device Selection or interact with the Setup menu. Signed-off-by: Pete Batard <p...@akeo.ie> --- Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c b/Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c index 253614a646c1..2bd625ad7e7c 100644 --- a/Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c +++ b/Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c @@ -655,6 +655,11 @@ PlatformBootManagerAfterConsole ( Print (BOOT_PROMPT); } + // + // Connect the rest of the devices. + // + EfiBootManagerConnectAll (); + Status = gBS->LocateProtocol (&gEsrtManagementProtocolGuid, NULL, (VOID**)&EsrtManagement); if (!EFI_ERROR (Status)) { EsrtManagement->SyncEsrtFmp (); -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#60876): https://edk2.groups.io/g/devel/message/60876 Mute This Topic: https://groups.io/mt/74754885/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-