The Debian Stretch image is pretty old, but I don't think anyone is really maintaining newer image builds right now. Your issue is you need the "universal" cape overlay to be loaded, which allows user-space control of GPIO multiplexing without having to craft a custom device-tree overlay file for your specific application.

You should be able to manually go through the commands executed by the BareBones_setup.sh script and figure out why things aren't working. It looks like there is something preventing the cape-universal overlay from loading, which is causing the BareBones_setup.sh script to fail. Check your dmesg output which will sometimes have helpful error messages (but a lot of the errors for device-tree overlay stuff are either nonexistent or not generally useful).

On 5/8/2023 12:56 AM, Anoop S wrote:
Hi,
As stated in the subjectline, these are the combination fo hardware and
software I have setup:
BeagleBone Black Rev C
Xylotex BareBonesCNC
Machine kit image
-> 
https://rcn-ee.com/rootfs/bb.org/testing/2020-06-01/stretch-machinekit/bone-debian-9.12-machinekit-armhf-2020-06-01-4gb.img.xz

I have copied the following files from Xylotex's website and put them in
the right folder and changed permission of the *.sh file.
BareBones.hal
BareBones.ini
BareBones_setup.sh

However, upon starting machinekit, the configuration selector window popus
up, then comes the "machinekit" splash screen but then no progress.
Terminal reports the following:




































*machinekit@beaglebone:~$ machinekitMACHINEKIT - 0.1Machine configuration
directory is
'/home/machinekit/machinekit/configs/ARM.BeagleBone.Xylotex'Machine
configuration file is 'BareBones.ini'Starting Machinekit...rtapi_msgd
command:  /usr/libexec/linuxcnc/rtapi_msgd --instance=0 --rtmsglevel=1
--usrmsglevel=1 --debug=1 --halsize=524288rtapi_app command:
  /usr/libexec/linuxcnc/rtapi_app_rt-preempt --instance=0 --debug=1io
startedemc/iotask/ioControl.cc 859: can't load tool table.halcmd loadusr io
startedgrep: /sys/devices/bone_capemgr.*/slots: No such file or
directoryLoading cape-universal overlaybash:
/sys/devices/bone_capemgr.*/slots: No such file or directoryError loading
device tree overlay file: cape-universalBareBones.hal:6: program
'./BareBones_setup.sh' failed, returned 1Shutting down and cleaning up
Machinekit...Cleanup doneMachinekit terminated with an error.  For simple
cases more informationcan be found in the following files:
/home/machinekit/linuxcnc_debug.txt
/home/machinekit/linuxcnc_print.txtFor other cases get more meaningfull
information by restarting after    export DEBUG=5and look at the output
of:    /var/log/linuxcnc.log    dmesgWhen looking for errors, specifically
look for libraries that fail to loadby looking for lines with 'insmod
failed' as per example below.insmod failed, returned -1:do_load_cmd:
dlopen: nonexistant-component.so: cannot open shared object file:No such
file or directory*

Wha have I done wrong ? Is it because I am using a different machinekit
image than what is mentioned at Xylotex's web page ?

Anoop


--
Charles Steinkuehler
[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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/ae62a25d-6466-fe7d-0809-6604af6394d0%40steinkuehler.net.

Reply via email to