GithubHelp home page GithubHelp logo

mvk's Introduction

MVK

MVK (Minimum Viable Kernel) is a hobby kernel project aiming to provide an OS Kernel (currently x86 only) that is the minimum viable kernel for basic functionality (like user-space programs and a basic shell). Right now it doesn't do any of that as it is heavily WIP.

Most of this code was written by me in 2019, and I have only just came back to it after that time, whether or not I'll keep continuing development I'm not sure, I'm only just releasing it because I fixed the main issue I was having with it and got it to be in a working state. But if anyone finds this code helpful in their own projects then by all means be my guest, this code is under the MIT license so you can do with it what you will.

Building

It is recommended to build either through Linux or through WSL on Windows.

You'll need an i686-elf toolchain to build the kernel. I found this script handy for compiling one (you can even compile a windows toolchain and GDB if you so wish). It is recommended that the GCC and Binutils versions you use are pretty much the latest. To find what are the latest versions check the latest versions listed here and here for GCC and Binutils respectively.

You'll also require grub and xorriso, on Debian-based operating systems (like Ubuntu) simply install the packages like this:

sudo apt install grub2
sudo apt install xorriso

Running

To test the operating system, a good tool would be Qemu.

On Debian-based operating systems you can install it like this

sudo apt install qemu

then simply run the operating system like this from the project root directory

qemu-system-x86_64 -boot d -cdrom build/MVK.iso -m 4096

Note: the number after -m is for the amount of allocated ram, if you need this to be lower, lower it to what you would prefer instead (in MB)

mvk's People

Contributors

dudejoe870 avatar

Watchers

 avatar  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.