oresat / oresat-prucam-ar013x

Linux kernel module and PRU firmware for the Star Tracker's AR013x camera.
GNU General Public License v3.0
3 stars 2 forks source link
am335x camera kernel-module linux

oresat-linux-prucam

License Issues

Kernel module, device tree overlay, and PRU firmware to interface to camera using the PRUs on the AM335x.

NOTE: This was tested on Debian with kernel 5.10. TI's PRU support libraries are constantly changing, so this likely does not work on older kernels anymore.

What is a PRU?

Programible Real-time Units. It a microcontroller that shares pins and other resource with the core processor allowing for custom interface to other hardware like cameras. See TI PRU-ICSS webpage for more details.

Supported cameras

Build and install prucam

NOTE: The kernel module requires both the device tree overlay and pru firmware binaries to be installed to work, so build and insert it last.

Device tree overlay

PRU firmware

Kernel module

Test prucam

Debian package

prucam-dkms is the kernel module that provides the sysfs interfaces to the pru and ar013x camera settings. This package will also install the compiled pru firmware and the prucam dtbo. NOTE when install, it will auto load the module.

To build prucam-dkms: