On Wed, Apr 6, 2016 at 10:41 PM, <[email protected]> wrote:

> Hi! I have an application where I need to have consistent time sampling of
> some sensors (for instance, sampling every 1ms second) and that it uses
> little power.
> My solution for using little power is to set the processor to sleep every
> once in a while using *rtcwake -d /dev/rtc0 -m mem*
> However, power management like that only works on kernels from TI.
> To have consistent time sampling I decided to use the PRU. I followed the
> great tutorial from http://exploringbeaglebone.com/chapter13/. However,
> this depends on uio_pruss which I was only able to get working on Bone
> kernels. TI kernels use remoteproc_pruss, which I haven't found any great
> tutorials on.
>
> I tried installing the uio_pruss module on a TI kernel using
> https://github.com/izaakschroeder/uio_pruss.
> After going through the process, I was even able to load the module.
> However, it doesn't work properly. For instance, the folder
> */sys/class/uio/uio0/maps/*  does not even exist on the TI kernels.
>
> Would anyone know how to get uio_pruss working on TI kernel?
>
> If not, would you know another solution that I could try for my
> application?
>

I was taking a look at chapter 13 yesterday with (v4.1.x-bone), which has
uio_pruss however the uio class doesn't match up 100% either..

So till we have ported that section to v4.1.x it's best to use: 3.8.x for
today..

sudo apt-get update
sudo apt-get install linux-image-3.8.13-bone79
sudo reboot

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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to