Roger that. So I just did this:
machinekit@beaglebone:~/machinekit$ debian/configure -prx
debian/control: copied base template
debian/rules: copied base template
debian/machinekit.install.in: copied base template
debian/control: added POSIX threads package
debian/rules: enabled posix threads
debian/control: added RT_PREEMPT threads package
debian/rules: enabled rt-preempt threads
debian/control: added Xenomai (userland) threads package with
Build-Depends:
libxenomai-dev
debian/rules: enabled xenomai threads
debian/control: Set tcl/tk build deps to version 8.6
debian/control: add final Build-Depends: list
machinekit@beaglebone:~/machinekit$ sudo mk-build-deps -ir
...
machinekit@beaglebone:~/machinekit/src$ ./autogen.sh
machinekit@beaglebone:~/machinekit/src$ ./configure --with-rt-preempt
--with-xenomai --with-platform-beaglebone
...
# It seems that ./configure completed successfully. #
# If things don't work check config.log for errors & warnings #
machinekit@beaglebone:~/machinekit/src$ make -j 1
On Friday, July 28, 2017 at 3:40:16 PM UTC-4, Charles Steinkuehler wrote:
>
> On 7/28/2017 1:44 PM, Daren Schwenke wrote:
> >
> > machinekit@beaglebone:~/Arcus-3D-M2$ ./run.py
> > loading cramps_cape.bbio... done
> > starting configserver... done
> > starting linuxcnc... MACHINEKIT - 0.1
> > Machine configuration directory is '/home/machinekit/Arcus-3D-M2'
> > Machine configuration file is 'Arcus-3D-M2.ini'
> > Starting Machinekit...
> > done
> > io started
> > halcmd loadusr io started
> > Arcus-3D-M2.hal:31: insmod failed, returned -1:
> > rtapi_app_main(hal_pru_generic): -1 Operation not permitted
>
> This is yet another case of "not very helpful error messages".
>
> I poked around on your system and the problem is you didn't build the
> Xeonomai configuration as well as the preemprt-rt, so you don't have
> the PRU binary file in your rtlib directory. So the operation you are
> not permitted to do is read from a non-existing file!
>
> I installed the machinekit-xenomai package (it will happily co-exist
> with a run-in-place source build) and was able to load the
> hal_pru_generic driver.
>
> Change the "prucode=..." part of the HAL file you want to use so it
> points to the binary file installed as part of the package:
>
> prucode=/usr/lib/linuxcnc/xenomai/pru_generic.bin
>
> ...and you should get a bit farther.
>
> --
> Charles Steinkuehler
> [email protected] <javascript:>
>
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.