198
|
1 |
-------------------------------------------------------------------------------
|
|
2 |
|
|
3 |
This is the INSTALL file of the IgH EtherCAT Master.
|
|
4 |
|
|
5 |
$Id$
|
|
6 |
|
|
7 |
-------------------------------------------------------------------------------
|
|
8 |
|
|
9 |
Building and installing
|
|
10 |
==========================
|
|
11 |
|
|
12 |
1) Create a copy of the configuration template:
|
|
13 |
|
|
14 |
$ cp ethercat.conf.tmpl ethercat.conf
|
|
15 |
|
|
16 |
2) Adjust the variables in the configuration file to your needs.
|
|
17 |
|
|
18 |
3) Build the EtherCAT master and network device driver modules:
|
|
19 |
|
|
20 |
$ make
|
|
21 |
|
|
22 |
4) Install the the EtherCAT master (as root):
|
|
23 |
|
|
24 |
# make install
|
|
25 |
|
|
26 |
This will create the following files and directories:
|
|
27 |
- /etc/sysconfig/ethercat (configuration file)
|
|
28 |
- /etc/init.d/ethercat (startup script)
|
|
29 |
- /usr/sbin/rcethercat (link to startup script)
|
|
30 |
|
|
31 |
The modules will be placed in /lib/modules/<KERNEL>/kernel/drivers/net
|
|
32 |
(where <KERNEL> is the Linux kernel version configured in ethercat.conf).
|
|
33 |
|
|
34 |
-------------------------------------------------------------------------------
|