Re: [beagleboard] Is there a way to send an interrupt from userspace to the PRU-ICSS?

2017-03-14 Thread robertsmaria934 via BeagleBoard
On Tue, 3/14/17, John Syne wrote: Subject: Re: [beagleboard] Is there a way to send an interrupt from userspace to the PRU-ICSS? To: beagleboard@googlegroups.com Date: Tuesday, March 14, 2017, 10:20 AM On Mar 13, 2017, at 9:24 PM, ags

Re: [beagleboard] Is there a way to send an interrupt from userspace to the PRU-ICSS?

2017-03-14 Thread John Syne
> On Mar 13, 2017, at 9:24 PM, ags wrote: > > @William Hermans like you I won't be able to dig into the gory details of > loading Linux. This is an interesting read (albeit high-level and prompting > more questions). I think I can say a few things without understanding all the > details: > >

Re: [beagleboard] Is there a way to send an interrupt from userspace to the PRU-ICSS?

2017-03-07 Thread William Hermans
So, there is a driver, although I do not know the name of this driver that populates /proc/irq/ , but if you cat /proc/interrupts, you'll easily see which number correlates to what. root@beaglebone:~# cat /proc/interrupts CPU0 16: 39266767 INTC 68 Level gp_timer 20: 11

Re: [beagleboard] Is there a way to send an interrupt from userspace to the PRU-ICSS?

2017-03-07 Thread ags
I see what you are saying. But (from what I've read) it seems that many would also say that you can't *receive* interrupts in userspace. I guess that's technically true, but uio does provide a way, through sysfs, to determine if an interrupt was fired. Also from what I've read (I've been doing

Re: [beagleboard] Is there a way to send an interrupt from userspace to the PRU-ICSS?

2017-03-07 Thread William Hermans
On Tue, Mar 7, 2017 at 9:45 PM, ags wrote: > The mechanism for generating an interrupt from a PRU to the A8 (host) is > well-documented. Is there a way to send an interrupt (one of the 64 system > interrupt events documented in the PRU-ICSS literature) from userspace? > No, there are no such thi

[beagleboard] Is there a way to send an interrupt from userspace to the PRU-ICSS?

2017-03-07 Thread ags
The mechanism for generating an interrupt from a PRU to the A8 (host) is well-documented. Is there a way to send an interrupt (one of the 64 system interrupt events documented in the PRU-ICSS literature) from userspace? >From reading the TI documentation, the only two that seem to be candidates