Dear All,
With the help of Dr. Han, I was able to run mrfioc2.
However, I have one question.
I have one EVG and two EVRs as shown below.
(mTCA-EVM-300, mTCA-EVR-300, mTCA-EVR-300RF)
nat> show_fru
FRU Information:
----------------
FRU
Device State
Name
==========================================
0
MCH M4
NAT-MCH-CM
3
mcmc1 M4
NAT-MCH-MCMC
5
AMC1 M4
CCT AM G64/471
6
AMC2 M4
mTCA-EVM-300
7
AMC3 M4
mTCA-EVR-300
8
AMC4 M4
mTCA-EVR-300RF
40
CU1 M4
Schroff uTCA CU
50
PM1 M4
NAT-PM-AC600D
60
Clock1 M4
MCH-Clock
61
HubMod1 M4
MCH-PCIe
92
AMC3-RTM M4
mTCA-EVRTM-300
==========================================
I checked it by referring to lspci of mrfioc2 to distinguish 3 cards.
# dmesg | grep mrf
mrf: loading out-of-tree module taints kernel.
mrf-pci 0000:06:00.0: Attaching MRF device w/o PLX bridge (00007011)
mrf-pci 0000:06:00.0: MRF Setup complete
mrf-pci 0000:09:00.0: Attaching MRF device w/o PLX bridge (00007011)
mrf-pci 0000:09:00.0: MRF Setup complete
mrf-pci 0000:0a:00.0: Attaching MRF device w/o PLX bridge (00007011)
mrf-pci 0000:0a:00.0: MRF Setup complete
#
# lspci -v -s 6:00.0
06:00.0 Signal processing controller: Xilinx Corporation Device 7011
Subsystem: Device 1a3e:132c
Flags: bus master, fast devsel, latency
0, IRQ 16
Memory at df200000 (32-bit, non-prefetchable)
[size=256K]
Capabilities: [40] Power Management
version 3
Capabilities: [48] MSI: Enable- Count=1/1
Maskable- 64bit+
Capabilities: [60] Express Endpoint,
MSI 00
Capabilities: [100] Device Serial Number
00-00-00-00-00-00-00-00
Kernel driver in use: mrf-pci
Kernel modules: mrf
# lspci -v -s 9:00.0
09:00.0 Signal processing controller: Xilinx Corporation Device 7011
Subsystem: Device 1a3e:132c
Flags: bus master, fast devsel, latency
0, IRQ 18
Memory at df100000 (32-bit, non-prefetchable)
[size=256K]
Capabilities: [40] Power Management
version 3
Capabilities: [48] MSI: Enable- Count=1/1
Maskable- 64bit+
Capabilities: [60] Express Endpoint,
MSI 00
Capabilities: [100] Device Serial Number
00-00-00-00-00-00-00-00
Kernel driver in use: mrf-pci
Kernel modules: mrf
# lspci -v -s a:00.0
0a:00.0 Signal processing controller: Xilinx Corporation Device 7011
Subsystem: Device 1a3e:232c
Flags: bus master, fast devsel, latency
0, IRQ 16
Memory at df000000 (32-bit, non-prefetchable)
[size=512K]
Capabilities: [40] Power Management
version 3
Capabilities: [48] MSI: Enable- Count=1/1
Maskable- 64bit+
Capabilities: [60] Express Endpoint,
MSI 00
Capabilities: [100] Device Serial Number
00-00-00-00-00-00-00-00
Kernel driver in use: mrf-pci
Kernel modules: mrf
https://github.com/epics-modules/mrfioc2/blob/master/documentation/lspci/mtca-evm-300.txt
In the document above, the device name is specified in the subsystem item as shown below, but I do
not.
06:00.0 Signal processing controller: Xilinx Corporation XILINX PCI DEVICE
Subsystem: Micro-Research Finland Oy MTCA
Event Master 300
Physical Slot: 4