Merge branch 'master' of https://github.com/mariusmm/RISC-V-TLM
This commit is contained in:
commit
dd847804c0
14
README.md
14
README.md
|
@ -23,6 +23,7 @@ Table of Contents
|
||||||
* [Memory Map](./README.md#memory-map)
|
* [Memory Map](./README.md#memory-map)
|
||||||
* [TODO](./README.md#todo)
|
* [TODO](./README.md#todo)
|
||||||
* [Compile](./README.md#compile)
|
* [Compile](./README.md#compile)
|
||||||
|
* [Cross-compiler](./README.md#cross-compiler)
|
||||||
* [Docker container](./README.md#docker-container)
|
* [Docker container](./README.md#docker-container)
|
||||||
* [How to use Docker](./README.md#how-to-use-docker)
|
* [How to use Docker](./README.md#how-to-use-docker)
|
||||||
* [Test](./README.md#test)
|
* [Test](./README.md#test)
|
||||||
|
@ -123,6 +124,19 @@ $ ./RISCV_TLM asm/BasicLoop.hex
|
||||||
-D loglevel: 3 for detailed (INFO) log, 0 to ERROR log level
|
-D loglevel: 3 for detailed (INFO) log, 0 to ERROR log level
|
||||||
-f filename .hex filename to use
|
-f filename .hex filename to use
|
||||||
|
|
||||||
|
## Cross-compiler
|
||||||
|
It is possible to use gcc for risc-v compiler. Follow the instructions (from https://github.com/riscv/riscv-gnu-toolchain):
|
||||||
|
~~~
|
||||||
|
$ git clone --recursive https://github.com/riscv/riscv-gnu-toolchain
|
||||||
|
$ cd riscv-gnu-toolchain
|
||||||
|
$ ./configure --prefix=/opt/riscv --with-arch=rv32gc --with-abi=ilp32
|
||||||
|
$ make
|
||||||
|
...
|
||||||
|
wait for long time ...
|
||||||
|
...
|
||||||
|
$ export PATH=$PATH:/opt/riscv/bin
|
||||||
|
~~~
|
||||||
|
|
||||||
## Docker container
|
## Docker container
|
||||||
|
|
||||||
There is a Docker container available with the latest release at https://hub.docker.com/r/mariusmm/riscv-tlm.
|
There is a Docker container available with the latest release at https://hub.docker.com/r/mariusmm/riscv-tlm.
|
||||||
|
|
Loading…
Reference in New Issue