
On Wed, 24 Sept 2025, 00:35 Simon Glass, <sjg@chromium.org> wrote:
Hi Philippe,
On Tue, 23 Sept 2025 at 16:24, Philippe Simons <simons.philippe@gmail.com> wrote:
I'm currently trying to bring a SM6115 device on Linux but... without
much success...
I have replaced my ABL with qcomm/abl2eps which allows me to boot an efi application.
I've tried to use ARM64 EFI STUB for that but the resulting u-boot-efi-payload.efi doesn't look like an PE32+ binary....
file u-boot-payload.efi u-boot-payload.efi: data
Which board are you building here? Is this with the concept tree?
Trying to build for the Mangmi AirX handheld, a SM6115. I'm using the concept tree yes.
Could you help me
The stub is only partially functional - one of the challenges is that it needs device-specific knowledge, so you must create a stub for your particular SoC. I did fiddle with integrating a bit more stuff into it about a month ago, but it is always going to be SoC-specific.
What do you mean by creating a stub for your particular SoC... I understood the STUB is just a EFI PE32+ that copy the real u-boot in memory and jump to it. My issue is that the u-boot-payload.efi is not an EFI PE32.. I tracked down the issue with the final objcopy step, which isn't using the --target argument. But even when doing that step manually, I couldn't start the resulting .efi
Have you tried using the app? It is efi-arm_app64_defconfig and is pretty generic so should run on anything with an EFI interface.
The EFI app works, in the sense I managed to get it running, but I couldn't get it to boot the kernel using an extlinux.conf file... Something with the FDT... But I don't expect this to work any better than just using grub EFI.
Regards, Simon