On Tue, 18 Mar 2025 at 15:23, Adriano Cordova <adria...@gmail.com> wrote: > > U-Boot can pass an initrd to subsequent boot stages via the > EFI_LOAD_FILE2_PROTOCOL. The current implementation only supports > this functionality via the efi boot manager: the initrd is taken > from the load options of the BootCurrent variable. This commit adds > support for registering a memory mapped initrd, e.g. loaded from a > FIT image. For now this new method takes precedence over loading the > initrd from the BootCurrent variable (if both are present) because > the BootCurrent variable is not cleared on exiting the boot manager.
So for this to happen you have to - Invoke the boot manager and eventually have an entry that eventually fails - Load a FIT image with bootm right after that? Looking at the efi_bootmgr.c , removing BootCurrent on fails seems straightforward. Bu I can live with this for now. [...] Thanks /Ilias