Hi Paul, I would advise against doing any "production" code using /dev/mem + mmap(). For the simple reason that you'll have latency introduced that will not be predictable. For your purposes. However, with that said, it would be ok for "test code" where timing is not too important.
I would also agree with TJF, and the information from the link he gave you *will* work. I've tested it personally. So . . . here is an example someone wrote back in . . .2014 looks like: https://groups.google.com/forum/#!msg/beagleboard/0a4tszlq2y0/SQ-Vwyr9A_AJ Youngtae Jo has all the code and steps he took to make everything work. I have not personally reviewed or used the code, but it should be at least a good read to get an idea of what needs doing. On Wed, Sep 14, 2016 at 8:26 AM, TJF <[email protected]> wrote: > Hi Paul! > > Am Mittwoch, 14. September 2016 12:45:04 UTC+2 schrieb > [email protected]: >> >> Chris, yes uio_pruss/prussdrv examples seem to give me better control >> than Remote Proc/RpMsg, I am thinking of trying to rebuild the kernel with >> the pruss_io kernel objects instead, then use examples like yours. It seems >> there are lots. I just can't see many examples using RemoteProc/RpMsg. >> > > You don't need to rebuild your kernel. When you update to 4.4.14-ti-r34 > (or newer) you can swap between uio_pruss or RpMsg. Find details in this > post > <https://groups.google.com/d/msg/beagleboard/l59Dx8ygxNg/GvIzOJSzDAAJ>. > > It'll take a long time until RpMsg will develop to anything reasonable. > I'm sure, uio_pruss will live for many years. > > Regards > > -- > 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/737faaec-595f-4dcb-9a0c-bac9d34f0468%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/737faaec-595f-4dcb-9a0c-bac9d34f0468%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CALHSORoXjMZ_n_9XqWVMfT9uEqpwxPjAcoQiLg9afpb%3D7AZdHA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
