Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Do this on lcls-pc83236

Preparing git ssh keys 

Add your ssh keys to git (This is unfortunately necessary because the .gitmodules file in lcls2-pcie-apps uses the "git" form of the URL instead of the "http" form):

...

Also note that the firmware requires a new version of git that supports "links to large files" (lfs).  Add /afs/slac/g/reseng/git/git/bin to PATH.

Conda Commands to Create Rogue Environment

This is in addition to the other packages that must be built in for the rogue library (see next step).  These conda commands are derived from:

...

Code Block
conda env create -n timetool
source activate timetool
conda install pyyaml
conda install pyzmq
conda install -c conda-forge parse
conda install click
conda install MySQLdb
conda install -c bioconda mysqlclient
conda install -c conda-forge pyro4
conda install numpy
pip install recordclass


Building Rogue

git clone https://github.com/slaclab/rogue.git

...

Some applications are not built by default.  cd to directory and make.

Building Firmware

Follow instructions in the README.md here (make sure to use the modern AFS version of git described here so you can use git-lfs):

...

cd firmware/targets/TimeToolKcu1500

make

Making Vivado communicate with board over USB/JTAG

Do this to program with flash chips on the KCU1500 for the first time.  Before programming lspci will show:

...

https://docs.google.com/presentation/d/10eIsAbLmslcNk94yV-F1D3hBfxudBf0EFo4xjcn9qPk/edit#slide=id.g245233f915_0_41

Programming FPGA over PCI

Before doing this, build/install the driver using the instructions here:

...