-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EFI_MEMORY_ATTRIBUTE_PROTOCOL cause Synchronous Exception when booting Linux #73
Comments
Hi @jaredmcneill , have you had time to take a look at this and figure it out? Thanks for your great job and to share the way the project will address this issue. |
I posted a proposed patch (untested!) in the topic/jmcneill/pr73 branch: Can you try it? EFI_MEMORY_ATTRIBUTE_PROTOCOL still enabled by default, but with this change you should see a config entry in the setup menu to let you turn it off. |
Hi @jaredmcneill , I've successfully built the branch, but I faced some issues:
edk2-rockchip/Platform/Rockchip/Rk356x/Drivers/ConfigDxe/ConfigDxeHii.vfr
But this change: Thanks for the backport effort: sorry for the delay in testing, missed the GH notification... |
Up ;-) |
Found a typo in the proposed patch and pushed an update, please update your tree and try again. With regards to not persisting UEFI env vars to SD or eMMC, let's track that in a separate issue. |
New release, after setting in
to
because it was impossible to set it off and make it persistent. System booted correctly Fedora Linux 39 (kernel 6.5.6-300) without updates to the shim, so the patch works! Currently I've tested it by having firmware loaded from SD card.
Ok , opened #83 Thanks |
On many widespread linux distros (Fedora 39, ...) esp. LTS ones (Ubuntu 22.04, RHEL/CentOS Stream (and derived) rel 9, ...) is shipped a version of rhboot's shim that does not work when the newly added EFI_MEMORY_ATTRIBUTE_PROTOCOL is provided by the firmware, causing a
Synchronous Exception
error when booting the OS.Many distros haven't updated yet, so uninstall the protocol could be a workaround for the time being.
This has been introduced by the release 1.2 of this port of edk2 for rk356x.
The issue has been already addressed in the edk2 porting for rk3588:
edk2-porting/edk2-rk3588@842db13
Is it possible to introduce it here as well?
Ref:
The text was updated successfully, but these errors were encountered: