Re: [U-Boot] [RFC v3 09/10] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-18 Thread Alexander Graf
On 16.04.19 18:20, Heinrich Schuchardt wrote: > On 4/16/19 12:56 PM, Heinrich Schuchardt wrote: >> On 4/16/19 6:24 AM, AKASHI Takahiro wrote: >>> In the current implementation, bootefi command and EFI boot manager >>> don't use load_image API, instead, use more primitive and internal >>> functions

Re: [U-Boot] [RFC v3 09/10] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-17 Thread AKASHI Takahiro
Correction: On Thu, Apr 18, 2019 at 09:13:52AM +0900, AKASHI Takahiro wrote: > On Tue, Apr 16, 2019 at 12:56:32PM +0200, Heinrich Schuchardt wrote: > > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > > >In the current implementation, bootefi command and EFI boot manager > > >don't use load_image API,

Re: [U-Boot] [RFC v3 09/10] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 12:56:32PM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >In the current implementation, bootefi command and EFI boot manager > >don't use load_image API, instead, use more primitive and internal > >functions. This will introduce duplicated

Re: [U-Boot] [RFC v3 09/10] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-16 Thread Heinrich Schuchardt
On 4/16/19 12:56 PM, Heinrich Schuchardt wrote: On 4/16/19 6:24 AM, AKASHI Takahiro wrote: In the current implementation, bootefi command and EFI boot manager don't use load_image API, instead, use more primitive and internal functions. This will introduce duplicated code and potentially unknown

Re: [U-Boot] [RFC v3 09/10] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-16 Thread Heinrich Schuchardt
On 4/16/19 6:24 AM, AKASHI Takahiro wrote: In the current implementation, bootefi command and EFI boot manager don't use load_image API, instead, use more primitive and internal functions. This will introduce duplicated code and potentially unknown bugs as well as inconsistent behaviours. With t

[U-Boot] [RFC v3 09/10] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-15 Thread AKASHI Takahiro
In the current implementation, bootefi command and EFI boot manager don't use load_image API, instead, use more primitive and internal functions. This will introduce duplicated code and potentially unknown bugs as well as inconsistent behaviours. With this patch, do_efibootmgr() and do_boot_efi()