All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/8] boot: run EFI boot manager after block devices
@ 2025-04-21 16:25 Heinrich Schuchardt
  2025-04-21 16:25 ` [RFC 1/8] boot: EFI boot manager does not depend on BootOrder Heinrich Schuchardt
                   ` (7 more replies)
  0 siblings, 8 replies; 41+ messages in thread
From: Heinrich Schuchardt @ 2025-04-21 16:25 UTC (permalink / raw)
  To: Simon Glass, Ilias Apalodimas
  Cc: Tom Rini, Tuomas Tynkkynen, Patrick Rudolph, Mattijs Korpershoek,
	u-boot, Heinrich Schuchardt

Up to now the EFI boot manager is running as a global boot method before
scanning block devices. This leads to failures to boot from unprobed
devices. Scanning all devices before running the EFI boot manager is
not wanted by some board maintainers.

Introduce a dummy bootdev with a priority between block devices and
network devices.

Add the dummy bootdeb to the QEMU ARM environment.

Do not run the EFI bootdev as we must not run EFI\BOOT\BOOTARCH.EFI
before the boot manager.

Heinrich Schuchardt (8):
  boot: EFI boot manager does not depend on BootOrder
  boot: BOOTMETH_DISTRO should select BOOTMETH_EFI_BOOTMGR
  boot: make BOOTMETH_EFILOADER default=n
  boot: introduce BOOTDEVP_6_EFI
  boot: prevent recursion in bootdev_hunt_drv()
  boot: make EFI boot manager bootmeth non-global
  efi_loader: create EFI BOOTDEV
  board/emulation/qemu-arm: enable EFI boot manager

 board/emulation/qemu-arm/qemu-arm.env   |   2 +-
 board/emulation/qemu-sbsa/qemu-sbsa.env |   2 +-
 boot/Kconfig                            |   6 +-
 boot/bootdev-uclass.c                   |   2 +-
 boot/bootmeth_efi_mgr.c                 |  24 +-----
 include/bootdev.h                       |  10 ++-
 include/dm/uclass-id.h                  |   1 +
 lib/efi_loader/Makefile                 |   1 +
 lib/efi_loader/efi_bootdev.c            | 102 ++++++++++++++++++++++++
 net/eth_bootdev.c                       |   4 +-
 test/boot/bootflow.c                    |   2 +-
 11 files changed, 124 insertions(+), 32 deletions(-)
 create mode 100644 lib/efi_loader/efi_bootdev.c

-- 
2.48.1


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2025-05-06 15:57 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-21 16:25 [RFC 0/8] boot: run EFI boot manager after block devices Heinrich Schuchardt
2025-04-21 16:25 ` [RFC 1/8] boot: EFI boot manager does not depend on BootOrder Heinrich Schuchardt
2025-05-02  9:26   ` Ilias Apalodimas
2025-05-02 14:49   ` Simon Glass
2025-05-02 16:08     ` Heinrich Schuchardt
2025-05-03  2:10       ` Simon Glass
2025-05-03  7:04         ` Heinrich Schuchardt
2025-05-03 21:26           ` Simon Glass
2025-05-04  5:34             ` Heinrich Schuchardt
2025-05-05 19:03       ` Mark Kettenis
2025-05-05 19:51         ` Heinrich Schuchardt
2025-05-05 19:54           ` Tom Rini
2025-05-05 22:07             ` Heinrich Schuchardt
2025-05-05 22:10               ` Tom Rini
2025-05-05 23:18                 ` Heinrich Schuchardt
2025-05-05 23:43                   ` Tom Rini
2025-05-06 10:24                     ` Mark Kettenis
2025-05-06 13:24                       ` Simon Glass
2025-05-06 14:29                       ` Tom Rini
2025-05-06 15:56                         ` Ilias Apalodimas
2025-04-21 16:25 ` [RFC 2/8] boot: BOOTMETH_DISTRO should select BOOTMETH_EFI_BOOTMGR Heinrich Schuchardt
2025-04-23 12:28   ` Simon Glass
2025-04-23 12:53     ` Heinrich Schuchardt
2025-05-02  9:28       ` Ilias Apalodimas
2025-05-02 13:23         ` Simon Glass
2025-05-02 13:28           ` Ilias Apalodimas
2025-04-21 16:25 ` [RFC 3/8] boot: make BOOTMETH_EFILOADER default=n Heinrich Schuchardt
2025-05-02  9:30   ` Ilias Apalodimas
2025-05-02 14:49   ` Simon Glass
2025-05-02 16:16     ` Heinrich Schuchardt
2025-05-03  2:10       ` Simon Glass
2025-05-03  7:15         ` Heinrich Schuchardt
2025-05-03 21:26           ` Simon Glass
2025-04-21 16:25 ` [RFC 4/8] boot: introduce BOOTDEVP_6_EFI Heinrich Schuchardt
2025-04-21 16:25 ` [RFC 5/8] boot: prevent recursion in bootdev_hunt_drv() Heinrich Schuchardt
2025-04-21 16:25 ` [RFC 6/8] boot: make EFI boot manager bootmeth non-global Heinrich Schuchardt
2025-04-21 16:25 ` [RFC 7/8] efi_loader: create EFI BOOTDEV Heinrich Schuchardt
2025-04-23 12:28   ` Simon Glass
2025-04-23 12:50     ` Heinrich Schuchardt
2025-05-02  9:44       ` Ilias Apalodimas
2025-04-21 16:25 ` [RFC 8/8] board/emulation/qemu-arm: enable EFI boot manager Heinrich Schuchardt

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.