[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux
From: |
Daniel Kiper |
Subject: |
Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux |
Date: |
Mon, 27 Apr 2020 13:01:06 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Mon, Apr 27, 2020 at 08:15:41AM +0200, Ard Biesheuvel wrote:
> On Sun, 26 Apr 2020 at 21:40, Atish Patra <address@hidden> 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 written in an architecture agnostic
> > manner
> > so thatgeneric RISC-V can easily reuse the loader code. Thus, the first
> > patch
> > just moves the ARM64 code to common code. I have compile tested for
> > ARM64/ARM32. Even though it doesn't introduce any functional change
> > for ARM/ARM64, any real testing will be helpful.
>
> May I suggest that we not blindly adopt the ARM code here, but
> instead, use the new initrd loading protocol that removes the need for
> GRUB to modify or even know about the device tree at all?
>
> The resulting code could serve as a legacy-free 'generic' EFI target,
> that could work on all architectures, including x86, provided that the
> kernel you are booting is recent enough (and that issue will solve
> itself over time)
I fully agree with Ard, this is way to go...
Daniel
- [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Atish Patra, 2020/04/26
- [PATCH RFC/RFT 2/3] RISC-V: Update image header, Atish Patra, 2020/04/26
- [PATCH RFC/RFT 3/3] RISC-V: Use common linux loader, Atish Patra, 2020/04/26
- [PATCH RFC/RFT 1/3] loader: Move arm64 linux loader to common code, Atish Patra, 2020/04/26
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Ard Biesheuvel, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux,
Daniel Kiper <=
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Heinrich Schuchardt, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Ard Biesheuvel, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Heinrich Schuchardt, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Ard Biesheuvel, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Ard Biesheuvel, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Heinrich Schuchardt, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Heinrich Schuchardt, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Ard Biesheuvel, 2020/04/27
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Atish Patra, 2020/04/28
- Re: [PATCH RFC/RFT 0/3] Add grub loader support for RISC-V Linux, Leif Lindholm, 2020/04/29