Skip to content

A rtdm (Xenomai-3 compatible) driver for handling interrupts from the PRUSS available on the Beaglebone Black

Notifications You must be signed in to change notification settings

thomasfaingnaert/rtdm_pruss_irq

 
 

Repository files navigation

Install a pre-compiled version

You can install a precompiled version using:

wget https://github.com/thomasfaingnaert/rtdm_pruss_irq/releases/download/v1.0/rtdm_pruss_irq.ko
sudo cp rtdm_pruss_irq.ko /lib/modules/`uname -r`/extra
sudo depmod -a
sudo modprobe rtdm_pruss_irq

To check if the module is loaded, run:

lsmod | grep rtdm_pruss_irq

Build from source

  1. Make sure you are running a Xenomai kernel. You can verify this by executing:
uname -a

This should output something similar to Linux beaglebone 4.9.88-ti-xenomai-r107 #1 SMP PREEMPT Sat Mar 24 09:29:27 UTC 2018 armv7l GNU/Linux.

  1. Download the latest Xenomai source from https://xenomai.org/downloads/xenomai/stable/latest/, e.g. using:
wget https://xenomai.org/downloads/xenomai/stable/latest/xenomai-3.0.6.tar.bz2
tar -xvf xenomai-3.0.6.tar.bz2
  1. Build the Xenomai libraries:
cd xenomai-3.0.6
./configure -enable-smp
make
sudo make install
  1. Install the Linux headers for your kernel version:
sudo apt-get install linux-headers-$(uname -r)
  1. Install the Beaglebone PRU Package:
git clone https://github.com/beagleboard/am335x_pru_package
cd am335x_pru_package
make
sudo make install
  1. Finally, clone and build the kernel module:
git clone https://github.com/thomasfaingnaert/rtdm_pruss_irq
cd rtdm_pruss_irq
make
sudo make install
sudo modprobe rtdm_pruss_irq
lsmod | grep rtdm_pruss_irq

About

A rtdm (Xenomai-3 compatible) driver for handling interrupts from the PRUSS available on the Beaglebone Black

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 88.1%
  • Makefile 7.6%
  • Shell 2.3%
  • OpenEdge ABL 2.0%