GSoC: Request to integrate PRU API project with upstream package repository

Sir,

This is regarding GSoC project with BeagleBoard.org to create a user-space API to control the BeagleBone PRUs. ‘jkridner’ and I were discussing about how to get the code integrated and if it is easy for you to install it into a permanent position.

The debian package for the API “pruapi_1.0-1_armhf.deb” is present in the releases page on GitHub: https://github.com/pratimugale/PRUSS-Bindings/releases

The package was made using ‘checkinstall’ to install using dpkg:
Makefile on which checkinstall was used: https://gist.github.com/pratimugale/d01bc6120f7a75454ab9ceff065fff6f
postinstall-pak: https://gist.github.com/pratimugale/46a5d2fcd4dffef780c025ed7ba71d50

To test the package’s installation I have put a ‘userspace.o’ object file in /usr/bin which loads ‘am335x-pru1-fw’ firmware from the same directory and starts the PRU. The firmware is a RPMsg helloworld program.
I have tested the installation for the cpp-library(pruss.h, libpruss.a) by compiling https://github.com/pratimugale/PRUSS-Bindings/wiki#how-to-use-the-api using “g++ userspace.cpp -L/usr/lib -lpruss”.
In this way, every component of the package is tested.

The development was done and tested on kernel version “4.14.71-ti-r80” on BeagleBone Black.
The code for the repository is present here: https://github.com/pratimugale/PRUSS-Bindings

Please let me know if I need to make any changes and if this package can be integrated.

Sincerely,

Pratim Ugale