From 6ea7f7a062b53f1d40250fcf62f84536faff3583 Mon Sep 17 00:00:00 2001 From: mariusmonton Date: Sun, 3 Feb 2019 21:46:38 +0100 Subject: [PATCH] updated docker information --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 27efbb9..3925209 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,22 @@ $ docker run -v :/tmp -it riscv /bin/bash # ./RISCV_TLM /tmp/ ``` +I'm using docker image [zmors/riscv_gcc](https://hub.docker.com/r/zmors/riscv_gcc) to have a cross-compiler, I'm using both docker images this way: +``` +console1: +$ docker run -v /tmp:/PRJ -it zmors/riscv_gcc:1 bash + +# cd /PRJ/func3 +# make + +console2: +$ docker run -v /tmp:/tmp -it mariusmm/riscv-tlm /bin/bash + +# cd /usr/src/riscv64/RISC-V-TLM/ +# ./RISCV-TLM /tmp/file.hex +... +``` + Performance is not affected by running the simulator inside the container ## Test