2015-01-29 12:02 GMT+01:00 Gilles Chanteperdrix < [email protected]>:
> On Thu, Jan 29, 2015 at 11:46:50AM +0100, Gilles Chanteperdrix wrote: > > On Thu, Jan 29, 2015 at 09:46:13AM +0100, Gautier HAOUY wrote: > > > Hello everyone, > > > > > > I am kindly requesting your help today as I am facing a complete > freeze on > > > an Freescale iMX28 based board (armadeus APF28-Dev). > > > I have developed a very simple kernel module which registers a GPIO > > > interrupt handler, working properly on linux 3.10.32 kernel. > > > The same code, compiled on a 3.10.32 + ipipe7 (also tested on ipipe v4) > > > patched kernel generates a machine freeze on IRQ reception, without > message > > > and any other possibility than resetting the board. > > > > > > I would appreciate any help/hint/procedure I could use to dive into the > > > problem and solve it. > > > Hoping to help others afterwards, > > > Best regards, > > > G0TieR. > > > > What is the problem exactly. Only applying the I-pipe patch breaks > > the GPIOs, or you need to compile the kernel with CONFIG_IPIPE? > > I assume the latter. Please replace the calls to generic_handle_irq > with ipipe_handle_demuxed_irq in drivers/gpio/gpio-mxs.c. The change > got forgotten when the gpio file moved to drivers/gpio it seems. > > -- > Gilles. > Hi Gilles, you found it... a simple change I would have liked to have found by myself. I guess I missed reading a text file. Thank you very very much for your help, now GPIO interrupts are properly managed either using Linux domain or RTDM on my iMX28. Best regards, Gautier. _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
