Re: [RESEND PATCH v10 7/9] efi_loader: support boot from URI device path

2023-11-08 Thread Masahisa Kojima
Hi Ilias, On Wed, 8 Nov 2023 at 17:02, Ilias Apalodimas wrote: > > Kojima-san > > [...] > > > > + * @dev: pointer to the UCLASS_BLK or UCLASS_PARTITION udevice > > > > + * @dp:pointer to default file device path > > > > + * Return: status code > > > > + */ > > > >

Re: [RESEND PATCH v10 7/9] efi_loader: support boot from URI device path

2023-11-08 Thread Ilias Apalodimas
Kojima-san [...] > > > + * @dev: pointer to the UCLASS_BLK or UCLASS_PARTITION udevice > > > + * @dp:pointer to default file device path > > > + * Return: status code > > > + */ > > > +static efi_status_t search_default_file(struct udevice *dev, > > > +

Re: [RESEND PATCH v10 7/9] efi_loader: support boot from URI device path

2023-11-07 Thread Masahisa Kojima
Hi Ilias, On Tue, 7 Nov 2023 at 18:37, Ilias Apalodimas wrote: > > Kojima-san > > On Mon, 6 Nov 2023 at 13:40, Masahisa Kojima > wrote: > [...] > > > +/** > > + * search_default_file() - search default file > > + * > > + * @dev: pointer to the UCLASS_BLK or UCLASS_PARTITION udevice > > +

Re: [RESEND PATCH v10 7/9] efi_loader: support boot from URI device path

2023-11-07 Thread Ilias Apalodimas
Kojima-san On Mon, 6 Nov 2023 at 13:40, Masahisa Kojima wrote: [...] > +/** > + * search_default_file() - search default file > + * > + * @dev: pointer to the UCLASS_BLK or UCLASS_PARTITION udevice > + * @dp:pointer to default file device path > + * Return: status code

[RESEND PATCH v10 7/9] efi_loader: support boot from URI device path

2023-11-06 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.