We have a Linux kernel binary which is without an ELF header, and our bootloader will be loading the kernel image (earlier QNX kernel image has the ELF header) based on a calculation coming from the ELF header, but since our Linux kernel image is without an ELF header, our bootloader is denying loading of this kernel image to memory.
For some reasons we don't have an option to alter our bootloader code, so the only option we have is to insert an ELF header into the Linux BIN file with a particular entry point.
What is the way to achieve it?