Skip to content

Kernel for FireflyOS to help beginners learn about osdev hands on.

License

Notifications You must be signed in to change notification settings

FlufflesTheDog/Firefly-Kernel

 
 

Repository files navigation

Firefly-Kernel

Kernel for FireflyOS which can be booted on UEFI and BIOS

A note to the reader:

Are you interested in writing a kernel but lack a "study buddy" or don't know where to get started?

This project is for you!

Our goal is to build an operating system where everyone can participate and learn; both newbies and professionals alike.

Join us on Discord if you'd like to talk: https://discord.gg/sfsdhXs8wA (Channel: #cursed-firefly-dev)

x64 demo:

Firefly OS

Clone the repo

  • git clone https://github.com/FireflyOS/Firefly-Kernel --recursive
  • cd Firefly-Kernel

Ubuntu

sudo apt install meson ninja-build nasm xorriso qemu-system-x86 clang lld ovmf #For UEFI emulation only

Firefly OS uses the meson build system:

# Note: We invoke the meson build commands using regular Makefiles as a QoL improvement
make all run # Alternatively you can use 'make all uefi' for uefi emulation

# "I want to execute the build commands manually!" - Here you go:
make -C limine/
meson build --cross-file meson_config.txt # You *must* use build, other scripts depend on this directory name
cd build
meson compile && ../scripts/geniso.sh && ../scripts/qemu-bios.sh # If meson compile is not supported you can either upgrade meson or use ninja

Note: It is assumed you have meson version 0.60.1 or higher, you may or may not run into problems with older versions.

About

Kernel for FireflyOS to help beginners learn about osdev hands on.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.5%
  • Python 2.8%
  • Meson 2.6%
  • Assembly 1.8%
  • Shell 1.4%
  • Makefile 0.7%
  • Other 1.2%