Add readme
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp -r /ioc/ecmc_python_venv/.venv /tmp/
|
||||
|
||||
|
||||
cp -r /ioc/NeedfulThings/ecmc_python_venv/.venv /tmp/
|
||||
|
||||
@@ -3,5 +3,9 @@
|
||||
#echo "I am in ${0}"
|
||||
|
||||
# set IRQ priority=92 for all EtherCAT kernel threads (default is 50)
|
||||
/usr/local/bin/set-irq-threads-priority.sh enp2s0 92
|
||||
/usr/local/bin/set-irq-threads-priority.sh enp4s0 92
|
||||
# This is only working if generic driver is in use. If igb, which is default, then ignore any errors from the below
|
||||
source /etc/ethercat.conf
|
||||
for dev in $LINK_DEVICES
|
||||
do
|
||||
usr/local/bin/set-irq-threads-priority.sh $dev 92
|
||||
done
|
||||
|
||||
29
README.md
Normal file
29
README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# ecmc server cfg
|
||||
Repo containing cfg for **ecmc servers**, only **ecmc servers**.
|
||||
|
||||
**THE SETTINGS IN THIS REPO IS ONLY SUPPOSED TO BE A TEMPLATE AND WILL NOT WORK FOR ALL MACHINES**
|
||||
|
||||
**THE PERSON COMMISSIONING THE SERVER IS RESPONSIBLE FOR THE SETTINGS**
|
||||
|
||||
## Usage
|
||||
|
||||
Clone the repository to the host:
|
||||
```
|
||||
cd /ioc/hosts/<hostname>
|
||||
git clone git@git.psi.ch:motion/ecmc_server_cfg.git cfg
|
||||
|
||||
# then check the settings are valid
|
||||
|
||||
```
|
||||
## Note on IGB driver
|
||||
|
||||
The file ETHERCATDRVR defines what devices to use:
|
||||
```
|
||||
DEVICE_MODULES="igb generic"
|
||||
```
|
||||
The default setup is that igb-driver will be used if possible and fallback to generic otherwise.
|
||||
|
||||
The "S10-eth-irq-prio" script will only have effect if generic driver is used. In the default case when igb-drivber is used the script might give some error messages but should not affect anything in a negative way.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user