LinuxCNC on Raspberry Pi 5

More
1 year 8 months ago #320716 by rodw
Replied by rodw on topic LinuxCNC on Raspberry Pi 5
There is a commit pending with etherlab or the 6.11 kernel and up which also should let ethercat on 6.12 work for us.
Bjarne at etherlab is chasing it up for us internally. He has been so helpful for us along the way.
The following user(s) said Thank You: unknown

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #320720 by unknown
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

Hello everyone,

I started to work with linuxcnc only a few weeks ago, when I decided to upgrade my 3d printer with A and B axis.
Because my pi4 was starting to jitter I acquired a pi5. :) As one does.. :)

I etched the image 2.94 for pi5 to an SD card. Running this image, GPIO is not working.

halcmd loadrt hal_gpio help
Note: Using POSIX realtime
Invalid parameter `help'
<commandline>:0: waitpid failed /usr/bin/rtapi_app hal_gpio
<commandline>:0: /usr/bin/rtapi_app exited without becoming ready
<commandline>:0: insmod for hal_gpio failed, returned -1
cnc@raspberrypi:~$

I dont have the knowledge to troubleshoot this. Unfortunately. Maybe somebody here know how to solve this.

kind regards,
JAiro
 
halcmd loadrt hal_gpio help
Invalid parameter `help' <<<<< this is the error from the above, Linux is pretty verbose in telling you what is wrong.

But you really need to read the man page
linuxcnc.org/docs/devel/html/drivers/hal_gpio.html

 

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #320721 by unknown
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

There is a commit pending with etherlab or the 6.11 kernel and up which also should let ethercat on 6.12 work for us.
Bjarne at etherlab is chasing it up for us internally. He has been so helpful for us along the way.
 
I had a look at the ethercat DKMS package (extracted the package in a temporary directory, no need to do an install), and what I saw is that the source of the modules have ending with 5.14 & 6.1 before the .c .h extension (I'm guessing these are the supported kernels). I'd get confirmation that the commit for 6.11 will work for 6.12.

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #320724 by rodw
Replied by rodw on topic LinuxCNC on Raspberry Pi 5

. I'd get confirmation that the commit for 6.11 will work for 6.12.
It seems to be confirmed because the notes say it fixes issue #160 which is the issue I raised. 
gitlab.com/etherlab.org/ethercat/-/merge_requests/151

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #320727 by unknown
Replied by unknown on topic LinuxCNC on Raspberry Pi 5
I wonder about the drivers in the gnet folder for the RPi. Whether the drivers from 6.12.x kernel source need to be patched with the ethercat stuff and moved into the gnet folder.

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #320730 by rodw
Replied by rodw on topic LinuxCNC on Raspberry Pi 5
Don't overthink it.
The drivers in Ethercat refer to optimised RT Ethernet NIC drivers. There is a generic driver we use and then some hardware specific ones for install and broadcom, I assumed there would be generic driver support.

Please Log in or Create an account to join the conversation.

Time to create page: 0.472 seconds
Powered by Kunena Forum