Skip to content

FELIX drivers

From the installation folder we took the version recommended for Felix 5.1 (4.20.0) from the root account:

wget https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/dist/software/drivers/latest/el9/felix-drivers-04-20-00/tdaq_sw_for_Flx-4.20.0-2dkms.noarch.rpm
dnf install tdaq_sw_for_Flx-4.20.0-2dkms.noarch.rpm

Everything worked as expected:

depmod
systemctl restart drivers_flx_sd

Everything looks OK:

[root@felix-1 ~]# cat /proc/flx
FLX driver (ALMA9.4 ready) for FELIX release 4.19 (RM4 and RM5 F/W compatible; XVC supported)
Tag "felix-drivers-04-20-00 ", flx.c revision "ROSRCDdrivers-00-01-11-3-g750cbd1 "
Number of devices detected: 2
Debug: 0

Locked resources:
      device | global_locks
=============|=============
           0 |   0x00000000
           1 |   0x00000000
device | resource bit |     PID |  tag
=======|==============|=========|=====
<none>

=> Device 0: (BAR0 = 0xfb300000)
Card type             : FLX-712
Device ID             : 0x0427
FPGA_DNA              : 0x013a6f281c504305
Reg Map Version       : 5.1
GIT tag               : rm-5.1
BUILD date and time   : 2024/02/24 11:23
GIT commit number     : 206
GIT hash              : 0x7be1dc2c
Firmware mode         : ITK PIXEL
Number of descriptors : 6
Number of interrupts  : 8
Interrupt name  |ToHost 0|ToHost 1|ToHost 2|ToHost 3|reserved|CR Xoff |BUSY    |TH full |
Interrupt count |      0 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
Interrupt flag  |      0 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
Interrupt mask  |      1 |      1 |      1 |      1 |      1 |      1 |      1 |      1 |
MSI-X PBA       00000000
XVC: <none>

=> Device 1: (BAR0 = 0xfb600000)
Card type             : FLX-712
Device ID             : 0x0428
FPGA_DNA              : 0x013a6f281c504305
Reg Map Version       : 5.1
GIT tag               : rm-5.1
BUILD date and time   : 2024/02/24 11:23
GIT commit number     : 206
GIT hash              : 0x7be1dc2c
Firmware mode         : ITK PIXEL
Number of descriptors : 6
Number of interrupts  : 8
Interrupt name  |ToHost 0|ToHost 1|ToHost 2|ToHost 3|reserved|CR Xoff |BUSY    |TH full |
Interrupt count |      0 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
Interrupt flag  |      0 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
Interrupt mask  |      1 |      1 |      1 |      1 |      1 |      1 |      1 |      1 |
MSI-X PBA       00000000
XVC: <none>

Command 'echo <action> > /proc/flx', executed as root,
allows for interaction with the driver. Possible actions are:
debug     -> Enable debugging
nodebug   -> Disable debugging
elog      -> Log errors to /var/log/message
noelog    -> Do not log errors to /var/log/message
clearlock -> Clear all lock bits (Attention: close processes that hold lock bits before doing this)