Dear Leif:
I got some questions about the routine "grub_linux_boot" in "grub-core/loader/arm64/linux.c"
The questions are as follows:
1. >From my understanding, this routine uses bootservice->load_image in line 274 and bootservice->start_image in line 297 to load/start the Linux kernel (i.e. zImage), is it correct?
Or it is actually loading something else?
2. If question 1 were true, does it mean that the Linux kernel should be in PE format? Because
bootservice->load_image requires the file to be in that format otherwise it will return "UNSUPPORTED", which is the problem I'm facing now.
3. If question 2 were true, how to solve this problem? Do I have to tweak zImage to PE format?
Best regards and thanks,
Cedric