Skip to content

tupai-os/deus

Repository files navigation

Deus

A portable kernel written in Rust.


Building

  1. Install Rust via rustup.

Instructions are available here.

  1. Install bootimage.
cargo install bootimage
  1. Build the kernel.
cargo bootimage --target x86_64-deus.json -Zbuild-std

Running

Run the disk image using QEMU through bootimage (requires qemu-system-x86).

cargo bootimage run

Alternatively, run the generated disk image using QEMU directly.

qemu-system-x86_64 -drive format=raw,file=target/x86_64-deus/debug/bootimage-deus.bin

Alternatively, write the disk image to an external device to boot it on a real machine.

dd if=target/x86_64-deus/debug/bootimage-deus.bin of=/dev/MY_DEVICE && sync

License

Deus is licensed under the GNU Lesser General Public License version 3 (see LICENSE).

As a general guide, this means that:

  • Deus may be used in commercial settings

  • Contributions to Deus must fall under the same license

  • Distributed modifications to the project must have their source disclosed

For more detailed information, see here.

About

A portable kernel written in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published