Re: [PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-15 Thread Ilias Apalodimas
Kojima-san [...] > > We just followed the EDK2 reference implementation. > > > IOW if we pick this up, can we also use it on the efibootmgr code and scan > > all disks on the fly instead of adding boot options? > > Yes, it is possible, but I'm not sure scanning all the disks on the fly > is a goo

Re: [PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-15 Thread Masahisa Kojima
On Fri, 15 Sept 2023 at 15:32, Ilias Apalodimas wrote: > > Hi Kojima-san, > > > > > + efi_handle_t *image_handle) > > > > +{ > > > > + efi_status_t ret; > > > > + efi_handle_t bm_handle; > > > > + struct efi_handler *handler; > > > > + struct e

Re: [PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-14 Thread Ilias Apalodimas
Hi Kojima-san, > > > + efi_handle_t *image_handle) > > > +{ > > > + efi_status_t ret; > > > + efi_handle_t bm_handle; > > > + struct efi_handler *handler; > > > + struct efi_device_path *file_path; > > > + struct efi_device_path *device_pa

Re: [PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-14 Thread Masahisa Kojima
Hi Heinrich, On Thu, 14 Sept 2023 at 23:55, Heinrich Schuchardt wrote: > > On 01.09.23 12:25, Masahisa Kojima wrote: > > This supports to boot from the URI device path. > > When user selects the URI device path, bootmgr downloads > > the file using wget into the address specified by loadaddr > >

Re: [PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-14 Thread Masahisa Kojima
Hi Ilias, On Thu, 14 Sept 2023 at 22:56, Ilias Apalodimas wrote: > > Kojima-san > > On Fri, Sep 01, 2023 at 07:25:40PM +0900, Masahisa Kojima wrote: > > This supports to boot from the URI device path. > > When user selects the URI device path, bootmgr downloads > > the file using wget into the ad

Re: [PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-14 Thread Heinrich Schuchardt
On 01.09.23 12:25, Masahisa Kojima wrote: This supports to boot from the URI device path. When user selects the URI device path, bootmgr downloads the file using wget into the address specified by loadaddr env variable. If the file is .iso or .img file, mount the image with blkmap then try to boo

Re: [PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-14 Thread Ilias Apalodimas
Kojima-san On Fri, Sep 01, 2023 at 07:25:40PM +0900, Masahisa Kojima wrote: > This supports to boot from the URI device path. > When user selects the URI device path, bootmgr downloads > the file using wget into the address specified by loadaddr > env variable. > If the file is .iso or .img file,

[PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-01 Thread Masahisa Kojima
This supports to boot from the URI device path. When user selects the URI device path, bootmgr downloads the file using wget into the address specified by loadaddr env variable. If the file is .iso or .img file, mount the image with blkmap then try to boot with the default file(e.g. EFI/BOOT/BOOTAA