GSoC Linux UIO driver for PRU

Nils Hölscher nilhoel1 at
Sat Jul 13 07:16:40 UTC 2019


After I made sure that my fdt is correct I wondered why the pruss was still
not accessible.
When I researched more about userspace drivers in Linux I found out, that I
have overseen the pru UIO module in Linux.
This is the part that links the PRUs to the /dev/uio[0-7].
Which then would be used by the sources I currently use.
The UIO source is available here:
However this requires the linux UIO lib to load the modules and abstract
the device into a file.

While researching I also found that BSD has a PRU driver.
Also this driver is more feature rich as it support PRU debugging.
The sources can be found her:
Additionally I found these sources in the FreeBSD tree:
This code also registers the PRUs in /dev/.
On the other hand the BSD drivers have no documentation at all.

These are the code lines that will fail without a file in /dev.

So my questions are:
1. How are drivers registered to /dev in RTEMS? (examples)
2. Which driver would be a better starting point to bring pruss support to

Nils Hölscher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list