Skip to content

Add LoadFile2 and riscv Linux loader

Nikita Ermakov grub-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 10 repliesIn review
  2. v27 patches 28 repliesSuperseded
  3. v18 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7loader: drop argv[] argument in grub_initrd_load()grub-core/loader/arm/linux.c grub-core/loader/arm64/linux.c grub-core/loader/i386/linux.c +8 more+12 -131 reply
2/7efi: add definition of LoadFile2 protocolgrub-core/commands/efi/lsefi.c include/grub/efi/api.h+16 -01 reply
3/7efi: implemented LoadFile2 initrd loading protocol for Linuxgrub-core/loader/arm64/linux.c+116 -12 replies
4/7linux: ignore FDT unless we need to modify itgrub-core/loader/arm64/linux.c grub-core/loader/efi/fdt.c+16 -131 reply
5/7loader: Move arm64 linux loader to common codegrub-core/Makefile.core.def grub-core/loader/efi/linux.c include/grub/arm/linux.h +1 more+5 -51 reply
6/7RISC-V: Update image headerinclude/grub/riscv32/linux.h include/grub/riscv64/linux.h+16 -141 reply
7/7RISC-V: Use common linux loadergrub-core/Makefile.core.def grub-core/loader/riscv/linux.c include/grub/riscv32/linux.h +1 more+4 -611 reply

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchHeinrich SchuchardtFu WeiDaniel Kiper
SeriesT-b
1/7R-b
2/7R-b
3/7
4/7
5/7R-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/7] Add LoadFile2 and riscv Linux loader

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
Signature · 1 line
2.33.1