Giter Club home page Giter Club logo

starry's Introduction

Starry

Introduction

The main repository of Starry-OS, which will assemble all kernel components into a kernel according to a certain configuration.

This repository is based on Starry, and remove submodules from the kernel, placing them here.To use these crates in the local workspace, please see the Pull crates to local workspace section.

Structure

avatar

Build and run

# Run in unikernel architecture

# $ make A=apps/<app_name> ARCH=<arch> run

# The <app_name> is the application stored in the ./apps folder.

# The <arch> can be x86_64, risc64 and aarch64.

$ make A=apps/helloworld ARCH=x86_64 run

# Run in monolithic architecture

# Make the testcases image first

# $ ./build_img.sh <arch>

$ ./build_img.sh -m x86_64

$ make A=apps/monolithic_userboot ARCH=x86_64 run


# Run the testcases in the monolithic architecture

$ make A=apps/monolithic_userboot APP_FEATURES=batch ARCH=x86_64 run

Build and run testcases with ext4fs

The document of the ext4fs is here.

# Run in the lwext4fs with Rust interface, whose url is https://github.com/elliott10/lwext4_rust.
make A=apps/monolithic_userboot FEATURES=lwext4_rust LOG=off ACCEL=n run

# Run in a new ext4fs written in Rust, whose url is https://github.com/yuoo655/ext4_rs.
make A=apps/monolithic_userboot FEATURES=ext4_rs LOG=off ACCEL=n run

# Replace virt-io with ram-disk
make A=apps/monolithic_userboot FEATURES=ext4_rs,img LOG=error ARCH=x86_64 ACCEL=n run

# Run testcases for OSCOMP
make A=apps/monolithic_userboot FEATURES=ext4_rs,img LOG=off ACCEL=n run APP_FEATURES=batch

Pull crates to local workspace

# To download the tool
$ cargo install kbuild

$ mkdir crates

# Load crates
$ kbuild patch add linux_syscall_api

$ kbuild patch add axstarry

# Then crates will be downloaded to the crates/ folder

# To remove the crates
$ kbuild patch remove linux_syscall_api

$ kbuild patch remove axstarry

# Please verify that crates don't have any uncommitted changes before removing them.

Notes

  • Please remove unnecessary dependencies in Cargo.toml before your commit.
  • After pulling a new crate to the local workspace, maybe you need to execute make clean to update the cache.

starry's People

Contributors

azure-stars avatar equation314 avatar guoweikang avatar elliott10 avatar tim-c1 avatar chyyuu avatar reflyable avatar coolyjg avatar yfblock avatar chunchunyd avatar kuangjux avatar c0per avatar mrrobertyuan avatar jackyliu16 avatar scpointer avatar liang2kl avatar shl1015cs avatar hky1999 avatar werkeytom avatar lyonrust avatar hyuuko1 avatar lhw2002426 avatar hbuxiaofei 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.