Follow-up Comment #2, bug #39488 (project grub):

Hello Vladimir,

Thank you for your quick reponse and hints about LMA. You are right that it
should point to physical address space instead of virtual. 

But the first part of the bug report still needs to be applied to fix 
'invalid entry point for ELF64' message. The reason is that following ELF
specification (http://www.skyfree.org/linux/references/ELF_Format.pdf, page
10) entry address must point to virtual address space:

'e_entry - This member gives the virtual address to which the system first
transfers control, thus
starting the process. If the file has no associated entry point, this member
holds zero.'

So after apply this fix and change LMA to physical address, I can successfully
start 64-bit ELF image.

Best Regards
Leon


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39488>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to