Re: Some questions about UEFI
Hi Elena,toggle quoted messageShow quoted text
Glad to hear that you got Debian 10 installed.
For the record, we should have finalized notes on how to install Debian 10 on the Pi 3 soon, in this platform's Systems.md  (I send a patch for that last week, that expands a bit more on the draft notes I sent you earlier, that has not been committed yet), and, if I may, I'm also going to point out that I posted a more informal but also more detailed guide on how to achieve this same installation on my blog too . I have also recently started to produce binary releases of Rasbperry Pi 3 UEFI firmware packages  (built from the latest EDK2 sources through AppVeyor), that might be of interest to you as they include the non-free WLAN drivers that Debian asks for during install.
At any rate, to answer your question, if the actual architectures you tried are "ARM, X64 and IA32", then your issue is simple:
The Raspberry Pi 3 is using an Arm64 CPU, so the architecture you *must* use to compile any UEFI application is "AARCH64" (not ARM, which is only for 32-bit and therefore incompatible). By the looks of it, this is the one you haven't tried so far whereas this is the one that you should use.
Note that, for the sake of completeness, compiling for the EBC arch should also work, since we include the EBC interpreter in the firmware. But really, what you want to compile a UEFI application to run it on a Pi 3, you should only use AARCH64 for the architecture. If you do just that, I'm confident that you will find that it fixes your issue.
On 2019.07.31 11:26, Elena WILLIS wrote:
Hi Leif and Pete,