Hi Nikita, Great thanks for updating V3, I have tried them on RISC-V Hardware (Starfive StarLight/VisionFive, and Allwinner D1 Nezha), they are working well, boot into Fedora. My repo is here : https://github.com/tekkamanninja/grub/tree/riscv_devel_Nikita_V3
For whole patchset: Tested-by: Fu Wei <tekkamanni...@gmail.com> Nikita Ermakov <a...@altlinux.org> 于2021年10月29日周五 上午4:32写道: > > Hello, > > This is the third version of the patch series. In v3 the series was rebased > on top of the master branch. > > This series contains patches to add support for LoadFile2 protocol to load > initrd on EFI systems. Also it contains patches to load Linux kernel with EFI > stub on riscv platforms and unites arm and riscv codes together into common > loader code for EFI systems. > > Ard Biesheuvel (3): > efi: add definition of LoadFile2 protocol > efi: implemented LoadFile2 initrd loading protocol for Linux > linux: ignore FDT unless we need to modify it > > Atish Patra (3): > loader: Move arm64 linux loader to common code > RISC-V: Update image header > RISC-V: Use common linux loader > > Nikita Ermakov (1): > loader: drop argv[] argument in grub_initrd_load() > > grub-core/Makefile.core.def | 8 +- > grub-core/commands/efi/lsefi.c | 1 + > grub-core/loader/arm/linux.c | 2 +- > grub-core/loader/efi/fdt.c | 7 +- > grub-core/loader/{arm64 => efi}/linux.c | 143 +++++++++++++++++++--- > grub-core/loader/i386/linux.c | 2 +- > grub-core/loader/i386/pc/linux.c | 2 +- > grub-core/loader/i386/xen.c | 3 +- > grub-core/loader/ia64/efi/linux.c | 2 +- > grub-core/loader/linux.c | 4 +- > grub-core/loader/mips/linux.c | 2 +- > grub-core/loader/powerpc/ieee1275/linux.c | 2 +- > grub-core/loader/riscv/linux.c | 59 --------- > grub-core/loader/sparc64/ieee1275/linux.c | 2 +- > include/grub/arm/linux.h | 2 +- > include/grub/arm64/linux.h | 2 +- > include/grub/efi/api.h | 15 +++ > include/grub/linux.h | 2 +- > include/grub/riscv32/linux.h | 16 +-- > include/grub/riscv64/linux.h | 16 +-- > 20 files changed, 185 insertions(+), 107 deletions(-) > rename grub-core/loader/{arm64 => efi}/linux.c (72%) > delete mode 100644 grub-core/loader/riscv/linux.c > > -- > 2.33.1 > _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel