author | Florian Pose <fp@igh-essen.com> |
Mon, 25 Sep 2006 12:15:36 +0000 | |
branch | stable-1.1 |
changeset 1723 | 492767ba685a |
parent 1721 | 8d1fcfe68ced |
child 380 | 971d079ff771 |
permissions | -rw-r--r-- |
198 | 1 |
------------------------------------------------------------------------------- |
2 |
||
3 |
This is the INSTALL file of the IgH EtherCAT Master. |
|
4 |
||
5 |
$Id$ |
|
6 |
||
7 |
------------------------------------------------------------------------------- |
|
8 |
||
9 |
Building and installing |
|
1721
8d1fcfe68ced
MERGE trunk -r534:537 -> branches/stable-1.1 (INSTALL file, Version info)
Florian Pose <fp@igh-essen.com>
parents:
198
diff
changeset
|
10 |
======================= |
8d1fcfe68ced
MERGE trunk -r534:537 -> branches/stable-1.1 (INSTALL file, Version info)
Florian Pose <fp@igh-essen.com>
parents:
198
diff
changeset
|
11 |
|
8d1fcfe68ced
MERGE trunk -r534:537 -> branches/stable-1.1 (INSTALL file, Version info)
Florian Pose <fp@igh-essen.com>
parents:
198
diff
changeset
|
12 |
The first two steps are only necessary, if the kernel sources to compile |
8d1fcfe68ced
MERGE trunk -r534:537 -> branches/stable-1.1 (INSTALL file, Version info)
Florian Pose <fp@igh-essen.com>
parents:
198
diff
changeset
|
13 |
against are not those of the running kernel. |
198 | 14 |
|
15 |
1) Create a copy of the configuration template: |
|
16 |
||
17 |
$ cp ethercat.conf.tmpl ethercat.conf |
|
18 |
||
19 |
2) Adjust the variables in the configuration file to your needs. |
|
20 |
||
21 |
3) Build the EtherCAT master and network device driver modules: |
|
22 |
||
23 |
$ make |
|
24 |
||
25 |
4) Install the the EtherCAT master (as root): |
|
26 |
||
27 |
# make install |
|
28 |
||
29 |
This will create the following files and directories: |
|
30 |
- /etc/sysconfig/ethercat (configuration file) |
|
31 |
- /etc/init.d/ethercat (startup script) |
|
32 |
- /usr/sbin/rcethercat (link to startup script) |
|
33 |
||
1721
8d1fcfe68ced
MERGE trunk -r534:537 -> branches/stable-1.1 (INSTALL file, Version info)
Florian Pose <fp@igh-essen.com>
parents:
198
diff
changeset
|
34 |
The modules will be placed in /lib/modules/<KERNEL>/ethercat |
198 | 35 |
(where <KERNEL> is the Linux kernel version configured in ethercat.conf). |
36 |
||
1721
8d1fcfe68ced
MERGE trunk -r534:537 -> branches/stable-1.1 (INSTALL file, Version info)
Florian Pose <fp@igh-essen.com>
parents:
198
diff
changeset
|
37 |
5) Adjust the configuration file /etc/sysconfig/ethercat to your needs. |
8d1fcfe68ced
MERGE trunk -r534:537 -> branches/stable-1.1 (INSTALL file, Version info)
Florian Pose <fp@igh-essen.com>
parents:
198
diff
changeset
|
38 |
|
198 | 39 |
------------------------------------------------------------------------------- |