Bug#1098661: linux: fails to boot on VisionFive 2: Unhandled exception: Store/AMO access fault
On Sun, Feb 23, 2025 at 10:41:44PM +0100, Aurelien Jarno wrote:
> > As I currently try to assemble a list of all the interfaces the kernel
> > fullfils: How would you define this? Running this in u-boot is not
> > (U)EFI, but something more strict, or there is a bug in the kernel
> > decompressor.
>
> The uncompressed kernel is a perfectly valid EFI binary that can be run
> under U-Boot with either Distro Boot and Grub or with the loadefi
> command. It can also be run under EDK2 either directly or also through
> Grub.
Linux both with zboot and without zboot are valid EFI binary. But zboot
seems to uncover a bug in u-boot.
So, now we have the options:
- We target EFI, the decompressor is correct, then u-boot is broken.
- We target EFI, the decompressor is invalue, then the kernel is broken.
- We target u-boot restricted EFI, then we have to revert that for all
three architectures.
What we still can do is workaround this bug. But this is a defined
state and requires both sides.
Bastian
--
Bones: "The man's DEAD, Jim!"
Reply to: