hi all,
i want to use link.ld script file to combine the self loader and the kernel. but i don't know how to write a proper linker script file.
i don't know what's the difference between the linker script (grub supported) and (without grub support).
I found almost no binary kernel without grub support exist in the world.
would anyone give an example? thanks.
how to link self loader and kernel if no grub used.
Re:how to link self loader and kernel if no grub used.
i have read the faq2,
Kernel Image
I have successfully loaded my kernel. It works as long as it doesn't exceed XXX bytes. My Kernel got bigger, and now I keep getting exceptions and faults. Why?
Especially in early stages and with a self-built boot loader, the reason frequently is that too few sectors are fetched from disk. Either adjust the amount of sectors you fetch from disk, or have the boot loader / second stage loader parse the file system.
BUt i don't know how to yet.
Kernel Image
I have successfully loaded my kernel. It works as long as it doesn't exceed XXX bytes. My Kernel got bigger, and now I keep getting exceptions and faults. Why?
Especially in early stages and with a self-built boot loader, the reason frequently is that too few sectors are fetched from disk. Either adjust the amount of sectors you fetch from disk, or have the boot loader / second stage loader parse the file system.
BUt i don't know how to yet.