- Posts: 95
- Thank you received: 36
Installing LinuxCNC 2.9 on Raspberry Pi 4B with Preempt-RT kernel
- alangibson
- Offline
- Premium Member
-
Less
More
3 years 8 months ago #264936
by alangibson
Replied by alangibson on topic Installing LinuxCNC 2.9 on Raspberry Pi 4B with Preempt-RT kernel
To anyone looking for a low latency board computer that you can actually get your hands on, check out this thread.
forum.linuxcnc.org/18-computer/48113-odr...ent-for-raspberry-pi
We've managed to get sub-20 microsecond latency under realistic test conditions.
forum.linuxcnc.org/18-computer/48113-odr...ent-for-raspberry-pi
We've managed to get sub-20 microsecond latency under realistic test conditions.
Please Log in or Create an account to join the conversation.
- alangibson
- Offline
- Premium Member
-
Less
More
- Posts: 95
- Thank you received: 36
3 years 8 months ago #264937
by alangibson
Replied by alangibson on topic Installing LinuxCNC 2.9 on Raspberry Pi 4B with Preempt-RT kernel
> It is looking for Docker, although i wonder why
It uses docker as a stable build environment. That controls a lot of variables for you.
It uses docker as a stable build environment. That controls a lot of variables for you.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
3 years 8 months ago #264997
by rodw
Replied by rodw on topic Installing LinuxCNC 2.9 on Raspberry Pi 4B with Preempt-RT kernel
We are hoping to migrate this to the Armbian build system which I've been playing with for a while. I've missed something with the preempt_rt but with Alan's help, I think it will be pretty easy to sort out from here. That will reduce it to a one line build command.To anyone looking for a low latency board computer that you can actually get your hands on, check out this thread.
forum.linuxcnc.org/18-computer/48113-odr...ent-for-raspberry-pi
We've managed to get sub-20 microsecond latency under realistic test conditions.
Please Log in or Create an account to join the conversation.
- nickom44
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
3 years 7 months ago - 3 years 7 months ago #265775
by nickom44
Replied by nickom44 on topic Installing LinuxCNC 2.9 on Raspberry Pi 4B with Preempt-RT kernel
Hi Alan,
I have been running through the instructions all is going well (after setting up docker) but when I run
debuild -uc -us
after some time compiling taskmodule.cc I get the error below , do you know what this error means and how to fix it.
I should add that I killed the process as it seemed to have crashed.
Thanks
Nick
Compiling emc/task/taskmodule.cc
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [Makefile:287: objects/emc/task/taskmodule.o] Error 1
make[2]: Leaving directory '/home/nick/build/src'
make[1]: *** [debian/rules:50: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/home/nick/build'
make: *** [debian/rules:38: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
I have been running through the instructions all is going well (after setting up docker) but when I run
debuild -uc -us
after some time compiling taskmodule.cc I get the error below , do you know what this error means and how to fix it.
I should add that I killed the process as it seemed to have crashed.
Thanks
Nick
Compiling emc/task/taskmodule.cc
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [Makefile:287: objects/emc/task/taskmodule.o] Error 1
make[2]: Leaving directory '/home/nick/build/src'
make[1]: *** [debian/rules:50: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/home/nick/build'
make: *** [debian/rules:38: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
Last edit: 3 years 7 months ago by nickom44. Reason: extra information
Please Log in or Create an account to join the conversation.
- nickom44
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
3 years 7 months ago #265960
by nickom44
Replied by nickom44 on topic Installing LinuxCNC 2.9 on Raspberry Pi 4B with Preempt-RT kernel
Still couldn't get debuild to complete so reverted to using build in place. this time it compiled.
Regards
Nick
Regards
Nick
Please Log in or Create an account to join the conversation.
- mor
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 2
3 years 7 months ago #267273
by mor
Replied by mor on topic Installing LinuxCNC 2.9 on Raspberry Pi 4B with Preempt-RT kernel
Thanks for this guide. I think I got everything installed properly but encountered a couple areas where I had questions:
1. QT Designer script asked for "Run In Place" vs "Package" installation; I assumed Package.
2. sudo dpkg -i mesact_1.1.2_arm64.deb had an error message saying it wasn't a valid Debian archive; I downloaded mesact_1.2.3_arm64.deb and installed instead. Not sure if this will be an issue with the previous compilation steps before it.
Thanks again!
~Mor
1. QT Designer script asked for "Run In Place" vs "Package" installation; I assumed Package.
2. sudo dpkg -i mesact_1.1.2_arm64.deb had an error message saying it wasn't a valid Debian archive; I downloaded mesact_1.2.3_arm64.deb and installed instead. Not sure if this will be an issue with the previous compilation steps before it.
Thanks again!
~Mor
Please Log in or Create an account to join the conversation.
Time to create page: 0.250 seconds