Re: [PATCH 0/2] efi_loader: make the UEFI boot manager configurable

2021-01-18 Thread Heinrich Schuchardt
On 18.01.21 03:33, AKASHI Takahiro wrote:
> Heinrich,
>
> On Fri, Jan 15, 2021 at 07:02:48PM +0100, Heinrich Schuchardt wrote:
>> Some boards are very tight on the binary size. Booting via UEFI is possible
>> without using the boot manager.
>>
>> Provide a configuration option to make the boot manager available.
>>
>> Heinrich Schuchardt (2):
>>   efi_loader: move load options to new module
>>   efi_loader: make the UEFI boot manager configurable
>>
>>  cmd/bootefi.c |  13 ++-
>>  cmd/efidebug.c|   8 +-
>>  lib/efi_loader/Kconfig|   8 ++
>>  lib/efi_loader/Makefile   |   3 +-
>>  lib/efi_loader/efi_bootmgr.c  | 135 --
>
> "efidebug" command also has some related code in that "Boot" variables
> are handled solely by boot manager.
> You can opt it out for the sake of consistency.

As we discussed with Ilias that part will be split off into a separate
command anyway. So this will be done in a later patch.

Best regards

Heinrich

>
> -Takahiro Akashi
>
>
>>  lib/efi_loader/efi_load_options.c | 151 ++
>>  6 files changed, 176 insertions(+), 142 deletions(-)
>>  create mode 100644 lib/efi_loader/efi_load_options.c
>>
>> --
>> 2.29.2
>>



Re: [PATCH 0/2] efi_loader: make the UEFI boot manager configurable

2021-01-17 Thread AKASHI Takahiro
Heinrich,

On Fri, Jan 15, 2021 at 07:02:48PM +0100, Heinrich Schuchardt wrote:
> Some boards are very tight on the binary size. Booting via UEFI is possible
> without using the boot manager.
> 
> Provide a configuration option to make the boot manager available.
> 
> Heinrich Schuchardt (2):
>   efi_loader: move load options to new module
>   efi_loader: make the UEFI boot manager configurable
> 
>  cmd/bootefi.c |  13 ++-
>  cmd/efidebug.c|   8 +-
>  lib/efi_loader/Kconfig|   8 ++
>  lib/efi_loader/Makefile   |   3 +-
>  lib/efi_loader/efi_bootmgr.c  | 135 --

"efidebug" command also has some related code in that "Boot" variables
are handled solely by boot manager.
You can opt it out for the sake of consistency.

-Takahiro Akashi


>  lib/efi_loader/efi_load_options.c | 151 ++
>  6 files changed, 176 insertions(+), 142 deletions(-)
>  create mode 100644 lib/efi_loader/efi_load_options.c
> 
> --
> 2.29.2
> 


[PATCH 0/2] efi_loader: make the UEFI boot manager configurable

2021-01-15 Thread Heinrich Schuchardt
Some boards are very tight on the binary size. Booting via UEFI is possible
without using the boot manager.

Provide a configuration option to make the boot manager available.

Heinrich Schuchardt (2):
  efi_loader: move load options to new module
  efi_loader: make the UEFI boot manager configurable

 cmd/bootefi.c |  13 ++-
 cmd/efidebug.c|   8 +-
 lib/efi_loader/Kconfig|   8 ++
 lib/efi_loader/Makefile   |   3 +-
 lib/efi_loader/efi_bootmgr.c  | 135 --
 lib/efi_loader/efi_load_options.c | 151 ++
 6 files changed, 176 insertions(+), 142 deletions(-)
 create mode 100644 lib/efi_loader/efi_load_options.c

--
2.29.2