> On Apr 4, 2018, at 00:31 , Bas de Bruijn <[email protected]> wrote: > > >> On 04 Apr 2018, at 09:17, Rick Mann <[email protected]> wrote: >> >> >> >>> On Apr 3, 2018, at 23:46 , Bas de Bruijn <[email protected]> wrote: >>> >>> >>>> On 04 Apr 2018, at 02:51, Rick Mann <[email protected]> wrote: >>>> >>>> >>>> >>>>> On Apr 3, 2018, at 02:23 , Bas de Bruijn <[email protected]> wrote: >>>>> >>>>> >>>>> >>>>> On 3 Apr 2018, at 10:29, Rick M <[email protected]> wrote: >>>>> >>>>>> Bit of an update. I'm still stuck in the same issue. I re-flashed my BBB >>>>>> with the latest image: >>>>>> >>>>>> bone-debian-9.4-machinekit-armhf-2018-03-25-4gb >>>>>> >>>>>> And I get the same problem. Either it can't insmod because it lacks >>>>>> permission, or if I run as root, I get: >>>>> >>>>> You should not run as root. What is the error when you run normally? >>>>> >>>>> export DEBUG=5 >>>>> machinekit >>>>> >>>>> What does /var/log/linuxcnc.log say? >>>>> >>>>> Please pastebin that session. >>>> >>>> linuxcnc.log: https://pastebin.com/fzc4zXuq >>> >>> >>> line 452 >>> >>> Apr 3 17:43:12 beaglebone rtapi:0: 1:rtapi_app:6959:user hal_pru_generic: >>> cant find >>> /home/maker/machinekit-dev.arm/configs/pru-examples/pru_generic.bin in >>> /home/machinekit/machinekit/configs/pru-examples or /lib/firmware/pru/ >>> Apr 3 17:43:12 beaglebone rtapi:0: 1:rtapi_app:6959:user hpg: ERROR: >>> failed to initialize PRU >>> >>> in this line >>> https://github.com/machinekit/machinekit/blob/master/configs/pru-examples/pru-stepper.ini#L4 >>> the location is >>> CONFIG=prucode=/home/maker/machinekit-dev.arm/configs/pru-examples/pru_generic.bin >>> pru=1 num_stepgens=3 num_pwmgens=1 >>> >>> I very strongly doubt that’s the correct location. >>> >>> sudo find / -name pru_generic.bin >>> >>> that will show where it’s located to the right location. So you probably >>> should have on the line above the following path >>> ”rt-preempt/pru_generic.bin” instead of >>> "/home/maker/machinekit-dev.arm/configs/pru-examples/pru_generic.bin" >>> >>> similar (but not xenomai) to this: >>> https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/CRAMPS/CRAMPS.ini#L4 >> >> Thanks, that gets things farther. I changed the line to: >> >> CONFIG=prucode=/usr/lib/linuxcnc/rt-preempt/pru_generic.bin pru=1 >> num_stepgens=3 num_pwmgens=1 >> >> Now I've run into an issue that might be because I'm trying to run this over >> X windows instead of with a locally-connected display (so far that has >> worked): > > try ssh -Y user@ipadress and see if that helps
Same problem, unfortunately. I'd connect it directly but it's 15 km away right now (and 0035). :/ -- 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.
