[PATCH 01/10] Add EFI handover support to bootm
Simon Glass
sjg at chromium.org
Mon Dec 9 00:06:51 CET 2024
Hi Heinrich,
On Sun, 24 Nov 2024 at 13:04, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Am 24. November 2024 20:29:22 MEZ schrieb Matthew Garrett <mjg59 at srcf.ucam.org>:
> >On Sun, Nov 24, 2024 at 03:43:12PM +0100, Heinrich Schuchardt wrote:
> >> > + /* That failed, so try allocating anywhere there's enough room */
> >> > + status = boot->allocate_pages(EFI_ALLOCATE_ANY_PAGES, EFI_LOADER_DATA, pages, &addr);
> >> > + if (status == EFI_SUCCESS) {
> >> > + /* Make sure bootm knows where we loaded the image */
> >> > + os->load = addr;
> >> > + return;
> >> > + }
> >>
> >> Why don't you simply call LoadImage()?
> >
> >With secure boot that requires that the kernel image have a trusted
> >signature, whereas we're relying on a signed FIT.
>
>
> Please, provide an answer describing your problem and why LoadImage() implemented in U-Boot's efi_load_image() won't work.
efi_load_image() is in the EFI_LOADER. This is the EFI app.
Regards,
Simon
More information about the U-Boot
mailing list