[U-Boot] [PATCH v4 0/1] efi_loader: support BootNext and BootCurrent

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Mar 20 07:00:14 UTC 2019


On 3/20/19 1:07 AM, AKASHI Takahiro wrote:
> This patch was originally posted as a single one, but then was
> merged in my "run -e." Now I would like to post it on its own.
>
> With this patch, EFI Boot Manager will handles BootNext and BootCurrent
> variable as UEFI specification describes.
>
> Changes in v4 (Mar 20, 2019)
> * strictly check the size of BootNext
>
> Changes in v3 (Mar 8, 2019)
> * add error messages around BootNext
> * delete BootNext anyway when processing BootOrder
>
> Changes in v2 (Mar 5, 2019)
> * extract this patch from my "run -e" patch set
> * use efi_[get|set]_variable instead of 'rs->*'
> * add EFI_CALL
> * cosmetic changes
>
> AKASHI Takahiro (1):
>   efi_loader: bootmgr: support BootNext and BootCurrent variable
>     behavior
>
>  lib/efi_loader/efi_bootmgr.c | 51 +++++++++++++++++++++++++++++++++---
>  1 file changed, 47 insertions(+), 4 deletions(-)
>
Thanks a lot for the patch. It is rather late in the release cycle. So
expect this in v2019.07.

In the long run we will have to devise a way for automated testing of
the boot manager. It think this will have to comprise generating a disk
image with an EFI partition with multiple EFI binaries.

Best regards

Heinrich


More information about the U-Boot mailing list