I asked this question at TI's e2e forum, but was forwarded here due to usage of community support-only tools:
What is the most future-proof development path for PRU code on the AM335x? I'm currently using pasm on a Beaglebone Black with Debian 8. Until Kernel 3.8.x, using /dev/uio0 and Capemgr worked very smooth. Now I upgraded one BBB to Kernel 4.7.x and getting access to /dev/uio0 became unreliable (unloading kernel modules, changing dev tree, reloading, repeat). Am I following the wrong path? Shall I switch to the remoteproc system? What are you using?
Regards
Claudius
Now I upgraded one BBB to Kernel 4.7.x and getting access to /dev/uio0 became unreliable (unloading kernel modules, changing dev tree, reloading, repeat).
And it's still experimental. It may work in entertainment applications, but for hard real time use cases in closed loop comtrollers t's much too slow and will never be an alternative for uio_pruss, unless the concept gets addapted massively (faster booting, less resources consumption, ...). So for me there's no chance to switch. Full sure I'll continue to use pasm and uio_pruss.
Now I upgraded one BBB to Kernel 4.7.x and getting access to /dev/uio0 became unreliable (unloading kernel modules, changing dev tree, reloading, repeat).
What kind of trouble did you get? Can you explain more details, please. I tested 4.1 and 4.4 versions without problems.
Did you rebuild this "MY-PRU" with the newer compiler and the pru
changes needed? a 3.8.x overlay *.dtbo is not 100% compatible with
v4.1.x+ kernels.