Skip to content

Can I run Tock apps in a virtual environment? #2868

Closed Answered by lschuermann
saki-osive asked this question in Q&A
Discussion options

You must be logged in to vote

An alternative to QEMU as proposed by @hudson-ayers, which emulates an environment close to a board (e.g. the SiFive HiFive Rev B board), can be a gatelevel-simulation of some hardware. An example for this is the LiteX simulator which takes a hardware description of a chip including a CPU (in Verilog) and uses Verilator to build a simulation for that. Tock's support for this board can be found here: https://github.com/tock/tock/blob/master/boards/litex/sim/README.md. I've set up a companion repository for that which also contains step-by-step instructions on how to get started in setting up your LiteX simulation environment on Ubuntu 20.4 (other Linux distributions should work similarly).…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@saki-osive
Comment options

@alistair23
Comment options

@saki-osive
Comment options

@hudson-ayers
Comment options

@saki-osive
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by alevy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants