Giter VIP home page Giter VIP logo

laonos's Introduction

laonOS - in progress

License: MIT GitHub Actions Workflow Status

Caution

Do not use for serious work. Security has been deliberately ignored because of the speed of development.

It is a multiplatform 64bit operating system for the research. Currently, OS can boot with x86-64, AArch64 ISA.

structure

The core of the OS is the JIT (Just In Time) system, like an eBPF. However, unlike an eBPF, this OS's nearly systems are run in the JIT compiler above the very lightweight exokernel that abstracts hardware devices. In particular, the JIT compiler can transparently offload code to other connected devices using mesh networking. This feature is useful in the embedded cases. If an application needs performance, it can interact directly with the device. Otherwise, it can be built once, run anywhere, and offloaded.

If you are interested in this OS, you can read more in this documentation.

๐Ÿ‘€ Quick Start

This tutorial provides how to build the laonOS. When you finish this tutorial, you can boot the laonOS.

Build (with Docker)

This build requires an additional dependency on Docker. I used Docker so that we can build across all major platforms.

First, we initialize the container with phruse/build-space:0.1.

docker run --restart always --name build-space -dt phruse/build-space:0.1
docker exec -it build-space bash

Next, you should clone this repository. And, just use the cmake workflow. Done! You can find the OS image in bin/release/laonOS.iso.

git clone -b stable https://github.com/phruse/laonOS.git
cd laonOS
cmake --workflow --preset release

If you want to build OS without Docker, /tools/scripts/init_{platform}.sh can help you! You may need to adjust some options. I recommend to read cmake/Tools.cmake.

Run in QEMU

The laonOS had been tested in real machine, but we'll use QEMU for convenience. The boot uses multiboot2, so you can easily install real machine. If you hate virtual machine, try it!

Now run this script. If you use low memory system, you should change -m 6G option.

./tools/scripts/qemu_run.sh

You can find more tutorials here!

๐Ÿงฐ Build Dependencies

  • CMake (cmake + ninja or make)
  • LLVM ^17 (clang, ld, llvm-objcopy)
  • GNU GRUB 2 (grub-mkrescue)

Read more cmake/Tools.cmake

โœ๏ธ Author

laonos's People

Contributors

phruse avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

aydanmuftu

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.