boottime->efi_allocate_pages() returning EFI_NOT_FOUND

Ben Schneider ben at bens.haus
Sat Mar 8 18:36:53 CET 2025


On Wednesday, March 5th, 2025 at 12:20 AM, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> 
> On 3/5/25 09:13, Sughosh Ganu wrote:
> > 
> > Can you check what is the address being asked for in the
> > lmb_alloc_addr() function.
> 
> maybe also add a call to lmb_dump_all_force()

Thank you both! This was exactly what I needed. This appears to be
a kernel bug in randomalloc.c which always breaks out of a loop
after only one iteration[1] which is unlikely to be the intention.

Ben

[1] https://github.com/torvalds/linux/blob/master/drivers/firmware/efi/libstub/randomalloc.c#L133


More information about the U-Boot mailing list