Skip to content

Files

Latest commit

b9bfcbe · Oct 9, 2019

History

History
22 lines (12 loc) · 620 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 620 Bytes

Running qemu emulator standalone

Install qemu-system-risc64 and follow instructions at https://wiki.qemu.org/Documentation/Platforms/RISCV#Booting_Linux.

Running qemu emulator in Docker

Install docker. To start the emulator, run

$ docker run -it -p 2222:22 --rm azulresearch/riscv-emu

or (from this directory)

$ docker build --tag=riscv-emulator .
$ docker run -it -p 2222:22 --rm riscv-emulator

You can then access the emulator using ssh:

$ ssh [email protected] -p 2222

Login is root, password is riscv.

To exit from QEMU press CTRL + A, release and press X.