Giter VIP home page Giter VIP logo

operating_system_xv6's Introduction

CSE 536: Advanced Operating System

Follow steps to setup necessary dependencies for developing xv6 OS. Find the respective implentations in the branches of the same repository.

Check the following branches to find their respective implementations

A. Installing xv6 pre-requisites

Please reach out to the TAs if you have any installation issues.

Linux/WSL

  1. Navigate to the install/linux-wsl folder
  2. Install RISC-V QEMU: ./linux-qemu.sh
  3. Install RISC-V toolchain:./linux-toolchain.sh
  4. Add installed binaries to path: source .add-linux-paths

MacOS

  1. Navigate to the install/mac folder
  2. Install RISC-V QEMU: ./mac-qemu.sh
  3. Install RISC-V toolchain: ./mac-toolchain.sh
  4. Add installed binaries to path: source .add-mac-paths

B. Running the xv6 OS

  1. Navigate back to main folder and clone the xv6 OS using

     git clone https://github.com/mit-pdos/xv6-riscv.git
    
  2. Navigate to xv6-riscv and run make qemu

C. FAQs

  1. While running linux-qemu.sh, if you run into ERROR: glib-2.48 gthread-2.0 is required to compile QEMU, then :
  • Run this command in the terminal. sudo apt install libglib2.0-dev. This is caused due to a newer version of your linux distro(link).
  1. linux-qemu.sh : ../meson.build:328:2: ERROR: Dependency "pixman-1" not found, tried pkgconfig
  • Can be resolved by running sudo apt install libpixman-1-dev (link)

Acknowledgement

Thankful to the xv6 team at MIT for their open-source codebase.

operating_system_xv6's People

Contributors

rahil-parikh avatar

Watchers

 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.