linux arm64 efi patches, broke non-sb armhf boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
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.