RobertCNelson / ti-linux-kernel-dev

vendor bsp...
MIT License
87 stars 76 forks source link

Network issue #35

Open Davidinos opened 5 years ago

Davidinos commented 5 years ago

Goodmorning to all, I've just installed the kernel version: Linux arm 4.14.108-ti-xenomai-r120 #1 SMP PREEMPT Thu Oct 10 09:31:35 CEST 2019 armv7l GNU/Linux and root file system: debian-9.8-minimal-armhf-2019-02-16 following the steps explained here: https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black

I've got some difficulties implementing an Ethercat master using SOEM repository on my beaglebone black. Reason why I've opened an issue here: https://github.com/OpenEtherCATsociety/SOEM/issues/344 For information if I install the same repository in my PC Ubuntu 16.04, it works like a charm.

They suggest possible problems: There has been a bug in the network stack last year that prevented outputting the correct frames. It can also be there are some firewall rules active that prevent frames returning to SOEM.

Do you have any information/ideas about that? Thank you in advanced.

RobertCNelson commented 5 years ago

They suggest possible problems: There has been a bug in the network stack last year that prevented outputting the correct frames. It can also be there are some firewall rules active that prevent frames returning to SOEM.

Do they have a reference commit?

Regards,

Davidinos commented 5 years ago

Hello Robert, thank you very much for your answer. I asked them if they know the commit, in the meantime since it looks like there are no packets returned to the beaglebone, and that ethercat deals with basic ethernet frames, could it be that there is simply a kernel module that needs to be installed or mounted? Thank you for your attention.

Davidinos commented 5 years ago

Hello Robert, I've made a test. I changed the kernel version down to Linux arm 4.4.113-ti-xenomai-r149.1 #1 SMP Mon Oct 21 11:55:55 CEST 2019 armv7lx, keeping debian-9.8-minimal-armhf-2019-02-16 and it works. So I could consider the problem as solved. If you want to deepen the differences between the two versions, please let me know. Thank you.

Best Regards, Davide Brunelli