grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/8] linux/arm: fix ARM Linux header layout


From: Dimitri John Ledkov
Subject: Re: [PATCH v2 1/8] linux/arm: fix ARM Linux header layout
Date: Thu, 11 Mar 2021 15:32:34 +0000

On Thu, Mar 11, 2021 at 11:44 AM Dimitri John Ledkov
<dimitri.ledkov@canonical.com> wrote:
>
> The patch from 
> https://lists.gnu.org/archive/html/grub-devel/2020-10/msg00122.html
>
> Is still not applied, and yet it is required to boot armhf linux
> kernel in qemu OVMF with grub.
>
> It is applied in rhboot/grub2
> https://src.fedoraproject.org/rpms/grub2/blob/rawhide/f/0143-Make-linux_arm_kernel_header.hdr_offset-be-at-the-ri.patch
>
> And it is applied in OpenSUSE too
> https://build.opensuse.org/package/view_file/openSUSE:Factory/grub2/0005-Make-linux_arm_kernel_header.hdr_offset-be-at-the-ri.patch?expand=1
>
> I want to apply it in Ubuntu too.
>
> It is still not present in grub2 mainline, and applies cleanly.
>
> Can it please be applied?

And to respond to
https://lists.gnu.org/archive/html/grub-devel/2020-11/msg00014.html

All of the above mentioned distros carry further patches to use
LoadImage api to boot on armhf just like arm64 loader does, and then
hdr_header/offset are being accessed and things blow up. So the header
is wrong, doesn't blow up in upstream configuration, but will once
LoadImage is used on armhf upstream too.
Please fix the header. Even when not used, it should not be a lie.

-- 
Regards,

Dimitri.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]