Home

Awesome

Crystal Kernel

Extending on the work started with https://github.com/ffwff/lilith/

Usage

Building

The kernel is expected to be a standard ELF executable

to build run ./build.sh

Development on macOS

Install some base tools

brew install crystal
brew install qemu
brew install gdb

Download the UEFI BIOS, extract using something like 7zip to get

Running the kernel using QEMU

build the kernel

./build.sh

Can run the VM in a few different ways

gdb
file ./bin/bootboot/X86_64
target remote tcp::1234
continue

Inspecting the ELF file output

To check for bootboot compatibility