<font color='black' size='2' face='arial'>/<font color="black" face="arial" size="2">opt is the default install location. At this point you need to do the configuration steps for the ethercat master.<br>
<br>
Did you do the 'make install as root' with ARCH=arm CROSS_COMPILE=... or without? <br>
<div> <br>
</div>
<div> <br>
</div>
<div> <br>
</div>
<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">-----Original Message-----<br>
From: Jeff Krasky <jeff.krasky@dspcg.com><br>
To: etherlab-users <etherlab-users@etherlab.org>; 'Bruno Bittner' <babbittner@aol.com><br>
Sent: Tue, Nov 22, 2011 9:00 am<br>
Subject: RE: [etherlab-users] install on non-PC<br>
<br>
<div id="AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439">
<style>#AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 td{color: black;} @font-face {font-family:"MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4;} @font-face {font-family:"@MS Mincho";} #AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 p.MsoNormal,#AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 li.MsoNormal,#AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} #AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 a:link,#AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 span.MsoHyperlink {color:blue; text-decoration:underline;} #AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 a:visited,#AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} #AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 tt {font-family:"Courier New";} #AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 span.EmailStyle18 {mso-style-type:personal; font-family:"Times New Roman"; color:black; font-weight:normal; font-style:normal; text-decoration:none none;} #AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Times New Roman"; color:black; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} #AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 div.Section1 {page:Section1;} </style>
<div class="Section1">
<div class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: black;">Getting closer…</span></font></div>
<div class="MsoNormal"><font color="black" face="Times New Roman" size="2"><span style="font-size: 11pt; color: black;"> </span></font></div>
<div class="MsoNormal"><tt><font face="Courier New" size="2"><span style="font-size: 10pt;">> # I may have run make install as root here?</span></font></tt><font face="Courier New" size="2"><span style="font-size: 10pt;"><br>
<br>
<tt><font color="black" face="Courier New"><span style="color: black;"></span></font></tt></span></font></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">I ran ‘make install’ as root
on the Linux PC and then I went into BuildRoot and did ‘make’. When
I checked, only the filesystem was rebuilt. Now when I put the rebuilt
filesystem on the board, I see this:</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"># pwd</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">/</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"># find . -iname '*ethercat*'</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">./opt/bin/ethercat</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">./opt/etc/sysconfig/ethercat</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">./opt/etc/init.d/ethercat</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">./opt/lib/libethercat.a</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">./opt/lib/libethercat.la</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"># opt/etc/init.d/ethercat start</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">/etc/sysconfig/ethercat not existing</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">#</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">So certainly EtherCAT is now being built
in. Why are things in the “opt” directory though?</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">Thanks,</span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></tt></div>
<div class="MsoNormal"><tt><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">Jeff</span></font></tt></div>
</div>
</div>
<!-- end of AOLMsgPart_1_fae0340e-9f19-44de-b11a-82c3b405c439 -->
</div>
</font></font>