Testing
Run fmc-tdc on a front-end:
Install drivers and run tstamps
ssh -X cs-crr-dev[1-4] # optionally
ssh -X cfc-774-cdv1
sudo_display
sudo -i
rmmod fmc_tdc
rmmod spec
cd /usr/local/drivers/fmc-tdc/
sh install_fmc_tdc.sh
fmc-tdc-tstamp 0x300 OR user/fvaga/bin/fmc-tdc-tstamp 0x300
Inspect registers from UAL - PCI ID 03:00.0 (read /tmp/dynpci slot 11)
/acc/local/L867/drv/ual/current/bin/ugui
PCI ID 03:00.0 (read /tmp/dynpci slot 11)
Deploy gateware
ssh cs-ccr-dev[1-4]
cp <your.bin.file> /acc/local/share/firmware/lab/spec-fmc-tdc-dma-<date>.bin
Use dmsg after the install_fmc_tdc.sh to see which bin has actually been loaded
Adjust driver installation
The configuration parameters for cfc-774-cdv1 are in:
cd /acc/dsc/lab/L867/3.10.0-957.1.3.rt56.913.el7.x86_64/fmc-tdc/install_param_cfc-774-cdv1