Page 1 of 1

entry point moved by multiboot header

Posted: Thu Nov 09, 2017 5:13 am
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 ?

Re: entry point moved by multiboot header

Posted: Thu Nov 09, 2017 8:35 am
by SukantPal
Your bootloader must be multiboot-compliant to serve your kernel. You have also posted this on stackoverflow.