Edge Software Catalog
Support for issues related to Edge Software Catalog
Announcements
The Edge Software Catalog community is read-only. For support, please visit the Open Edge Platform (https://github.com/open-edge-platform) GitHub organization and post your question in the relevant repository’s Issues section.
492 Discussions

How to use DPDK& Ethercat IGH master station

ruziniu
Beginner
1,041 Views
The description at the URL 【https://eci.intel.com/docs/3.2/components/ethercat.html#install-igh-ethercat-master-stack】 is not very detailed. Is there a more detailed tutorial that can help me use DPDK to run the IGH master in user space?
0 Kudos
1 Solution
JesusE_Intel
Moderator
386 Views

Solution was provided in GitHub: https://github.com/open-edge-platform/edge-ai-libraries/issues/1086

If additional assistance is needed, please create a new ticket as this one will no longer be monitored.


View solution in original post

0 Kudos
5 Replies
JesusE_Intel
Moderator
1,011 Views

Hi ruziniu,


Please take a look at this page, I believe this is what you are looking for.

edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/docs/igh_userspace.md at main · open-edge-platform/edge-ai-libraries


Regards,

Jesus


0 Kudos
ruziniu
Beginner
946 Views

Thank you for your reply. I followed the instructions on the website you provided. However, I encountered a new issue and hope you can help me resolve it:I used the source code to install dpdk, version: dpdk-stable-24.11.3.

When executing the following steps:

cd ighethercat

./bootstrap

./configure --enable-sii-assign --disable-eoe --enable-hrtimer --disable-cycles --enable-usermode --enable-daemon --enable-dpdk

make

 

I got the following error message while running make.

make all-recursive
make[1]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat'
Making all in include
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/include'
Making all in script
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script'
Making all in sysconfig
make[3]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script/sysconfig'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script/sysconfig'
make[3]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script'
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/script'
Making all in dpdk
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/dpdk'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/dpdk'
Making all in ipc
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/ipc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/ipc'
Making all in master
make[2]: Entering directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/master'
CCLD ethercatd
/usr/bin/ld: -f may not be used without -shared
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:800: ethercatd] Error 1
make[2]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat/master'
make[1]: *** [Makefile:541: all-recursive] Error 1
make[1]: Leaving directory '/home/niu/Desktop/edge-ai-libraries/libraries/edge-control-libraries/fieldbus/ethercat-masterstack/ighethercat'
make: *** [Makefile:466: all] Error 2

I am not very familiar with the relevant knowledge; I hope you can help me solve this problem or provide more related reference materials.Thank you very much.

0 Kudos
JesusE_Intel
Moderator
860 Views

Hi ruziniu,


I'm also experiencing the same error. Let me investigate and get back to you. In the meantime, could you please open a GitHub issue in the Edge AI Libraries repository?

https://github.com/open-edge-platform/edge-ai-libraries/issues


Regards,

Jesus


0 Kudos
ruziniu
Beginner
840 Views

Thank you for your reply. I will put this issue to the Edge AI Libaries repository later

0 Kudos
JesusE_Intel
Moderator
387 Views

Solution was provided in GitHub: https://github.com/open-edge-platform/edge-ai-libraries/issues/1086

If additional assistance is needed, please create a new ticket as this one will no longer be monitored.


0 Kudos
Reply