[Xenomai-core] P2020 support for ftrace with ipipe 2.12-01 and xeno 2.5.5.1

2011-09-23 Thread Jean-Michel Hautbois
Hi List, I am trying to use ftrace on a P2020 board, using the following : - Linux 2.6.35-11 - Xenomai 2.5.5.1 (or 2.5.6, same problem) - ipipe 2.12-01 I launch it using : $ mkdir /tmp/debug $ mount -t debugfs nodev /tmp/debug $ cd /tmp/debug/tracing $ echo function_graph current_tracer The

Re: [Xenomai-core] P2020 support for ftrace with ipipe 2.12-01 and xeno 2.5.5.1

2011-09-23 Thread Gilles Chanteperdrix
On 09/23/2011 09:58 AM, Jean-Michel Hautbois wrote: Hi List, I am trying to use ftrace on a P2020 board, using the following : - Linux 2.6.35-11 - Xenomai 2.5.5.1 (or 2.5.6, same problem) - ipipe 2.12-01 I launch it using : $ mkdir /tmp/debug $ mount -t debugfs nodev /tmp/debug $ cd

Re: [Xenomai-core] P2020 support for ftrace with ipipe 2.12-01 and xeno 2.5.5.1

2011-09-23 Thread Jean-Michel Hautbois
Yes, ipipe tracing works. When it is the case, BTW, Here is the result of echoing a new tracer : $cat max I-pipe worst-case tracing service on 2.6.35.11/ipipe-2.12-01 -- -- CPU: 0, Begin: 2593605556 cycles, Trace Points: 12 (-10/+5), Length:

Re: [Xenomai-core] P2020 support for ftrace with ipipe 2.12-01 and xeno 2.5.5.1

2011-09-23 Thread Gilles Chanteperdrix
On 09/23/2011 11:49 AM, Jean-Michel Hautbois wrote: OK, I have more traces (a few :)) : I meant the I-pipe tracer alone. The I-pipe tracer intead of other ftrace tracers. -- Gilles.

[Xenomai-core] [RFC 0/1] Class driver for raw Ethernet packets

2011-09-23 Thread Richard Cochran
This patch adds a class driver for raw Ethernet drivers under Xenomai. The goal is to support industrial protocols such as EtherCAT and IEC 61850, where the stack is a user space program needing direct access at the packet level. The class driver offers interfaces for registration, buffer

[Xenomai-core] [RFC 1/1] Add a class driver for raw Ethernet packets.

2011-09-23 Thread Richard Cochran
This patch adds a class driver for sending and receiving raw Ethernet packets over a character device interface. Signed-off-by: Richard Cochran richard.coch...@omicron.at --- include/rtdm/rtpacket.h | 99 ksrc/drivers/testing/Kconfig |8 + ksrc/drivers/testing/Makefile

[Xenomai-core] [RFC 4/4] Add a real time packet reception to the gianfar driver.

2011-09-23 Thread Richard Cochran
This commit completes the support for the xenomai packet interface in the gianfar driver. Signed-off-by: Richard Cochran richard.coch...@omicron.at --- drivers/net/gianfar.c|4 +++ drivers/net/gianfar.h|2 + drivers/net/gianfar_rt.c | 60

[Xenomai-core] [RFC 3/4] Add a real time module for the gianfar driver.

2011-09-23 Thread Richard Cochran
This commit adds support for the xenomai packet interface to the gianfar driver. Only the transmit path is implemented. Signed-off-by: Richard Cochran richard.coch...@omicron.at --- drivers/net/Makefile |5 + drivers/net/gianfar.c| 20 +-- drivers/net/gianfar.h| 74

[Xenomai-core] [RFC 2/4] gianfar: reserve the first receive queue

2011-09-23 Thread Richard Cochran
This commit adjusts the code to use the second hardware receive queue. The idea is to keep the first queue open for later use as a fast path for real time Ethernet packets. Note that this patch relies on the specific filer capabilities of eTSEC version 1.2 (like in the p2020) and probably will

[Xenomai-core] [RFC 0/4] Sample driver using raw Ethernet packet interface

2011-09-23 Thread Richard Cochran
*** Applies to ipipe-2.6.36-powerpc-2.12-03 This patch provides an example driver for the raw packet interface. Much of the code is copy/paste from the main gainfar driver. The patch uses the hardware priority queues of the P2020 to make a fast path for real time traffic. Note this might not work

[Xenomai-core] [RFC 1/4] gianfar: reserve the first transmit queue

2011-09-23 Thread Richard Cochran
This commit adjusts the code to use the second hardware transmit queue. The idea is to keep the first queue open for later use as a fast path for real time Ethernet packets. Signed-off-by: Richard Cochran richard.coch...@omicron.at --- drivers/net/gianfar.c | 11 +++ 1 files changed, 7

Re: [Xenomai-core] [RFC 0/1] Class driver for raw Ethernet packets

2011-09-23 Thread Richard Cochran
PS Applies to Xenomai 2.5.6. ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core

Re: [Xenomai-core] [RFC 0/1] Class driver for raw Ethernet packets

2011-09-23 Thread Peter Soetens
On Friday 23 September 2011 13:02:19 Richard Cochran wrote: This patch adds a class driver for raw Ethernet drivers under Xenomai. The goal is to support industrial protocols such as EtherCAT and IEC 61850, where the stack is a user space program needing direct access at the packet level. The

Re: [Xenomai-core] [RFC 0/1] Class driver for raw Ethernet packets

2011-09-23 Thread Jan Kiszka
On 2011-09-23 13:02, Richard Cochran wrote: This patch adds a class driver for raw Ethernet drivers under Xenomai. The goal is to support industrial protocols such as EtherCAT and IEC 61850, where the stack is a user space program needing direct access at the packet level. The class driver

Re: [Xenomai-core] P2020 support for ftrace with ipipe 2.12-01 and xeno 2.5.5.1

2011-09-23 Thread Jean-Michel Hautbois
2011/9/23 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org On 09/23/2011 11:49 AM, Jean-Michel Hautbois wrote: OK, I have more traces (a few :)) : I meant the I-pipe tracer alone. The I-pipe tracer intead of other ftrace tracers. Well, I think it works, I can do a cat

Re: [Xenomai-core] P2020 support for ftrace with ipipe 2.12-01 and xeno 2.5.5.1

2011-09-23 Thread Jan Kiszka
On 2011-09-23 15:58, Jean-Michel Hautbois wrote: 2011/9/23 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org On 09/23/2011 11:49 AM, Jean-Michel Hautbois wrote: OK, I have more traces (a few :)) : I meant the I-pipe tracer alone. The I-pipe tracer intead of other ftrace tracers.

Re: [Xenomai-core] P2020 support for ftrace with ipipe 2.12-01 and xeno 2.5.5.1

2011-09-23 Thread Jean-Michel Hautbois
2011/9/23 Jan Kiszka jan.kis...@siemens.com On 2011-09-23 15:58, Jean-Michel Hautbois wrote: 2011/9/23 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org On 09/23/2011 11:49 AM, Jean-Michel Hautbois wrote: OK, I have more traces (a few :)) : I meant the I-pipe tracer alone. The