diff --git a/README.md b/README.md index 2a38101..282c242 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,7 @@ $ ./RISCV_TLM asm/BasicLoop.hex ### Arguments -D loglevel: 3 for detailed (INFO) log, 0 to ERROR log level + -f filename .hex filename to use ## Cross-compiler @@ -147,10 +148,16 @@ This container has RISCV-TLM already build at /usr/src/riscv64/RISCV-TLM directo $ docker pull mariusmm/riscv-tlm $ docker run -v /:/tmp -u $UID -e DISPLAY=$DISPLAY --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" -it mariusmm/riscv-tlm /bin/bash -# cd /usr/src/riscv64/RISCV_TLM/ +# cd /usr/src/riscv64/RISC-V-TLM/ # ./RISCV_TLM /tmp/ ``` +or you can call binary inside docker image directly: + +``` +$ docker run -v /:/tmp -u $UID -e DISPLAY=$DISPLAY --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" -it mariusmm/riscv-tlm /usr/src/riscv64/RISC-V-TLM/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: