machinekit@beaglebone:~/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS$
 
ls
cramps2_cape.bbio  cramps.py   fabrikator-mini.ini  launcher.ini  run.py   
    tool.tbl
CRAMPS.bbio        cramps.pyc  fabrikator_mini.py   README.md     
storage.ini
machinekit@beaglebone:~/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS$
 
./run.py 
loading cramps2_cape.bbio... done
starting configserver... done
starting linuxcnc... MACHINEKIT - 0.1
Machine configuration directory is 
'/home/machinekit/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS'
Machine configuration file is 'fabrikator-mini.ini'
Starting Machinekit...
done
io started
halcmd loadusr io started
Traceback (most recent call last):
  File "fabrikator_mini.py", line 20, in <module>
    hardware.init_hardware()
  File 
"/home/machinekit/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS/cramps.py",
 
line 26, in init_hardware
    prucode=prubin, halname='hpg')
  File "machinekit/rtapi.pyx", line 219, in 
machinekit.rtapi.RTAPIcommand.loadrt (hal/cython/machinekit/rtapi.c:4636)
RuntimeError: rtapi_loadrt '('hal_pru_generic', 'pru=0', 'num_pwmgens=6', 
'num_stepgens=6', 'halname=hpg', 
'prucode=/home/machinekit/machinekit/rtlib/xenomai/pru_generic.bin')' 
failed: Operation not permitted
Shutting down and cleaning up Machinekit...
Cleanup done
Machinekit terminated with an error.  You can find more information in the 
log:
    /home/machinekit/linuxcnc_debug.txt
and
    /home/machinekit/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
stopping configserver... done
machinekit@beaglebone:~/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS$
 
cat /home/machinekit/linuxcnc_debug.txt
Can not find -sec DISPLAY -var INTRO_GRAPHIC -num 1 
5713
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components
machinekit@beaglebone:~/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS$
 
cat /home/machinekit/linuxcnc_print.txt
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/machinekit/machinekit/bin
LINUXCNC_TCL_DIR=/home/machinekit/machinekit/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/machinekit/machinekit/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/machinekit/machinekit/src/objects
INIVAR=/home/machinekit/machinekit/libexec/inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/home/machinekit/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS/fabrikator-mini.ini
PARAMETER_FILE=pru-stepper.var
TASK=milltask
HALUI=
DISPLAY=mkwrapper
Starting Machinekit server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting Machinekit IO program: io
Killing task linuxcncsvr, PID=5713
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
machinekit@beaglebone:~/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS$

On Friday, July 28, 2017 at 11:58:33 AM UTC-4, Daren Schwenke wrote:
>
> I'm running the included configs.  If you want me to pick another one, let 
> me know.
> I had the same problem with this config earlier though, on a working 
> setup.  I tried the MendelMax-CRAMPS version and it worked before though. 
>  Now it doesn't.
> I'll try whatever headless config you want.  Just pick.
>
> On Friday, July 28, 2017 at 11:52:29 AM UTC-4, Robert Nelson wrote:
>>
>> On Fri, Jul 28, 2017 at 10:50 AM, Charles Steinkuehler 
>> <[email protected]> wrote: 
>> > On 7/28/2017 10:46 AM, Daren Schwenke wrote: 
>> >> 
>> >> 
>> machinekit@beaglebone:~/machinekit/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS$
>>  
>> ./run.py 
>> > 
>> > Can you provide a link to your full configuration? 
>> > 
>> > I'm not sure what the run.py script is doing.  It needs to be using 
>> > the config-pin utility and not trying to directly manipulate the sysfs 
>> > entries (which have moved since 3.8, IIRC). 
>>
>> i found it here: 
>>
>>
>> https://github.com/machinekit/machinekit/tree/master/configs/ARM/BeagleBone/Fabrikator-Mini-CRAMPS
>>  
>>
>> and 
>>
>>
>> https://github.com/machinekit/machinekit/blob/master/lib/python/machinekit/launcher.py#L132
>>  
>>
>> it's just calling "config-pin -f <filename>" to setup the pins.. 
>>
>> 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.

Reply via email to