enjoy-digital / litex

Build your hardware, easily!
Other
2.91k stars 557 forks source link

Creating a Vagrantfile for LiteX #1988

Open ohault opened 3 months ago

ohault commented 3 months ago

In order to obtain a reproducible LiteX environment, the creation of a Vagrant file would be interesting.

This would automatically create a virtual machine with everything you need to get started based on supported and tested versions of each component.

This would include Verilator

gsomlo commented 3 months ago

On Sat, Jun 15, 2024 at 12:10:10PM -0700, Olivier Hault wrote:

In order to obtain a reproducible LiteX environment, the creation of a Vagrant file would be interesting.

This would automatically create a virtual machine with everything you need to get started based on supported and tested versions of each component.

This would include Verilator

Not "official" as far as LiteX is concerned, but try:

http://mirror.ini.cmu.edu/litex/litexdemo.ova (password: tartans)

It only has a subset of the LiteX packages (as needed for building https://github.com/litex-hub/linux-on-litex-rocket), but everything else (non-LiteX) needed for LiteX development is pre-installed.

The kickstart file (unattended Fedora build script) used to generate the VM is here:

http://mirror.ini.cmu.edu/ks/litexdemo40.ks

EDIT: fixed github URL for litex/rocket project