Building from source

Main kernel (on x86_64 Linux)

Requirements:

Steps:

  1. Install the nightly toolchain:
rustup toolchain install nightly
  1. Install required components:
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu && rustup component add llvm-tools-preview --toolchain nightly-x86_64-unknown-linux-gnu && cargo install bootimage
  1. Create a local clone of the repository:
git clone [email protected]:adamperkowski/highlightos.git && cd highlightos
  1. cd into the kernel/ directory:
cd kernel
  1. Build the bootable binary:
cargo bootimage --release

This command will create a target/target/release directory in which you'll find the bootimage-hlkernel.bin binary file.