public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v8 0/4] Boot variables management for removable media
@ 2023-06-06 16:37 Raymond Mao
  2023-06-06 16:37 ` [PATCH v8 1/4] Move bootorder and bootoption apis to lib Raymond Mao
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Raymond Mao @ 2023-06-06 16:37 UTC (permalink / raw)
  To: u-boot
  Cc: Raymond Mao, Heinrich Schuchardt, Ilias Apalodimas, Simon Glass,
	Masahisa Kojima

Major changes:
1.Rename and move bootorder and bootoption apis from cmd to lib
  for re-use between eficonfig and bootmgr
2.Fix incorrect return code of boot option update
  Correct the return code for out-of-memory and no boot option found
3.Changes for complying to EFI spec §3.5.1.1
  'Removable Media Boot Behavior'.
  Boot variables can be automatically generated during a removable
  media is probed. At the same time, unused boot variables will be
  detected and removed.
4.The boot variables automatically generated for removable medias
  should be with short form of device path without device nodes.
  This is a requirement for the case that a removable media is
  plugged into a different port but is still able to work with the
  existing boot variables.

Raymond Mao (4):
  Move bootorder and bootoption apis to lib
  Fix incorrect return code of boot option update
  Boot var automatic management for removable medias
  Load option with short device path for boot vars

 cmd/bootmenu.c               |   4 +-
 cmd/eficonfig.c              | 410 +----------------------------------
 include/efi_config.h         |   5 -
 include/efi_loader.h         |  11 +
 lib/efi_loader/efi_bootmgr.c | 385 ++++++++++++++++++++++++++++++++
 lib/efi_loader/efi_disk.c    |   7 +
 lib/efi_loader/efi_helper.c  |  25 +++
 lib/efi_loader/efi_setup.c   |   5 +
 8 files changed, 442 insertions(+), 410 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-06-07 14:04 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 16:37 [PATCH v8 0/4] Boot variables management for removable media Raymond Mao
2023-06-06 16:37 ` [PATCH v8 1/4] Move bootorder and bootoption apis to lib Raymond Mao
2023-06-06 21:00   ` Ilias Apalodimas
2023-06-06 16:37 ` [PATCH v8 2/4] Fix incorrect return code of boot option update Raymond Mao
2023-06-06 19:23   ` Ilias Apalodimas
2023-06-06 19:38     ` Ilias Apalodimas
2023-06-06 19:43     ` Raymond Mao
2023-06-06 19:56       ` Heinrich Schuchardt
2023-06-06 20:15         ` Ilias Apalodimas
2023-06-06 20:17         ` Raymond Mao
2023-06-06 16:37 ` [PATCH v8 3/4] Boot var automatic management for removable medias Raymond Mao
2023-06-07  0:41   ` AKASHI Takahiro
2023-06-07  6:38     ` Ilias Apalodimas
2023-06-07  6:52       ` AKASHI Takahiro
2023-06-07  7:00         ` Ilias Apalodimas
2023-06-07  7:27           ` AKASHI Takahiro
2023-06-07  7:45             ` Ilias Apalodimas
2023-06-07 14:04               ` Raymond Mao
2023-06-06 16:37 ` [PATCH v8 4/4] Load option with short device path for boot vars Raymond Mao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox