On 12/11/2012 09:32 PM, Marco Poli wrote: > Hello all! > > > > I would like to apologize if this is a somehow recurrent or > previously addressed question, but all the answers I got on the topic > were inconclusive, at least for someone with so far minimal > experience with Xenomai. > > Raspberry Pi patched kernels have GPIO and GPIO generated-interrupts > working and exported to userland, but it is unclear to me if the > in-kernel drivers are able to deal with RT applications in primary > mode, or would it be necessary to make changes to the Linux Kernel > Drivers or new GPIO RTDM drivers to be able to access GPIO from a RT > application in primary mode? Maybe Analogy? > > Is it possible to use these sort of Linux Kernel GPIO drivers and > still be able to have my application not leave primary mode? Is there > some source of documentation someone can point me to that might be of > assistence?
It is unclear what interfaces you are talking about. The kernel gpiolib interface may usually be used from drivers, if you are careful to get it working, see: http://www.xenomai.org/index.php/I-pipe-core:ArmPorting#GPIOs If you are talking about the user-space interfaces, they are Linux drivers, using Linux syscalls, and as such will cause any Xenomai user-space thread running in primary mode to switch to secondary mode. -- Gilles. _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
