[Bug 1899612] [NEW] linux arm64 efi patches, broke non-sb armhf boot
Dimitri John Ledkov
1899612 at bugs.launchpad.net
Tue Oct 13 10:25:39 UTC 2020
Public bug reported:
linux arm64 efi patches, broke non-sb armhf boot
armhf efi boot uses arm64 efi linux boot.
Unfortunately, it has to perform the previous way of booting to ensure
that firmware is calling start_image on the kernel; as otherwise grub
cannot jump to kernel to execute it from T32->A32 mode.
Thus probably the latest linux-arm64-efi patch, needs to be reworked to
be conditional on arm64 only.
What currently happens is this:
Prefetch Abort Exception PC at 0xB15BB002 CPSR 0x600F0113
Prefetch Abort Exception PC at 0xB15BB002 CPSR 0x600F0113
Rebuilding just some arm64 loader functions as A32 with gcc function attribute does not help.
Rebuilding all of grub as A32, results in OVMF failing to start it.
Maybe rebuilding OVMF & grub & kernel all as A32 might work (still a todo).
I feel like maybe going back to original code path for armhf efi might
be best.
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1899612
Title:
linux arm64 efi patches, broke non-sb armhf boot
Status in grub2 package in Ubuntu:
New
Bug description:
linux arm64 efi patches, broke non-sb armhf boot
armhf efi boot uses arm64 efi linux boot.
Unfortunately, it has to perform the previous way of booting to ensure
that firmware is calling start_image on the kernel; as otherwise grub
cannot jump to kernel to execute it from T32->A32 mode.
Thus probably the latest linux-arm64-efi patch, needs to be reworked
to be conditional on arm64 only.
What currently happens is this:
Prefetch Abort Exception PC at 0xB15BB002 CPSR 0x600F0113
Prefetch Abort Exception PC at 0xB15BB002 CPSR 0x600F0113
Rebuilding just some arm64 loader functions as A32 with gcc function attribute does not help.
Rebuilding all of grub as A32, results in OVMF failing to start it.
Maybe rebuilding OVMF & grub & kernel all as A32 might work (still a todo).
I feel like maybe going back to original code path for armhf efi might
be best.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1899612/+subscriptions
More information about the foundations-bugs
mailing list