Refind 0.14.2 can boot if compiled with gnu-efi 3.0.18, but if I use a jpeg banner it is all garbled. If compiled with gnu-efi 3.0.17, the jpeg looks good.
I tried to use libeg/nanojpeg.c from 0.14.0 with the same result (still garbled).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why not just use refit_call3_wrapper gBS->SetMem and drop the specific GNUEFI macros in lib.h? Also extend to cover refit_call3_wrapper gBS->CopyMem as well.
Other toolkits will also happily work with these. I note though, that you tried to follow the same way things were previously done.
Last edit: dakanji 2024-07-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Refind 0.14.2 can boot if compiled with gnu-efi 3.0.18, but if I use a jpeg banner it is all garbled. If compiled with gnu-efi 3.0.17, the jpeg looks good.
I tried to use libeg/nanojpeg.c from 0.14.0 with the same result (still garbled).
I found the issue, I'm attaching a patch.
Nice.
Why not just use
refit_call3_wrapper gBS->SetMem
and drop the specific GNUEFI macros in lib.h? Also extend to coverrefit_call3_wrapper gBS->CopyMem
as well.Other toolkits will also happily work with these. I note though, that you tried to follow the same way things were previously done.
Last edit: dakanji 2024-07-25