I did some modifications to the pru_speak.c to correct errors until it finally compiled.
Now the problem is that the directory /sys/class/misc/pru_speak/ is not created and the "build/bdist.linux-armv7l/egg/pru_speak/pruspeak.py", line 20, in __init__ method fails with: IOError: [Errno 2] No such file or directory: '/sys/class/misc/pru_speak/pru_speak_abort' I don't know how to proceed from that. Some googling sugested a misc_register() call, but there are no miscdevice at all at the pru_speak.c. Any help? Em quarta-feira, 28 de junho de 2017 16:54:35 UTC-3, RobertCNelson escreveu: > > On Wed, Jun 28, 2017 at 2:52 PM, Robert Nelson <[email protected] > <javascript:>> wrote: > > On Wed, Jun 28, 2017 at 1:23 PM, <[email protected] <javascript:>> > wrote: > >> Hello, > >> > >> I am trying to use the PRU from my beagleboard black for real time > control. > >> The PRU speak is great because it's the easiest way I could find for > using > >> the ADC PWM DIOs in real time. > >> > >> However, some things changed and the code doesn't compile anymore with > >> errors described in the github page here. > >> > >> Any help solving the compilation problem or suggesting another similar > >> library is very welcome. > > > > I believe pruspeak was tied to the v3.14.x-ti remoteproc > implementation.. > > > > void *rproc_da_to_va(struct rproc *rproc, u64 da, int len); > > > > > https://github.com/deepakkarki/pruspeak/blob/master/src/driver/pru_speak.c#L109 > > > > > Got defined in v4.4.x-ti as: > > > > void *rproc_da_to_va(struct rproc *rproc, u64 da, int len, u32 flags); > > correction, this got first defined in v4.1.x-ti.. > > 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/5f7f4780-41ca-49a1-9bc2-c26f0666b186%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
