GithubHelp home page GithubHelp logo

aquila-kernel's Introduction

Aquila Kernel

This is the kernel for AquilaOS re-written in Rust. Currently it's unsafe mess with a lot of traces of C code.

Build

Prerequisites:

  • rustc nightly (1.45.0)
  • cargo-post and cargo-xbuild installed (use $ cargo install cargo-post cargo-xbuild)
  • lld (LLVM ld) (use $ apt install lld, $ dnf install lld or you system package manager)

then run the following command to build kernel.elf

$ cargo post xbuild --target configs/i686/i686-unknown-none.json --release

Run

The kernel is multiboot compliant and you can use any multiboot bootloader to use it. You need a ramdisk image from aquila in order to use the system, a binary image is provided in this repo for ease of use (it will be removed later).

For simplicity you can use Qemu directly to load the kernel and the ramdisk:

$ qemu-kvm -kernel target/i686-unknown-none/release/kernel.elf -nographic -initrd initrd.img

(on debian based distros, you might need to use $ qemu-system-i386 -enable-kvm instead)

(Note: to quit in nographic mode in Qemu use Ctrl-A+X)

aquila-kernel's People

Contributors

thethumbler avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.