Sent from my iPhone
> On Jan 16, 2020, at 10:06 PM, Alexander Graf <ag...@csgraf.de> wrote: > > Hi Chester, > >> On 16.01.20 11:21, Chester Lin wrote: >> Implement an initial version of riscv loader and related commands to load >> and run linux kernel and initrd on RISC-V. I tested this series based on >> the following configuration: >> >> - QEMU 4.2.50 (machine: virt) >> - OpenSBI v0.5-51 >> - U-Boot 2020.01-rc5 >> - grub 2.04 >> - linux-kernel v5.4 >> - openSUSE-Tumbleweed-20191103 > > > Thanks a lot for tackling this problem - it's been on the back burner for way > too long :). Unfortunately this patch set loads grub via UEFI, but then does > not execute Linux using the UEFI protocol. While that's a nice hack for > starters, it severely limits the extensibility of the boot flow going forward. > > IIRC either Anup or Atish wanted to work on a UEFI boot stub for Linux. We > could then just unify the ARM and RISC-V UEFI boot paths in grub and use that > common code to run Linux via the UEFI stub. > > Yes. I am working on it. In fact, I got Linux kernel booting via bootefi command last week. I have tried to use as much as ARM stub code possible which will help in unifying them in future. I am yet to add UEFI run time services. But I was thinking to post a RFC series with EFI stub code first and work on run time services after that. Let me know if you think that’s not a good idea. > Thanks, > > Alex > > _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel