Next boot stages can acces an initrd via a handle with a specific device path and an EFI_LOAD_FILE2_PROTOCOL installed on it. In U-Boot, this functionality is currently only implemented when booting with the EFI boot manager. This series implements this functionality also for the bootm command when the os is of EFI type, e.g. when booting FIT images with an EFI kernel
Adriano Cordova (3): efi_loader: efi_load_initrd: provide a memory mapped initrd efi_loader: binary_run: register an initrd bootm: add support for initrd in do_bootm_efi boot/bootm_os.c | 4 +- cmd/bootefi.c | 2 +- include/efi_loader.h | 4 +- lib/efi_loader/efi_bootbin.c | 20 +++++++-- lib/efi_loader/efi_bootmgr.c | 2 +- lib/efi_loader/efi_load_initrd.c | 71 +++++++++++++++++++++++++++----- 6 files changed, 84 insertions(+), 19 deletions(-) -- 2.48.1