entry point moved by multiboot header

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Pele2525
Posts: 1
Joined: Thu Nov 02, 2017 5:43 am

entry point moved by multiboot header

Post by Pele2525 »

Hi!

Originally x64 vmlinux entry point is:

Code: Select all

Entry point address:               0x1000000 
I define the Multiboot header to be in a seperate section, then link that section at the start of .text in the linker script.
after this entry point is:

Code: Select all

Entry point address:               0x1000040 
With old entry address i am able to jump from my bootloader to the kernel entry point and it is successfully booting, however I want my vmlinux to be multiboot complaint (so i need that header)
but after adding it and perform jump to the new address, it's hanging..

Is the jump address incorrect or I need to change something in kernel ?
SukantPal
Member
Member
Posts: 35
Joined: Sat Jan 21, 2017 7:35 am
Libera.chat IRC: DefiniteEngineer

Re: entry point moved by multiboot header

Post by SukantPal »

Your bootloader must be multiboot-compliant to serve your kernel. You have also posted this on stackoverflow.
Post Reply