Re: Discuss support for the linux kernel's EFI Handover Protocol on x86 and ARM

2019-01-22 Thread Alexander Graf
On 22.01.19 07:35, Michael Chang wrote: > On Fri, Jan 11, 2019 at 08:49:28PM +0100, Alexander Graf wrote: >> >> >> On 11.01.19 20:32, Matthew Garrett wrote: >>> On Thu, Jan 10, 2019 at 12:59 AM Alexander Graf wrote: So really dumb question here: What if we didn't use the MS key? What if >

[PATCH v2] uboot: Add the missing disk write operation support

2019-01-22 Thread Cristian Ciocaltea
uboot_disk_write() is currently lacking the write support to storage devices because, historically, those devices did not implement block_write() in U-Boot. The solution has been tested using a patched U-Boot loading and booting GRUB in a QEMU vexpress-a9 environment. The disk write operations wer

[PATCH] linux, efi, arm*, fdt: break FDT extra allocation space out into a #define

2019-01-22 Thread Leif Lindholm
A certain amount of dynamic space is required for the handover from GRUB/Linux-EFI-stub. This entails things like initrd addresses, address-cells entries and associated strings. But move this into a proper centralised #define rather than live-code it in the loader. Signed-off-by: Leif Lindholm -

Re: [PATCH v3 3/4] mkimage: arm64-efi: Align header to page granularity

2019-01-22 Thread Alexander Graf
On 15.01.19 14:40, Daniel Kiper wrote: > On Tue, Jan 15, 2019 at 01:52:41PM +0100, Alexander Graf wrote: >> On 01/15/2019 01:45 PM, Daniel Kiper wrote: >>> On Mon, Jan 14, 2019 at 04:27:17PM +0100, Alexander Graf wrote: In order to enforce NX semantics on non-code pages, UEFI firmware

Re: [PATCH v2] uboot: Add the missing disk write operation support

2019-01-22 Thread Daniel Kiper
On Tue, Jan 22, 2019 at 12:02:10PM +0200, Cristian Ciocaltea wrote: > uboot_disk_write() is currently lacking the write support > to storage devices because, historically, those devices did not > implement block_write() in U-Boot. > > The solution has been tested using a patched U-Boot loading > an

Re: [PATCH v4 00/10] Add RISC-V support

2019-01-22 Thread Alexander Graf
On 17.01.19 12:32, Daniel Kiper wrote: > Hey, > > Sorry for late reply but I was not able to review the patches due to > other important work and holiday season. Now I am taking a stab at it > and I hope that it will land soon in the GRUB git tree. > > On Mon, Nov 26, 2018 at 12:38:05AM +0100,

Re: [PATCH v4 04/10] RISC-V: Add setjmp implementation

2019-01-22 Thread Alexander Graf
On 17.01.19 12:44, Daniel Kiper wrote: > On Mon, Nov 26, 2018 at 12:38:09AM +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 >> Reviewed-by: Bin Meng >> Tested-by: Bin Meng >

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

2019-01-22 Thread Alexander Graf
On 17.01.19 13:24, Daniel Kiper wrote: > On Mon, Nov 26, 2018 at 12:38:11AM +0100, Alexander Graf wrote: >> We currently only support to run grub on RISC-V as UEFI payload. Ideally, >> we also only want to support running Linux underneath as UEFI payload. >> >> Prepare that with a Linux boot cas