I'm trying to install LinuxCNC on Ubuntu 20.04 arm64 and encountering some issue

More
3 years 3 months ago #276060 by MakerYang
I'm trying to install LinuxCNC on Ubuntu 20.04 arm64, and everything went smoothly with compiling from the source code. However, I'm currently stuck at the real-time kernel part. I hope to receive your help and guidance on this matter.

The current system information is as follows:
1、 uname -a
Linux ubuntu 4.14.87 #1 SMP PREEMPT Mon Jun 19 19:21:00 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
2、uname -r
4.14.87

Everything went smoothly with compiling from the source code.

 

Attachment not found



The real-time performance is very poor.

 

Attachment not found



How should I proceed?
 

Please Log in to join the conversation.

More
3 years 3 months ago #276061 by MakerYang
The embedded development board I'm using has some documentation that instructs us on how to build the kernel and image, but it doesn't seem to address the issue: github.com/HorizonRDK/rdk-gen

Please Log in to join the conversation.

More
3 years 3 months ago #276064 by tommylight
Wrong kernel, not a fully preemptible one.
Is there any reason for not using Debian BookWorm?
Installing LinuxCNC on BookWorm is as simple as
sudo apt install linuxcnc-uspace

Please Log in to join the conversation.

More
3 years 3 months ago #276067 by rodw
Ubuntu requires a subscription for the RT kernel. Please use Debian Bookworm per these instructions
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html

Compiling from source is not required.

Please Log in to join the conversation.

More
3 years 3 months ago #276069 by MakerYang
I also wish to use Debian BookWorm. However, I am currently limited by the development board I am using. If I install Debian BookWorm on this board, I anticipate that it won't be able to boot.

Please Log in to join the conversation.

More
3 years 3 months ago #276074 by andypugh

Ubuntu requires a subscription for the RT kernel. Please use Debian Bookworm per these instructions
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html

Compiling from source is not required.
 
I don't think that these instructions result in having access to gpiomem?

On the Pi that I am on now there is no /dev/gpiomem visible, and that is relied on by hal_pi_gpio.

I am 90% sure that this machine was built using these rules, but can you check for that device on your config?
 

Please Log in to join the conversation.

More
3 years 3 months ago #276075 by tommylight

1、 uname -a
Linux ubuntu 4.14.87 #1 SMP PREEMPT Mon Jun 19 19:21:00 CST 2023 aarch64 aarch64 aarch64 GNU/Linux

 
Is aarch64 a RPI architecture? Never seen that for RPI, but at the rate they are changing hardware maybe something changed?

Please Log in to join the conversation.

More
3 years 3 months ago #276107 by rodw
Please advise what your hardware is. As Tommy observed, it does not appear to be a pi which show up as ARM64..
The kernel you have used seems to be very old. 

Please Log in to join the conversation.

More
3 years 1 month ago #280052 by MakerYang
This issue with the device has been resolved. I will share the refined solution later on.

Please Log in to join the conversation.

More
2 years 2 weeks ago #312219 by sameedansar
Could you please explain how to download linuxcnc 2.9 on ubuntu 20.04? The whole process if possible

Please Log in to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum