All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 00/14] efi_loader: improve device-tree loading
@ 2024-04-26 14:13 Heinrich Schuchardt
  2024-04-26 14:13 ` [RFC 01/14] efi_loader: pass GUID by address to efi_dp_from_lo Heinrich Schuchardt
                   ` (13 more replies)
  0 siblings, 14 replies; 36+ messages in thread
From: Heinrich Schuchardt @ 2024-04-26 14:13 UTC (permalink / raw)
  To: Ilias Apalodimas
  Cc: Simon Glass, Tom Rini, Shantur Rathore, Bin Meng, AKASHI Takahiro,
	Masahisa Kojima, Raymond Mao, Mark Kettenis, Joao Marcos Costa,
	u-boot, Heinrich Schuchardt

In U-Boot EFI boot options can already specify both an EFI binary and
an initrd. With this series we can additionally define the matching
device-tree to be loaded in the boot option.

With the last patch the boot manager will fall back the device-tree
specified by $fdtfile in directories '/dtb/', '/', or '/dtb/current/'
on the boot device if no device-tree is specified in the boot
option or via a bootefi command parameter.

Heinrich Schuchardt (14):
  efi_loader: pass GUID by address to efi_dp_from_lo
  efi_loader: library function efi_dp_merge
  efi_loader: simplify efi_dp_concat()
  cmd: eficonfig: add support for setting fdt
  cmd: efidebug: add support for setting fdt
  efi_loader: superfluous efi_restore_gd after EFI_CALL
  cmd: terminate efidebug test bootmgr early on error
  efi_loader: improve error handling in try_load_entry()
  efi_loader: do not install dtb if bootmgr fails
  efi_loader: load device-tree specified in boot option
  efi_loader: move distro_efi_get_fdt_name()
  efi_loader: return binary from efi_dp_from_lo()
  efi_loader: export efi_load_image_from_path
  efi_loader: load distro dtb in bootmgr

 boot/bootmeth_efi.c                           |  60 +-----
 cmd/bootefi.c                                 |   1 -
 cmd/eficonfig.c                               |  90 +++++++--
 cmd/efidebug.c                                |  89 +++++++--
 include/efi_loader.h                          |  15 +-
 lib/efi_loader/Makefile                       |   1 +
 lib/efi_loader/efi_bootbin.c                  |   2 +-
 lib/efi_loader/efi_bootmgr.c                  | 186 +++++++++++++-----
 lib/efi_loader/efi_boottime.c                 |   3 +-
 lib/efi_loader/efi_device_path.c              |  77 +++++---
 lib/efi_loader/efi_device_path_utilities.c    |   2 +-
 lib/efi_loader/efi_fdt.c                      | 117 +++++++++++
 lib/efi_loader/efi_helper.c                   |   6 +-
 lib/efi_loader/efi_load_initrd.c              |   2 +-
 test/py/tests/test_efi_secboot/test_signed.py |  28 +--
 .../test_efi_secboot/test_signed_intca.py     |  10 +-
 .../tests/test_efi_secboot/test_unsigned.py   |   6 +-
 17 files changed, 489 insertions(+), 206 deletions(-)
 create mode 100644 lib/efi_loader/efi_fdt.c

-- 
2.43.0


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

end of thread, other threads:[~2024-05-22  6:29 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-26 14:13 [RFC 00/14] efi_loader: improve device-tree loading Heinrich Schuchardt
2024-04-26 14:13 ` [RFC 01/14] efi_loader: pass GUID by address to efi_dp_from_lo Heinrich Schuchardt
2024-04-26 23:50   ` Ilias Apalodimas
2024-04-26 14:13 ` [RFC 02/14] efi_loader: library function efi_dp_merge Heinrich Schuchardt
2024-04-26 14:30   ` Ilias Apalodimas
2024-04-26 14:52     ` Heinrich Schuchardt
2024-04-26 15:47       ` Ilias Apalodimas
2024-05-14 12:49         ` Heinrich Schuchardt
2024-05-14 12:58           ` Mark Kettenis
2024-05-14 13:08             ` Heinrich Schuchardt
2024-05-22  5:57           ` Ilias Apalodimas
2024-04-26 14:13 ` [RFC 03/14] efi_loader: simplify efi_dp_concat() Heinrich Schuchardt
2024-04-28 13:29   ` Ilias Apalodimas
2024-04-26 14:13 ` [RFC 04/14] cmd: eficonfig: add support for setting fdt Heinrich Schuchardt
2024-04-27 17:21   ` E Shattow
2024-04-27 21:25     ` Heinrich Schuchardt
2024-04-28  4:13       ` E Shattow
2024-04-26 14:13 ` [RFC 05/14] cmd: efidebug: " Heinrich Schuchardt
2024-05-22  6:16   ` Ilias Apalodimas
2024-04-26 14:13 ` [RFC 06/14] efi_loader: superfluous efi_restore_gd after EFI_CALL Heinrich Schuchardt
2024-04-26 14:13 ` [RFC 07/14] cmd: terminate efidebug test bootmgr early on error Heinrich Schuchardt
2024-04-26 14:13 ` [RFC 08/14] efi_loader: improve error handling in try_load_entry() Heinrich Schuchardt
2024-04-26 14:13 ` [RFC 09/14] efi_loader: do not install dtb if bootmgr fails Heinrich Schuchardt
2024-05-22  6:17   ` Ilias Apalodimas
2024-05-22  6:27     ` Ilias Apalodimas
2024-04-26 14:13 ` [RFC 10/14] efi_loader: load device-tree specified in boot option Heinrich Schuchardt
2024-05-22  6:28   ` Ilias Apalodimas
2024-04-26 14:13 ` [RFC 11/14] efi_loader: move distro_efi_get_fdt_name() Heinrich Schuchardt
2024-04-26 14:52   ` Caleb Connolly
2024-04-26 15:18     ` Heinrich Schuchardt
2024-04-26 14:13 ` [RFC 12/14] efi_loader: return binary from efi_dp_from_lo() Heinrich Schuchardt
2024-04-28 13:28   ` Ilias Apalodimas
2024-05-14 12:57     ` Heinrich Schuchardt
2024-04-26 14:13 ` [RFC 13/14] efi_loader: export efi_load_image_from_path Heinrich Schuchardt
2024-04-28 13:32   ` Ilias Apalodimas
2024-04-26 14:13 ` [RFC 14/14] efi_loader: load distro dtb in bootmgr 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.