I launched machinekit and selected the pru-stepper example, but it quit with
this output:
MACHINEKIT - 0.1
Machine configuration directory is
'/home/machinekit/machinekit/configs/pru-examples'
Machine configuration file is 'pru-stepper.ini'
Starting Machinekit...
io started
emc/iotask/ioControl.cc 768: can't load tool table.
halcmd loadusr io started
pru-stepper.hal:37: insmod failed, returned -1:
rtapi_app_main(hal_pru_generic): -1 Operation not permitted
See /var/log/linuxcnc.log for more information.
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
Does it have to run as root?
$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[e307a944e0be0610ff5296e0abe4ad31a6e70daa]
eeprom:[A335BNLT00C04417BBBK0741]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[Machinekit Debian Image 2018-03-05]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
2018.01-00002-ge9ff418fb8]:[location: dd MBR]
kernel:[4.14.20-ti-rt-r36]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20180307.0-0rcnee0~stretch+20180307]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~stretch+20180104]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1
root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0
quiet]
dmesg | grep pinctrl-single
[ 1.495063] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 1.507259] gpio-of-helper ocp:cape-universal: ready
END
--
Rick Mann
[email protected]
--
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.