To make my OS more portable when in RISC-V or LoongArch architecture,I developed my elf2efi for me to convert my elf kernel to UEFI-compatible EFI kernel.However,to make your OS development more convenient,I recommended my elf2efi for all of us to use it and get some advice.
If you have a idea about write my elf2efi to our wiki,I will be honored and satisfied.
To let you how to download the source code or binary,I attached my repo is on the github https://github.com/TYDQSoft/elf2efi,If you want to port it to any architecture except x64,you should get the tip in my repo to compile and execute it.