Update Tiny RISCV SoC for RFU
parent
25f9972488
commit
7042e1cf0a
@ -15,6 +15,27 @@ ZephyrOS seems to also include some RSA implementations, so that's useful.
|
|||||||
|
|
||||||
SERVs demo drivers and stuff are old. Really old. ZephyrOS 2.4.0 old, which also requires an old compiler (old binutils). sdk-ng v0.14.2 works well: https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.14.2
|
SERVs demo drivers and stuff are old. Really old. ZephyrOS 2.4.0 old, which also requires an old compiler (old binutils). sdk-ng v0.14.2 works well: https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.14.2
|
||||||
|
|
||||||
|
## More QuickNotes on this
|
||||||
|
|
||||||
|
To init get new fusesoc workspace using `fusesoc init`. Then set manifest to SERV. Then `fusesoc update`. Then you can build. Play with code in `fusesoc_libraries/serv/`.
|
||||||
|
|
||||||
|
Build this from here:
|
||||||
|
```
|
||||||
|
/home/markus/zeph_orig/zephyr/samples/hello_world
|
||||||
|
[markus@737d440cb9bd hello_world]$ west build -b service
|
||||||
|
```
|
||||||
|
convert to "hex":
|
||||||
|
|
||||||
|
```
|
||||||
|
python3 $SERV/sw/makehex.py /home/markus/zeph_orig/zephyr/samples/hello_world/build/zephyr/zephyr.bin 16384 > test.hex
|
||||||
|
```
|
||||||
|
|
||||||
|
and run using (in the fusesoc root):
|
||||||
|
|
||||||
|
```
|
||||||
|
fusesoc run --target=verilator_tb servant --uart_baudrate=57600 --firmware=test.hex
|
||||||
|
```
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
* https://github.com/olofk/serv
|
* https://github.com/olofk/serv
|
||||||
|
Loading…
Reference in New Issue
Block a user