- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Any recommendations for a mini PC for an EtherCAT setup?
Any recommendations for a mini PC for an EtherCAT setup?
While it's fresh in my mind, this is what I've tried so far-
The 2.8.4 iso did run through the installer first time, with the only issue being it wouldn't detect any network ports. And as I don't have an already running linux system to compile the drivers, I figured I could deal with that later.
However the H3+ wouldn't boot from the nvme drive. I still had the various security boot options active, so I deactivated them, and tried another install letting the installer re-partition theSSD, but it failed when trying to install grub.
There is a known issue with the H3 and nvme drives, so I updated the firmware, and tried another install, but again no network, and it failed trying to install grub.
At this point I thought it was possibly something to do with the partition table having already been written, so I tried to boot into the Live distribution, but it would never load as per my previous post.
Even trying the recovery/safe mode, the system would just hang and not even get as far as normal live mode did.
I even tried installing onto another usb stick, but grub failed to install.
Your bullseye build has just finished downloading, so I'll try that when I get home from work tomorrow.
Please Log in or Create an account to join the conversation.
Any ideas?Booting Debian GNU/Linux'
error: no such device: a01d1a40-2019-42a9-8048-cb5ec1418ea1. Loading Linux 5.10.0-4-rt-amd64 error: file /boot/vmlinuz-5.10.0-4-rt-amd64' not found. Loading initial ramdisk error: you need to load the kernel first.
Press any key to continue...
Failed to boot both default and fallback entries. Press any key to continue....
Please Log in or Create an account to join the conversation.
You can use Buster but you need to install the driver via the realtek web site. Please refer to notes on the hardkernel site and forum.
In any case, once you get up and running with or without network I'm going to say it is mandatory to install the realtek driver which is reported to give 15-30% improvement on their forum.. ANd also c]confirmed by another user solves the error finishing read issue with mesa ethernet cards.
I've only installed onto the emmc drives from Hardkernel and had no issues.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I've now got as far as having updated to bookworm, which has solved a couple issues I had with Bullseye, which turned out to be that I had installed the non non-free-firmware version.
I'll now hopefully get LinuxCNC installed tomorrow, along with the ethercat stuff.
My first ethercat module should hopefully arrive tomorrow, otherwise it'll probably be next week due to an impending strike.
And the ethercat stepper driver kits I'd ordered are now ready for dispatch from China, so I should hopefully have all the bits needed to test a complete system by the end of next week.
Please Log in or Create an account to join the conversation.
linuxhint.com/enable-non-free-packages-d...0from%20repositories.
This is the bookworm iso I use
cdimage.debian.org/cdimage/unofficial/no...builds/amd64/iso-cd/
If you are going to be using Rtelligent drives, I have a config here which will gie you a start.
github.com/rodw-au/linuxcnc-cia402
Please Log in or Create an account to join the conversation.
Worked my way through the instructions, and I now have bookworm with LinuxCNC installed with ethercat, and the Berkhoff module that got delivered today shows up in the ethercat slave list.
Although I can't yet test it, as I've only got encoder modules, and don't currently have any spare encoders to test it.
Stepper drivers are scheduled for delivery on Monday, so I'll just have to familiarise myself with LinuxCNC for now.
Please Log in or Create an account to join the conversation.
I can't get LinuxCNC to load any of the sim options.
I get the following error -
Is this a generic LinuxCNC issue, or something to do with the ethercat bits being installed?Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0~pre0+git20221105.ffb6bda926
Machine configuration directory is '/home/moray/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
INIFILE=/home/moray/linuxcnc/configs/sim.axis/axis.ini
VERSION=1.1
PARAMETER_FILE=sim.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Found file(lib): /usr/share/linuxcnc/hallib/check_xyz_constraints.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
task: 678 cycles, min=0.000007, max=0.009878, avg=0.001102, 0 latency excursions (> 10x expected cycle time of 0.001000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
Traceback (most recent call last):
File "/usr/bin/axis", line 26, in <module>
from OpenGL.GLUT import *
File "/usr/lib/python3/dist-packages/OpenGL/GLUT/__init__.py", line 5, in <module>
from OpenGL.GLUT.fonts import *
File "/usr/lib/python3/dist-packages/OpenGL/GLUT/fonts.py", line 20, in <module>
p = platform.getGLUTFontPointer( name )
File "/usr/lib/python3/dist-packages/OpenGL/platform/baseplatform.py", line 350, in getGLUTFontPointer
raise NotImplementedError(
NotImplementedError: Platform does not define a GLUT font retrieval function
2998
3052
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Unfortunately I never tried actually running LinuxCNC before installing all the ethercat bits
Edit-
It looks like some kind of issue with Python 3.10 which is the default in Bookworm, as tklinuxcnc screen loads, which from what I gather is the only sim screen that doesn't use python
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19219
- Thank you received: 6440
Never seen that before.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Any recommendations for a mini PC for an EtherCAT setup?