[PATCH 0/6 v2] Loadfile2 for initrd loading

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Mar 14 09:41:45 CET 2021


On 3/13/21 10:47 PM, Ilias Apalodimas wrote:
> Hi!
> This is v2 of [1]
>
> Changes since v1:
>   - minor coding style fixes from Heinrich
>   - changed the DP format. Instead of VenMedia - 0x01 - initrd, we skip
>     the 0x01 between VenMedia and the first file.
>   - final device path is stripped in efi_get_dp_from_boot() instead of
>     get_initrd_fp()
>   - Fixed comments on documentation
>
> [1] https://lists.denx.de/pipermail/u-boot/2021-March/443399.html
>
> Ilias Apalodimas (6):
>    efi_selftest: Remove loadfile2 for initrd selftests
>    efi_loader: Add device path related functions for initrd via Boot####
>    efi_loader: Introduce helper functions for EFI
>    efi_loader: Replace config option for initrd loading
>    efidebug: add multiple device path instances on Boot####
>    doc: Update uefi documentation for initrd loading options

For testing I used:

./u-boot -T
efidebug boot add \
     -b d00d initrdtest host 0:1 initrddump.efi \
     -i host 0:1 initrd
efidebug boot next d00d
bootefi bootmgr
load
exit
setenv -e BootD00D
poweroff

The same could be done in a Python test.

Best regards

Heinrich


More information about the U-Boot mailing list