updated docker information
This commit is contained in:
parent
50147b4762
commit
6ea7f7a062
16
README.md
16
README.md
|
@ -98,6 +98,22 @@ $ docker run -v <localfiles>:/tmp -it riscv /bin/bash
|
||||||
# ./RISCV_TLM /tmp/<your_hex_file>
|
# ./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
|
Performance is not affected by running the simulator inside the container
|
||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|
Loading…
Reference in New Issue