Giter Club home page Giter Club logo

docker-riscv's Introduction

RISC-V Dockerfile

This repository contains a Dockerfile of sbates130272/docker-riscv for Docker's Hub published to the public Docker Hub Registry.

Information

This container includes a number of tools and dependencies needed to develop for the RISC-V open-source CPU. Many of these tools can be located at

https://github.com/riscv

and include an ISA simulator (Spike), a GCC toolchain for the RISC-V ISA, the Linux Kernel for this kernel and other tools.

Getting Started

The best way to get started is to download the image for this container directly from Doc Hub and then run the container and play inside it. Here are the steps for that.

  1. Install docker on your client.
  2. docker pull sbates130272/riscv
  3. docker run -it sbates130272/riscv
  4. cd into one of the sub-folders of /opt/riscv and play. For example in the /opt/riscv folder you can run
spike -m128 -p1 +disk=root.bin.sqsh bbl linux-3.14.41/vmlinux

to kick off the spike ISA simulator on a root filesystem awith busybox nd the 3.14.41 version of the Linux kernel.

  1. You can attach external directories for access inside the docker container:
   docker run -it -w $PWD -v $PWD:$PWD sbates130272/riscv

Notes

  1. Note this Dockerfile does not run through the automated build process because it exceeds the two hour build limit.

docker-riscv's People

Contributors

hcook avatar jameyhicks avatar marmbrus avatar richardxia avatar sbates130272 avatar

Watchers

 avatar  avatar

Forkers

richardxia

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.