On Thu, Dec 14, 2017 at 12:16 PM, <[email protected]> wrote: > Here at Pocket NC we locked on an old version of machinekit running the 3.8 > kernel when we launched our machine a couple years ago. It runs on the > Beaglebone Black. I only recently came onboard and have been trying to get > up to speed with the configuration while wrangling different pieces of > software together to get a web interface going on the machine. It all works > on the old version of machinekit. I am working on upgrading to a newer > version of machinekit and am running into problems. > > When I try the latest 3.8 image built for the BBB I run into problems with > the Xenomai kernel: https://github.com/machinekit/machinekit/issues/1332 > > Ideally, we could make the jump to the latest 4.14 kernel image, but I'm > unsure what changes need to be made. Kernel 4.14 uses U-boot for loading > overlays, so I've added our device tree overlay to /boot/uEnv.txt to load it > at boot. In the old setup, there is a setup.bridge.sh file that loads the > overlays and does some checks for analog pins and pru control files. I've > commented all of that out, but I'm not sure what should replace them or if I > even need to (I've attached the current state of the file). Right now when I > try to start machinekit I get "rtapi_app_main(hal_pru_generic): -1 Operation > not permitted". I'm not sure where to go from here. I've attached the files > that I think are pertinent (which are the only changes that I've made to the > whole configuration, which is here: https://github.com/PocketNC/pocketnc). > Any help you can offer is appreciated!
Is the pru overlay loading??? Double check with: sudo /opt/scripts/tools/version.sh PS, Alexander Rössler is having better luck with the v4.14.x-ti-rt vs v4.14.x-bone-rt There's a test image here: https://rcn-ee.net/rootfs/bb.org/testing/2017-12-12/stretch-machinekit/ Regards, -- Robert Nelson https://rcn-ee.com/ -- 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.
