updated docker information

This commit is contained in:
mariusmonton 2019-02-03 21:46:38 +01:00
parent 50147b4762
commit 6ea7f7a062
1 changed files with 16 additions and 0 deletions

View File

@ -98,6 +98,22 @@ $ docker run -v <localfiles>:/tmp -it riscv /bin/bash
# ./RISCV_TLM /tmp/<your_hex_file>
```
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