Thanks, disable_uboot_overlay_audio=1 fixed the problems with all (P9_25, P9_28, P9_29, P9_31) the GPIO assignment in setup.sh. But, I'm still failing with:
MACHINEKIT - 0.1 Machine configuration directory is '/home/machinekit/machinekit/configs/ARM.BeagleBone.Probotix' Machine configuration file is 'Comet_Metric.ini' Starting Machinekit... io started Unrecognized line skipped: POC FMS LEN DIAM COMMENT halcmd loadusr io started Skip cape-universal overlay load with kernel >3.8. *Comet.hal:20: insmod failed, returned -1:* rtapi_app_main(hal_pru_generic): -1 Operation not permitted Here's what I see in /var/log/linixcnc.txt machinekit@beaglebone:~/machinekit$ cat /var/log/linuxcnc.log Nov 1 18:33:14 beaglebone msgd:0: startup pid=4623 flavor=rt-preempt rtlevel=1 usrlevel=1 halsize=524288 shm=Posix cc=gcc 4.9.2 version=v0.1~-detached~fd30aa2 Nov 1 18:33:14 beaglebone msgd:0: ØMQ=4.0.5 czmq=4.0.2 protobuf=2.6.1 atomics=gcc intrinsics libwebsockets=<no version symbol> Nov 1 18:33:14 beaglebone msgd:0: configured: sha=fd30aa2 Nov 1 18:33:14 beaglebone msgd:0: built: Oct 28 2017 06:41:40 sha=fd30aa2 Nov 1 18:33:14 beaglebone msgd:0: register_stuff: actual hostname as announced by avahi='beaglebone.local' Nov 1 18:33:14 beaglebone msgd:0: zeroconf: registering: 'Log service on beaglebone.local pid 4623' Nov 1 18:33:15 beaglebone msgd:0: zeroconf: registered 'Log service on beaglebone.local pid 4623' _machinekit._tcp 0 TXT "uuid=a42c8c6b-4025-4f83-ba28-dad21114744a" "instance=1ee034c8-bf33-11e7-a2ac-6cecebb9ef46" "service=log" "dsn=ipc:///tmp/0.log.a42c8c6b-4025-4f83-ba28-dad21114744a" *Nov 1 18:33:16 beaglebone rtapi:0: rtapi_app_main(hal_pru_generic): -1 Operation not permitted* This looks like the PRU isn't setup? The Comet configuration uses two Y axis in the gantry code which is a little bit out of the ordinary. I could try some other configs if that would narrow down the problem. On Wednesday, November 1, 2017 at 12:35:53 PM UTC-5, Robert Nelson wrote: > > On Wed, Nov 1, 2017 at 12:12 PM, Jerry Trantow <jerry....@gmail.com > <javascript:>> wrote: > > I saw a previous post reply by Robert Nelson to a similar problem. > > That post mentioned grepping for bone_capemgr.uboot_capemgr_enabled=1 > which > > was already 1. > > > > machinekit@beaglebone:~$ grep -c bone_capemgr.uboot_capemgr_enabled=1 > > /proc/cmdline > > 1 > > > > This post also mentioned running version.sh to identify components. > > > > machinekit@beaglebone:~$ sudo /opt/scripts/tools/version.sh > > git:/opt/scripts/:[a5d5f437baeaa7f8e14d5ae037268abf7a67e88e] > > eeprom:[A335BNLT00C04414BBBK6307] > > model:[TI_AM335x_BeagleBone_Black] > > dogtag:[Machinekit Debian Image 2017-10-29] > > bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot > > 2017.09-00002-g0f3f1c7907] > > kernel:[4.13.10-bone-rt-r2] > > nodejs:[v4.8.5] > > 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.20171027.1-0rcnee1~jessie+20171027] > > pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee1~jessie+20170829] > > pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~jessie+20170830] > > > > And it looked like there was possible uboot confusion between SD and > eMMMC > > so last night I flashed the image. > > > > bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot > > 2017.09-00002-g0f3f1c7907] (only change was mmcblk0 to 1) > > > > Still no love, so I modified my setup.sh to avoid the error about > loading > > the universal overlay which got me closer. > > > > MACHINEKIT - 0.1 > > Machine configuration directory is > > '/home/machinekit/machinekit/configs/ARM.BeagleBone.Probotix' > > Machine configuration file is 'Comet_Metric.ini' > > Starting Machinekit... > > io started > > Unrecognized line skipped: POC FMS LEN DIAM COMMENT > > halcmd loadusr io started > > cape-universal check skipped. (my message from modified setup.sh) > > P9_25 pinmux file not found! > > WARNING: GPIO pin not exported, cannot set direction or value! > > bash: /sys/devices/platform/ocp/ocp*P9_25_pinmux/state: No such file or > > directory > > > P9_25 is hdmi-audio... Kill hdmi-audio via: > > disable_uboot_overlay_audio=1 > > in /boot/uEnv.txt > > > https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Disable_on-board_devices > > > 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 machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.