... | @@ -40,6 +40,19 @@ To compile the sources, you should execute the following command: |
... | @@ -40,6 +40,19 @@ To compile the sources, you should execute the following command: |
|
|
|
|
|
$ make
|
|
$ make
|
|
|
|
|
|
|
|
## Loading the drivers
|
|
|
|
|
|
|
|
To load the drivers, we should load the dependencies first:
|
|
|
|
|
|
|
|
# insmod <path_zio>/zio.ko
|
|
|
|
# insmod <path_fmc-bus>/kernel/fmc.ko
|
|
|
|
# insmod <path_spec-sw>/kernel/spec.ko
|
|
|
|
|
|
|
|
Once the dependencies are loaded, we load the drivers:
|
|
|
|
|
|
|
|
# insmod <path_fmc-tdc-sw>/drivers/zio-trigger-tdc.ko
|
|
|
|
# insmod <path_fmc-tdc-sw>/drivers/spec-tdc.ko <parameters>
|
|
|
|
|
|
The spec-tdc.ko driver has several parameters, you can discover them
|
|
The spec-tdc.ko driver has several parameters, you can discover them
|
|
exe-
|
|
exe-
|
|
cuting:
|
|
cuting:
|
... | @@ -60,19 +73,6 @@ To know which are the bus and slot numbers, one can use the command |
... | @@ -60,19 +73,6 @@ To know which are the bus and slot numbers, one can use the command |
|
|
|
|
|
In the previous output, the parameters will be: bus=0 slot=4.
|
|
In the previous output, the parameters will be: bus=0 slot=4.
|
|
|
|
|
|
## Loading the drivers
|
|
|
|
|
|
|
|
To load the drivers, we should load the dependencies first:
|
|
|
|
|
|
|
|
# insmod <path_zio>/zio.ko
|
|
|
|
# insmod <path_fmc-bus>/kernel/fmc.ko
|
|
|
|
# insmod <path_spec-sw>/kernel/spec.ko
|
|
|
|
|
|
|
|
Once the dependencies are loaded, we load the drivers:
|
|
|
|
|
|
|
|
# insmod <path_fmc-tdc-sw>/drivers/zio-trigger-tdc.ko
|
|
|
|
# insmod <path_fmc-tdc-sw>/drivers/spec-tdc.ko <parameters>
|
|
|
|
|
|
|
|
## libtdc, an user-space library
|
|
## libtdc, an user-space library
|
|
|
|
|
|
### Introduction
|
|
### Introduction
|
... | | ... | |