RPI4 Raspbian 64 bit & LinuxCNC

More
3 years 3 months ago #275581 by itsme

I have a problem with a new pi4b.
hal_pi_gpio refuses to load. It states Revision 7 is not supported.
Is there a solution for this?

forum.linuxcnc.org/24-hal-components/495...by-hal-pi-gio#275572
I was able to resolve the issue with a workaround proposed by elovalvo in the other topic...

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

More
3 years 2 months ago - 3 years 2 months ago #277759 by techroo
Hiya all,
Im trying to modify a small milling machine to CNC using LinuxCnc and Rtelligent EtherCat Closed loop stepper drivers.
New to Linux and i am finding it out the hard way trying to get ethercat to work on my raspi 4B.

I tried following the Installation notes by Hakan ( forum.linuxcnc.org/ethercat/42048-notes-...at-on-raspberry-pi-4 ) but version 2.8.1 does not boot with the "start4.elf is not compatible. This board requires newer software" error.

It then tried the 2.9.0 image posted by elovalvo on page 16 of this thread. This one booted no problem.

The problem is the dkms_build failing and me not knowing what exactly goes wong.

If there is anyone who can spare an image of 2.9.0 with ethercat installed im really interested.
Last edit: 3 years 2 months ago by techroo.

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

More
3 years 2 months ago #277788 by rodw
Ok, so much has changed but the good thing is you have Linuxcnc installed on Bullseye.
There is an ethercat Deb for that
Can you follow these instructions I did here
forum.linuxcnc.org/ethercat/45336-etherc...step-by-step?start=0
Where I said Create an ethercat sources file can you change Debian_12 to Raspbian_11

Everything else should work.
Note this method has only been updated on 10 August (3 days ago) following final release of Deb files by the iGh EtherCAT team to their mainline repositories. Using it to run on a Pi is untested but from what I see, it should work.
Please report back on the thread I linked to with your feedback. Once its confirmed working, I will update the instructions.
Note in the instructions, there is a link to my git repo with a xml file for the rtelligent stepper drives you can use. There is also a hal file too.

Note that ethercat is very advanced and adds an order of complexity to a Linuxcnc config. Then to add a raspberry Pi into the mix adds a whole new level of complexity and likely disappointment into the mix.

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

More
3 years 2 months ago #277815 by techroo
Thank you for the quick response.

I am beginning to see the complexity of trying to use a pi and ethercat together.

I am running into trouble with the Raspbian_11 repositories only containing the armhf packages, not the arm64 ones. Debian_12 does have these but runs into libc6 version dependency issues.

I added deb debian12 repo to try and grab compatible versions but run into more dependency issues.

For now i will do my install on a spare PC.

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

More
3 years 2 months ago #277817 by COFHAL

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

More
3 years 2 months ago #277888 by rodw

gnipsel.com/linuxcnc/rpi4-11.html
Seems like its 32 bit.

The only way then for ARM64 will be to build from source.  gitlab.com/etherlab.org/ethercat

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

Time to create page: 0.082 seconds
Powered by Kunena Forum