GSI Timing Gateware and Tools
Just clone our project.
git clone https://github.com/GSI-CS-CO/bel_projects.git
Make will take care of all submodules and additional toolchains.
make
Important: Please don't mess around using the "git submodule --fancy option" command!
This will build VME and PCI(e) drivers.
make driver
(optional) make driver-install
Builds basic Etherbone tools and library.
make etherbone
(optional) make etherbone-install
Additional tools like eb-console and eb-flash.
make tools
(optional) make tools-install
Builds basic Saftlib tools and library.
make saftlib
(optional) make saftlib-install
For detailed information check ip_cores/saftlib/CompileAndConfigureSaftlib.md.
Currently we support a few different form factors.
make scu2
make scu3
make vetar2a
make vetar2a-ee-butis
make pexarria5
make exploder5
make pmc
make microtca
make pexp
We recommend to use Quartus 18.1.0 (Build 625 09/12/2018 SJ)
You need to have installed the following packages before you can configure and build Etherbone and Saftlib:
- docbook-utils
- libglib2.0-dev
- autotools-dev
- autoconf
- libtool (glibtoolize)
- build-essential
- automake
- libreadline-dev
Get the package from here: https://packages.ubuntu.com/xenial/amd64/libpng12-0/download
sudo add-apt-repository ppa:linuxuprising/libpng12 sudo apt update sudo apt install libpng12-0
Error: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory [Ubuntu/Mint/...]
Create a new symlink: sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4
Error: Executing qmegawiz: child process exited abnormally + Time value XXX,YYYMbps and time unit are illegal
Change your LC_NUMERIC setting: export LC_NUMERIC="en_US.UTF-8"
In case a simple "make" does not fix this:
apt-get install python-setuptools
./install-hdlmake.sh
Adjust your PATH variable like this:
export QUARTUS=/opt/quartus/
export QSYS_ROOTDIR=$QUARTUS/sopc_builder/bin
export PATH=$PATH:$QUARTUS_ROOTDIR:$QSYS_ROOTDIR
In case you are running Ubuntu:
sudo apt-get install python-is-python3
Optional (python-is-python3 not found):
sudo ln -s /usr/bin/python3 /etc/python
sudo apt-get install python-setuptools
Create a new symlink: sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
You should run "make" to install hdlmake locally. In case you're still using Python 2.7 you have to adjust your PATH variable:
export PATH=$PATH:$HOME/.local/bin
Error: Cloning into 'dir'... - fatal: unable to access 'https://ohwr.org/project/generic_project.git/': server certificate verification failed. CAfile: none CRLfile: none
Systems with outdated trust databases (root CA certificate Let's Encrypt) will be unable to validate the certificate of the site. Update ca-certificates to fix this:
sudo apt update
sudo apt upgrade ca-certificates
See bel_projects/doc/usbblaster/readme.md
See bel_projects/doc/platform_cable/readme.md