Bananymous
aa7a8124ce
Bootloader: Add helpers for printing n bit hexadecimal numbers
2023-11-16 13:30:01 +02:00
Bananymous
a9412aa741
Bootloader: Implement basic ext2 filesystem
...
This can search for files in an ext2 filesystem. Only 12 blocks
are currently supported.
Now only ELF loading is missing for loading the actual kernel!
2023-11-15 16:58:26 +02:00
Bananymous
8aab3a62cc
Bootloader: Build with cmake instead of custom script
2023-11-14 03:44:47 +02:00
Bananymous
b0b39c56ba
Bootloader: Split bootloader into multiple files
...
This cleans up the code since bootloader is starting to near 1k lines
2023-11-14 03:27:52 +02:00
Bananymous
055b1a2a1a
Bootloader move bootloader code from arch directory
...
The os itself only supports x86 so this won't matter. x86_64 and i386
use the same bootloader assembly.
2023-11-13 21:42:58 +02:00
Bananymous
d99ef11e48
Bootloader: installer now uses banan os elf headers intead of Linux's
2023-11-13 21:40:15 +02:00
Bananymous
aa4f3046ff
Bootloader: Find root partition from GPT header
2023-11-13 18:55:48 +02:00
Bananymous
b4775fbe75
Bootloader: installer now patches GPT GUID's
2023-11-13 18:53:55 +02:00
Bananymous
8a5753b0fe
Bootloader: Add API to create GUID from string
2023-11-13 18:52:41 +02:00
Bananymous
1a75262b04
BuildSystem: add bootloader target
...
Use this target to run banan-os with custom bootloader
2023-11-12 01:50:30 +02:00
Bananymous
a3a287f5ca
Bootloader: Continue work on bootloader
...
Bootloader can now get the memory map and read cmdline from user.
Now 'just' video mode query, ext2 and ELF parsing are needed :D
2023-11-11 22:49:00 +02:00
Bananymous
c47f6a78bc
Bootloader: Start work on bootloader
...
I wrote a fast first stage bootloader and a installer to put it into
a disk image.
2023-11-09 22:42:47 +02:00