Pull request efi-2025-07-rc6

Documentation:
 
 * Describe usage of U-Boot environment variables in extlinux.conf
 
 UEFI:
 
 * Add missing variable initialization in
   efi_bootmgr_update_media_device_boot_option
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEK7wKXt3/btL6/yA+hO4vgnE3U0sFAmhf6VUACgkQhO4vgnE3
 U0vBaQ//epZEkODapNVtI8A+2jS9By4kvVxrFx70XdA5pqXPC4AblNtJTTfIhQk1
 FoaM+gilQ/njm1TM8I5qKVzK0blGnp+79P5OYhWscXCeUJshxrStp47FZHCCcPNN
 h4MGfB65SltqAhcVhdm6Z1db7k6eddI6Ru/LzF/3tPIEnjK5Ywx0O/Pcc5sNu8oA
 yQGHOa6jdU8LJRkk0SRQM0InAlNQiBadNnbrbe+m/xBq0kdzuMViehRxThi83J53
 PeoZ71OzoHut6+zOZmfAVpTA1Z4MilB+9ZNIvL5d5M8ssblrn9fWDPusX9oT5Zou
 stNuapbP6AUUBXNO1RMHpW8TlbmO6p/3QJLUZl2xvvKlVL6jgUJwQM9d3hUpeYjH
 GXJBindH5UwbCX9taNuZ2a2FLpnCcMWqM3QhXE0honvdd5MsW0NTlDOiEFMIqdN/
 2ZUB/2SK0FNfytiHQknucifTjZWqw2WivljrvZ+uj+V9Uk/DlM93qOiZ4K7SxDzW
 4hcKeXXpLjMoourOX5ZRNYGdhsJ3RfCa/u5PFMZQbVpWAqqbhCbrrK5slT+KiimC
 xuHKZqFQ0O7At8tm3qZOSHYiWC6+QxIX7pMjZVooz6mjVolOS0GecZze9t1ndDbu
 2ZN2A/r7zpGL7tz7siVWh9PRs4j1jAxQyv8VDoU61wvGmVUknlA=
 =6/Wm
 -----END PGP SIGNATURE-----

Merge tag 'efi-2025-07-rc6' of https://source.denx.de/u-boot/custodians/u-boot-efi

Pull request efi-2025-07-rc6

Documentation:

* Describe usage of U-Boot environment variables in extlinux.conf

UEFI:

* Add missing variable initialization in
  efi_bootmgr_update_media_device_boot_option
This commit is contained in:
Tom Rini 2025-06-28 08:10:43 -06:00
commit 7027b445cc
3 changed files with 10 additions and 2 deletions

View File

@ -178,7 +178,8 @@ devicetree-overlay <path> [...] - if this label is chosen, use tftp to retrieve
kaslrseed - set this label to request random number from hwrng as kaslr seed.
append <string> - use <string> as the kernel command line when booting this
label.
label. Environment variable references like ${var} are
substituted before boot.
initrd <path> - if this label is chosen, use tftp to retrieve the initrd
at <path>. it will be stored at the address indicated in

View File

@ -92,6 +92,13 @@ That said, we have some differences to these documents, namely:
* If ``-`` is passed as fdt argument and ``CONFIG_SUPPORT_PASSING_ATAGS`` is
enabled, then no device tree will be used (legacy booting / pre-dtb kernel).
* The ``append`` string may use environment variables. For example, an
A/B boot setup could use ``append root=PARTLABEL=root_${bootslot}``
to set the root filesystem to the right one for the selected slot,
assuming the ``bootslot`` environment variable is set before the
extlinux.conf file is processed, and the partition is labeled to
match.
See also doc/README.pxe under 'pxe file format'.
One example extlinux.conf generated by the Fedora installer is::

View File

@ -1133,7 +1133,7 @@ efi_status_t efi_bootmgr_update_media_device_boot_option(void)
{
u32 i;
efi_status_t ret;
efi_uintn_t count, num, total;
efi_uintn_t count, num, total = 0;
efi_handle_t *handles = NULL;
struct eficonfig_media_boot_option *opt = NULL;