On Sun, 26 Apr 2020 at 21:40, Atish Patra wrote:
>
> This series adds grub loader support for RISC-V Linux. Thanks to the awesome
> initial RISC-V support added by Alex, we just needed a loader for RISC-V to
> load and execute Linux using UEFI protocol.
>
> Fortunately, ARM64 Linux loader is writt
On 4/26/20 9:40 PM, Atish Patra wrote:
> RISC-V doesn't have to do anything very different from other architectures
> to loader EFI stub linux kernel. As a result, just use the common linux
> loader instead of defining a RISC-V specific linux loader.
>
> Signed-off-by: Atish Patra
Tested on Odroi
On 4/26/20 9:40 PM, Atish Patra wrote:
> Update the RISC-V Linux kernel image headers as per the current header.
>
> Reference:
> /Documentation/riscv/boot-image-header.rst
>
> Signed-off-by: Atish Patra
Tested on Odroid-C2 (ARMv8) using GRUB master c543d678105037a plus this
patch series booting
On 4/26/20 9:40 PM, Atish Patra wrote:
> ARM64 linux loader code is written in such a way that it can be reused
> across different architectures without much change. Move it to common
> code so that RISC-V doesn't have to define a separate loader.
>
> Signed-off-by: Atish Patra
Tested on Odroid-C
ARM64 linux loader code is written in such a way that it can be reused
across different architectures without much change. Move it to common
code so that RISC-V doesn't have to define a separate loader.
Signed-off-by: Atish Patra
---
grub-core/Makefile.core.def | 4 ++--
grub-core/lo
Update the RISC-V Linux kernel image headers as per the current header.
Reference:
/Documentation/riscv/boot-image-header.rst
Signed-off-by: Atish Patra
---
include/grub/riscv32/linux.h | 15 ---
include/grub/riscv64/linux.h | 15 ---
2 files changed, 16 insertions(+), 1
RISC-V doesn't have to do anything very different from other architectures
to loader EFI stub linux kernel. As a result, just use the common linux
loader instead of defining a RISC-V specific linux loader.
Signed-off-by: Atish Patra
---
grub-core/Makefile.core.def| 4 +--
grub-core/loader/r
This series adds grub loader support for RISC-V Linux. Thanks to the awesome
initial RISC-V support added by Alex, we just needed a loader for RISC-V to
load and execute Linux using UEFI protocol.
Fortunately, ARM64 Linux loader is written in an architecture agnostic manner
so thatgeneric RISC-V c