How to compile the kernel
Prerequisites
- cargo-binutils
- Rust 1.86.0-nightly
- Bochs (I use 2.8, however any relatively new version should work)
- GRUB (The build script uses
grub-install
and I use2:2.12-3
, but any version of GRUB 2 should work).
Actually compiling
- Set up the config.aphro file in the kernel sub directory(use config.aphro.example as a basis)
- Clone the repository
cd
into the kernel sub directory of the repository- Run
./build
Emulation
After compiling the kernel, you should be able to simply run ./emulate
. You can also run ./build_and_emulate
to compile and emulate at once.