Re: [Xenomai] Xenomai on Raspberry Pi 2

2016-02-12 Thread Mathieu Rondonneau
On 16-01-28 07:37 AM, Gilles Chanteperdrix wrote: > On Thu, Jan 28, 2016 at 04:19:16PM +0100, Gianmarco Ottavi wrote: >> I'm trying to make xenomai works on Pi 2 but i get some building >> errors while compiling the kernel. I've looked it up online for >> some guide on how to make it works, tried f

Re: [Xenomai] Process shared rt_event_wait() never signaled on ARM with Mercury core

2016-02-12 Thread Charles Kiorpes
> Here is the sync pattern the code normally achieves, once the parent has > successfully spawned a child thread, which has to wait for a start signal > before it may run application code: > > 1. parent calls threadobj_start(child) > 1.1 child->status |= __THREAD_S_STARTED > 1.2 wai

Re: [Xenomai] Process shared rt_event_wait() never signaled on ARM with Mercury core

2016-02-12 Thread Philippe Gerum
On 02/12/2016 03:08 PM, Charles Kiorpes wrote: > > > On Fri, Feb 12, 2016 at 5:43 AM, Philippe Gerum > wrote: > > On 02/11/2016 01:57 PM, Charles Kiorpes wrote: > > > > I attempted to run several tests: 'task-1', 'event-1', and 'mutex-1'. > > Each of th

Re: [Xenomai] Process shared rt_event_wait() never signaled on ARM with Mercury core

2016-02-12 Thread Charles Kiorpes
On Fri, Feb 12, 2016 at 5:43 AM, Philippe Gerum wrote: > On 02/11/2016 01:57 PM, Charles Kiorpes wrote: > > > > I attempted to run several tests: 'task-1', 'event-1', and 'mutex-1'. > > Each of these hung indefinitely. A gdb trace indicated that they were > > hanging on __libc_do_syscall() with

Re: [Xenomai] IRQ of pci express claimed by linux domain

2016-02-12 Thread Henning Schild
On Fri, 12 Feb 2016 12:43:48 +0100 Wolfgang Netbal wrote: > Am 2016-02-12 um 11:33 schrieb Henning Schild: > > On Fri, 12 Feb 2016 11:22:17 +0100 > > Wolfgang Netbal wrote: > > > >> Dear all, > >> > >> I am using an imx6 controller where a FPGA-device is connected via > >> PCI express. > >> To

Re: [Xenomai] IRQ of pci express claimed by linux domain

2016-02-12 Thread Wolfgang Netbal
Am 2016-02-12 um 11:33 schrieb Henning Schild: On Fri, 12 Feb 2016 11:22:17 +0100 Wolfgang Netbal wrote: Dear all, I am using an imx6 controller where a FPGA-device is connected via PCI express. To use the FPGA in realtime I try to claim the IRQ 155 using rtdm_irq_request() but the IRQ is ho

Re: [Xenomai] Process shared rt_event_wait() never signaled on ARM with Mercury core

2016-02-12 Thread Philippe Gerum
On 02/11/2016 01:57 PM, Charles Kiorpes wrote: > will be trying combinations of kernels and configuration options > throughout the course of the day. > The embedded-specific options in the kernel configuration (CONFIG_EMBEDDED) should be checked, particularly CONFIG_FUTEX. -- Philippe. __

Re: [Xenomai] Process shared rt_event_wait() never signaled on ARM with Mercury core

2016-02-12 Thread Philippe Gerum
On 02/11/2016 01:57 PM, Charles Kiorpes wrote: > > I attempted to run several tests: 'task-1', 'event-1', and 'mutex-1'. > Each of these hung indefinitely. A gdb trace indicated that they were > hanging on __libc_do_syscall() within __pthread_cond_wait() within > threadobj_cond_wait(). > > I h

Re: [Xenomai] IRQ of pci express claimed by linux domain

2016-02-12 Thread Henning Schild
On Fri, 12 Feb 2016 11:22:17 +0100 Wolfgang Netbal wrote: > Dear all, > > I am using an imx6 controller where a FPGA-device is connected via > PCI express. > To use the FPGA in realtime I try to claim the IRQ 155 using > rtdm_irq_request() but the IRQ is hold by the linux domain. > It looks lik

[Xenomai] IRQ of pci express claimed by linux domain

2016-02-12 Thread Wolfgang Netbal
Dear all, I am using an imx6 controller where a FPGA-device is connected via PCI express. To use the FPGA in realtime I try to claim the IRQ 155 using rtdm_irq_request() but the IRQ is hold by the linux domain. It looks like the default driver claims the IRQ, but I have my own driver that is l