All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] RTNet - how to setup rt_fec on IMX6Q (Xenomai 3.0.7)
@ 2018-08-16 13:23 Stéphane Reichert
  2018-08-17  8:27 ` Philippe Gerum
  0 siblings, 1 reply; 9+ messages in thread
From: Stéphane Reichert @ 2018-08-16 13:23 UTC (permalink / raw)
  To: xenomai

Hello,



We are trying to use the rt_fec driver for RTNet on a iMX6Q board.



I have patched the KConfig to add this driver on buildroot and it compiles
perfectly.



But now, I am not able to use it on our board (it works when I “rtping”
the loopback,

but it doesn’t work if I try to ping an external board).



Each time I try to use the device, the rt_ping command returns

“ioctl: Resource temporarily unavailable”.



The same occurs if I try with or without tdma.



To reproduce the problem, here is the initialization sequence:

# modprobe rtnet

# modprobe rtipv4

# modprobe rt_fec

# echo 2188000.ethernet > /sys/bus/platform/drivers/fec/unbind

# echo 2188000.ethernet > /sys/bus/platform/drivers/rt_fec/bind

# modprobe rtudp

# modprobe rtpacket

# rtifconfig rteth0 up 192.168.214.30 netmask 255.255.0.0 hw ether
00:07:AC:81:0

# rtifconfig

rteth0    Medium: Ethernet  Hardware address: 00:07:AC:81:00:5D

          IP address: 192.168.214.30  Broadcast address: 192.168.255.255

          UP BROADCAST  MTU: 1500

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

# rtroute add 192.168.214.250 00:50:56:a2:d2:b6 dev rteth0

# rtroute

Host Routing Table

Hash    Destination     HW Address              Device

3A      192.168.214.250 00:50:56:A2:D2:B6       rteth0

3F      192.168.255.255 FF:FF:FF:FF:FF:FF       rteth0



Network Routing Table

Hash    Destination     Mask                    Gateway

# rtping 192.168.214.250

Real-time PING 192.168.214.250 56(84) bytes of data.

ioctl: Resource temporarily unavailable



Linux :   4.1.46

Xenomai : 3.0.7



Did anyone face this problem (I found some similary issues, but they
didn’t solve my problem on rt_fec) ?



Stéphane




Sepro

Stéphane REICHERT

  _____

 <http://www.sepro-group.com/fr> www.sepro-group.com |
<https://twitter.com/seprogroup> twitter@SeproGroup






-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 26078 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180816/c9b84399/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 818 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180816/c9b84399/attachment.png>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-09-10 15:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-16 13:23 [Xenomai] RTNet - how to setup rt_fec on IMX6Q (Xenomai 3.0.7) Stéphane Reichert
2018-08-17  8:27 ` Philippe Gerum
2018-08-17 11:39   ` [Xenomai] TR: " Stéphane Reichert
2018-08-17 11:39   ` Stéphane Reichert
2018-08-21 21:19     ` Edouard Tisserant
2018-08-22  8:24       ` Stéphane Reichert
2018-08-23 21:09         ` Edouard Tisserant
2018-08-24  7:07           ` Stéphane Reichert
2018-09-10 15:24             ` Edouard Tisserant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.