Hi.
I've been getting started using the PRU module on an AM335x-based board following the labs [1]. The labs are working for me but I'm confused by the system event used to signal from the ARM Host (the A8) to the PRU that a rpmsg is available in Lab #5. Specifically, "#define FROM_ARM_HOST 19" (and the corresponding mapping in the resource table) suggests that the ARM host raises the PRU-ICSS System Event #19 to indicate that a message is available. It seems like Event 19 though is only generated by the PRUSS, not the ARM host. There would also have to be some code on the ARM side so Linux knows how to raise this system event when it has prepared an rpmsg for the PRU: something like System Event #60 (which is the mailbox interrupt in the PRU-ICSS) makes sense to me.
I must be getting something backward or missing something---any pointers much appreciated!