Re: [PATCH 3/9] elf.h: Add RISC-V definitions

2018-11-08 Thread Alistair Francis
On Tue, 2018-11-06 at 18:58 +0100, Alexander Graf wrote: > The RISC-V ABI document outlines ELF header structure and relocation > information. Pull the respective magic numbers into our elf header > so we can make use of them. > > Signed-off-by: Alexander Graf Reviewed-by: A

Re: [PATCH 9/9] RISC-V: Add to build system

2018-11-08 Thread Alistair Francis
On Tue, 2018-11-06 at 18:58 +0100, Alexander Graf wrote: > This patch adds support for RISC-V to the grub build system. With > this > patch, I can successfully build grub on RISC-V as a UEFI application. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Fra

Re: [PATCH 2/9] PE: Add RISC-V definitions

2018-11-08 Thread Alistair Francis
On Tue, 2018-11-06 at 18:58 +0100, Alexander Graf wrote: > The PE format defines magic numbers as well as relocation identifiers > for > RISC-V. Add them to our include file, so we can make use of them. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Francis Alistair &

Re: [PATCH 1/9] efi: Rename armxx to arch

2018-11-08 Thread Alistair Francis
y. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Francis Alistair > --- > grub-core/loader/arm64/linux.c| 10 +- > grub-core/loader/arm64/xen_boot.c | 6 +++--- > include/grub/arm/linux.h | 2 +- > include/grub/arm64/linux.h

Re: [PATCH 4/9] RISC-V: Add setjmp implementation

2018-11-08 Thread Alistair Francis
On Tue, 2018-11-06 at 18:58 +0100, Alexander Graf wrote: > This patch adds a 32/64 capable setjmp implementation for RISC-V. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Francis Alistair > --- > grub-core/lib/riscv

Re: [PATCH 5/9] RISC-V: Add early startup code

2018-11-08 Thread Alistair Francis
On Tue, 2018-11-06 at 18:58 +0100, Alexander Graf wrote: > On entry, we need to save the system table pointer as well as our > image > handle. Add an early startup file that saves them and then brings us > into our main function. > > Signed-off-by: Alexander Graf Reviewed-by

Re: [PATCH v3 10/10] fdt: Add device tree file type

2018-11-16 Thread Alistair Francis
e, so I suppose their threat level is the > same. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Francis Alistair > --- > grub-core/commands/efi/shim_lock.c | 1 + > grub-core/loader/efi/fdt.c | 2 +- > include/grub/file.h| 2 ++ > 3 fil

Re: [PATCH v3 06/10] RISC-V: Add Linux load logic

2018-11-16 Thread Alistair Francis
yet. > At > least it will give people something to test against when they enable > the > Linux UEFI port. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Francis Alistair > > --- > > v1 -> v2: > > - adapt to new grub_open_file() API > -

Re: [PATCH v4 10/10] fdt: Treat device tree file type like ACPI

2018-11-29 Thread Alistair Francis
threat level is the same. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Francis Alistair > > --- > > v3 -> v4: > > - Rebase onto current git master > --- > grub-core/commands/efi/shim_lock.c | 1 + > include/grub/file.h| 4 ++

Re: [PATCH v4 08/10] RISC-V: Add auxiliary files

2018-11-29 Thread Alistair Francis
uarantee that we're always running on models / in > modes > where the respective hardware is available. > > Signed-off-by: Alexander Graf Acked-by: Alistair Francis Alistair > > --- > > v2 -> v3: > > - Fix riscv32 target > > v3 -> v4: > >

Re: [PATCH v6 06/11] RISC-V: Add Linux load logic

2019-02-12 Thread Alistair Francis
t is > generalized, we can hook into that one and gain boot functionality. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Francis Alistair > > --- > > v1 -> v2: > > - adapt to new grub_open_file() API > - adapt to new grub_create_loader_cmd

Re: [PATCH v6 11/11] fdt: Treat device tree file type like ACPI

2019-02-12 Thread Alistair Francis
threat level is the same. > > Signed-off-by: Alexander Graf > Reviewed-by: Daniel Kiper Reviewed-by: Alistair Francis Alistair > > --- > > v3 -> v4: > > - Rebase onto current git master > --- > grub-core/commands/efi/shim_lock.c | 1 + > include/

Re: [PATCH v6 07/11] RISC-V: Add awareness for RISC-V reloations

2019-02-12 Thread Alistair Francis
On Tue, 2019-02-12 at 11:31 +0100, Alexander Graf wrote: > This patch adds awareness of RISC-V relocations throughout the grub > tools > as well as dynamic linkage and elf->PE relocation conversion support. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair

Re: [PATCH v7 08/11] RISC-V: Add auxiliary files

2019-02-12 Thread Alistair Francis
uarantee that we're always running on models / in > modes > where the respective hardware is available. > > Signed-off-by: Alexander Graf Reviewed-by: Alistair Francis Alistair > > --- > > v2 -> v3: > > - Fix riscv32 target > > v3 -&g