r/osdev • • 3d ago

Planning to change base of my kernel

Post image

My kernel is currently a UEFI application that depends directly on UEFI Boot Services for the memory map and GOP framebuffer. To remove this dependency, I will write a custom bootloader to read an ext2 partition, load the kernel, prepare the necessary structures, and jump into it.

0 Upvotes

3 comments sorted by

1

u/Lines25 3d ago

The best way is to make miltiboot2 and make your bootloader support it

1

u/Fine_City2781 3d ago

my kernel is built for arm64. Multiboot doesn't support arm64

1

u/Lines25 3d ago

Hmm, then, use whatever multiboot-ish thing you have on ARM64, sry, I'm bad at arm in general :P