Hello, a quick question on operating PRUs via the RemoteProc framework on 
Beaglebone:

Is there a command via RemoteProc which will stop execution of firmwares 
running on the PRU(s)?

There are bind and unbind capability in sys:

echo "4a334000.pru0" > /sys/bus/platform/drivers/pru-rproc/bind
echo "4a338000.pru1" > /sys/bus/platform/drivers/pru-rproc/bind

echo "4a334000.pru0" > /sys/bus/platform/drivers/pru-rproc/unbind
echo "4a338000.pru1"  > /sys/bus/platform/drivers/pru-rproc/unbind

The unbind appears to disconnect RPMsg (character devices gone), but it 
does not halt the PRU!

So after unbind, I am doing this:

sudo rmmod pru_rproc
sudo rmmod pruss

So after removing pruss the PRUs appear to halt.
So that is a total of 3 commands to halt a PRU.

So what I am looking for is a RemoteProc framework capability to halt the 
PRU(s) from user-space.
If there is none, I will use the rmmod commands as above.  I'm hoping I am 
missing a simpler method.

Regards,
Greg

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e12d6e11-3d19-469f-83bb-71f69922f125%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to