On Thu, Sep 29, 2016 at 10:26 AM, <[email protected]> wrote: > > > On Thursday, September 29, 2016 at 4:45:42 PM UTC+2, TJF wrote: >> >> 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. >> > > Ok, sounds good to me. I'll stick to uio_pruss. Actually I like the > mmap-concept of interfacing. There are hard realtime constraints in > entertainment, too ;) > > >>> >>> 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. > > > Kernel: 4.7.3 (AFAIK, no access to the updated system now.) > /dev/uio* nodes don't appear, so my code prussdrv_open fails. It just worked > with 3.8.x. Capemgr seems to have changed, too (different path in /sys). > Maybe my initialization is non-optimal: > [there's a dtbo describing some IOs and PRU at > /lib/firmware/MY-PRU-00A0.dtbo] > echo "MY-PRU" >> /sys/devices/pl;atform/bone_capemgr/slots
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. Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/CAOCHtYiEqD_5divti6pBiX96h-SqmXsctvAj80KRczaanvOQWw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
