|
|
1. Install the ubuntu 18.04 LTS to the carrier PC.
|
|
|
Please make sure that the operation is confirmed only with ubuntu 18.04 LTS.
|
|
|
It is not confirmed, for example, 18.04.2 LTS and so on.
|
|
|
After installation, to avoid the karnel update, **/etc/apt/apt.conf.d/20auto-upgareds** should be changed as follows:
|
|
|
from
|
|
|
**APT::Periodic::Update-Package-Lists "1";
|
|
|
APT::Periodic::Unattended-Upgrade "1";**
|
|
|
to
|
|
|
**APT::Periodic::Update-Package-Lists "0";
|
|
|
APT::Periodic::Unattended-Upgrade "0";**
|
|
|
|
|
|
2. Install the low-latency karnel
|
|
|
**$ sudo apt install linux-image-4.15.0-20-lowlatency
|
|
|
$ sudo reboot**
|
|
|
|
|
|
3. Install the related packages those will be used later.
|
|
|
**$ sudo apt install -y build-essential libelf-dev libreadline-dev linux-headers-$(uname -r)
|
|
|
$ sudo apt install -y automake autoconf subversion git mokutil openssh-server vim net-tools**
|
|
|
|
|
|
4. Install the KEK version of fmc-tdc-sw
|
|
|
Downloard fmc-tdc-sw from https://cerldev.kek.jp/trac/EpicsUsersJP/attachment/wiki/epics/fmc_tdc/fmc-tdc-sw-kek220427-rev0.tar.gz
|
|
|
4.1 Create **wr** directory under **/opt** and unpack the tar ball.
|
|
|
**$ cd /opt
|
|
|
$ sudo mkdir wr
|
|
|
$ sudo chown <user name> wr
|
|
|
$ cd wr
|
|
|
$ mv ~/Downloads/fmc-tdc-sw-kek220427-rev0.tar.gz .
|
|
|
$ tar xzf fmc-tdc-sw-kek220427-rev0.tar.gz**
|
|
|
4.2 Build them
|
|
|
**$ cd fmc-tdc-sw
|
|
|
$ make
|
|
|
$ sudo make modules_install
|
|
|
$ sudo depmod**
|
|
|
4.3 Setup to load the karnel module when it is booted.
|
|
|
**$ sudo vi /etc/modules-load.d/modules.conf
|
|
|
/etc/modules: kernel modules to load at boot time.
|
|
|
|
|
|
This file contains the names of kernel modules that should be loaded
|
|
|
at boot time, one per line. Lines beginning with "#" are ignored.
|
|
|
spec <- add
|
|
|
zio <- add
|
|
|
fmc_tdc <- add**
|
|
|
4.4 a |
|
|
\ No newline at end of file |