Skip to content

zinnia-os/zinnia

Repository files navigation

Zinnia

GitHub License GitHub Repo stars GitHub Actions Workflow Status GitHub Issues or Pull Requests

Zinnia is a modular 64-bit BSD-like kernel written in Rust. It aims for full compatibility with POSIX 2024.

Note

This repository contains only the kernel and drivers. If you want to get a bootable image, you might want to check out https://github.com/zinnia-os/bootstrap instead.

Building

Cloning the repository

git clone https://github.com/zinnia-os/zinnia
git submodule update --init --recursive

Compiling the kernel

To compile the kernel you will need:

  • cargo
  • rustc
  • clang (Used for bindgen)
  • lld

Make sure you have a full nightly toolchain installed, including the rust-src component.

The following commmand will build the kernel and all drivers for x86_64:

cargo +nightly build --release --target toolchain/x86_64-kernel.json

Debugging

Follow the debugging setup from https://github.com/zinnia-os/bootstrap

Releases

No releases published

Packages

 
 
 

Contributors

Languages