uio_pruss.ko does not create /dev/uio0-7 and related issues

123 views
Skip to first unread message

am335x....@gmail.com

unread,
May 13, 2016, 7:07:27 AM5/13/16
to BeagleBoard
Hi everyone,

I want to learn using the two PRUs on my BBB, so I installed RobertCNelson's patched kernel, namely 4.4.10-bone10.

Here is my configuration:
1. Debian 8
2. uio, uio_pruss compiled as modules
3. kernel 4.4.10-bone10
4. dtb: am335x-boneblack

As indicated in the subject line, there are no uio0-7 in /dev after I modprobe (or insmod) uio_pruss.ko.
However, after executing the script at https://kwantam.github.io/BBKNotes2.html, /dev/uioX show up.

In order to test the system, I used the FixedPRUClock example (found at http://exploringbeaglebone.com/chapter13/) along with its dts.  Here's what dmesg delivered:

 [  665.627865] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6dbb000
[  665.635603] pgd = ddf90000
[  665.638334] [b6dbb000] *pgd=9baec831, *pte=4a304303, *ppte=4a304a33

Similar messages popped up with any example application that I tried to run on PRUs.
 
I would be grateful if someone can indicate a way to install uio_pruss reliably.

Thank you,
Johnny

Rick Mann

unread,
May 13, 2016, 5:59:28 PM5/13/16
to beagl...@googlegroups.com
I think, but I'm not sure, that you need to also enable it in the DTS, right?
> --
> 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 beagleboard...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/5ca9b708-024f-46ad-b0c7-660f34b75416%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


--
Rick Mann
rm...@latencyzero.com


Reply all
Reply to author
Forward
0 new messages