Building from source
Main kernel (on x86_64 Linux)
Requirements:
- Git version control system
- Rust toolchain
Steps:
- Install the nightly toolchain:
rustup toolchain install nightly
- 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
- Create a local clone of the repository:
git clone [email protected]:adamperkowski/highlightos.git && cd highlightos
cd
into thekernel/
directory:
cd kernel
- 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.