Re: [PATCH v5 4/7] efi_loader: support boot from URI device path

2023-09-29 Thread Ilias Apalodimas
On Fri, 29 Sept 2023 at 14:35, Masahisa Kojima wrote: > > Hi Ilias, > > On Fri, 29 Sept 2023 at 20:48, Ilias Apalodimas > wrote: > > > > Hi Kojima-san, > > > > > > [...] > > > > > + > > > +/** > > > + * try_load_default_file() - try to load the default file > > > + * > > > + * Search the device

Re: [PATCH v5 4/7] efi_loader: support boot from URI device path

2023-09-29 Thread Masahisa Kojima
Hi Ilias, On Fri, 29 Sept 2023 at 20:48, Ilias Apalodimas wrote: > > Hi Kojima-san, > > > [...] > > > + > > +/** > > + * try_load_default_file() - try to load the default file > > + * > > + * Search the device having EFI_SIMPLE_FILE_SYSTEM_PROTOCOL, > > + * then try to load with the default boot

Re: [PATCH v5 4/7] efi_loader: support boot from URI device path

2023-09-29 Thread Ilias Apalodimas
Hi Kojima-san, [...] > + > +/** > + * try_load_default_file() - try to load the default file > + * > + * Search the device having EFI_SIMPLE_FILE_SYSTEM_PROTOCOL, > + * then try to load with the default boot file(e.g. EFI/BOOT/BOOTAA64.EFI). > + * > + * @dev pointer to the

[PATCH v5 4/7] efi_loader: support boot from URI device path

2023-09-27 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.