!! Switched to ziglang -> new repo here !!
Kernel from scratch (KFS) series of projects at Ecole 42 !
git submodule udpate --init
nasmcompiles the bootcodeldlinks the bootcode and rust binarygrub-mkrescuebuilds the iso (need xorriso and mtools)xargobuilds rust code
See .travis.yml to get an ubuntu environment ready
on archlinux pacman -S rustup make grub xorriso mtools binutils gcc qemu
on voidlinux xbps-install -S rustup make grub xorriso mtools binutils gcc qemu nasm
We build on nightly channel because of some cool features not yet in stable.
We need the rust sources to build with xargo for cross-compiling to custom platform.
rustup component add rust-src
rustup override add nightly
rustup default nightly
cargo install xargo
make isobuilds a bootable iso with grubmake qemuruns the iso,make qemu-reloadreloads the CD
- remove assembly for a pure rust entry point
- replace grub with something lighter (no bootloader at all with
qemu -kernel?)
- wiki.osdev.org is a fucking goldmine
- Phil Opperman's "Writing an OS in rust"
- Redox kernel