Page History
...
- git 2.2 and git-lfs will need to be installed. This can be done through a conda environment or through the CentOS package manager (YUM).
- For CentOS-7
sudo yum -y install
https://centos7.iuscommunity.org/ius-release.rpm- and then
sudo yum -y install git2u-all
git lfs install
(These instructions above maybe incorrect.)
- Setup the ssh key for github and the machine. See following links for more instructions
- clone the repository and update submodules
git clone git@github.com:slaclab/lcls2-pcie-apps.git
- cd lcls2-pcie-apps
git submodule init
git submodule update --recursive
git checkout pre-release
git submodule update --recursive
install rogue into a conda environment
- first get the anaconda or miniconda installer from https://docs.conda.io/en/latest/miniconda.html. Rogue will take up 3.3 GB so install miniconda or anaconda on a local hard drive, not in the user nfs or afs home.
- install rogue using the description here https://slaclab.github.io/rogue/installing/anaconda.html
- running the lcls2-pcie-apps vcs test
- checkout the pre-release
cd lcls2-pcie-apps
git checkout pre-release
git submodule update --recursive
the user_space_test1.sh located in lcls2-pcie-apps/tests script is a vcs / rogue integrated regression test and is designed to work out of the box.
the firs time this script is run, the following commands maybe needed
git-lfs install
git-lfs pull
git submodule foreach git-lfs pull
The first time running this on a fresh CentOS 7 install will require the ncurses-devel packcage. The command is
sudo yum install ncurses-devel package
- checkout the pre-release
- installing aes-stream-drivers and loading the kernel module
- installation. The tagged version for aes-stream-drives will be listed in the dependencies here
- https://github.com/slaclab/lcls2-pcie-apps/tree/pre-release/software/TimeTool
git clone git@github.com:slaclab/aes-stream-drivers.git
cd aes-stream-drivers/data_dev/driver
git checkout v5.4.0
make clean
make
sudo insmod datadev.ko
sudo chmod 666 /dev/datadev_0
cat /proc/datadev_0 #this is to validate the kernel module has been loaded
Configure machine to load this module on startup. See The instructions here lcls-pc83236 settings for details. settings rhel6 settings do not work.
starting py-rogue / firmware gui
cd lcls2-pcie-apps/software/TimeTool
python scripts/gui.py --dataDebug 1
Typical no-machine or x-forwarding makes Vivado run slow. A vnc server speeds things up.
sudo yum install tigervnc-server
vncpasswd
dbus-launch vncserver -geometry 2560x1440
if the port is blocked (can be validated by telnet'ing to the machine port 5901 remotely)
sudo firewall-cmd --zone=public --permanent --add-port=5901/tcp
sudo firewall-cmd --reload
now a vnc viewer should work
Overview
Content Tools