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

More
23 Jul 2023 09:45 - 06 Sep 2023 13:05 #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.

 

The real-time performance is very poor.

 

How should I proceed?
 
Attachments:
Last edit: 06 Sep 2023 13:05 by MakerYang.

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

More
23 Jul 2023 09:49 #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 or Create an account to join the conversation.

More
23 Jul 2023 10:34 #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 or Create an account to join the conversation.

More
23 Jul 2023 12:30 #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 or Create an account to join the conversation.

More
23 Jul 2023 13:09 #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 or Create an account to join the conversation.

More
23 Jul 2023 14:23 #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?
 
The following user(s) said Thank You: rodw

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

More
23 Jul 2023 14:29 #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 or Create an account to join the conversation.

More
23 Jul 2023 20:24 #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. 
The following user(s) said Thank You: tommylight, MakerYang

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

More
06 Sep 2023 05:08 #280052 by MakerYang
This issue with the device has been resolved. I will share the refined solution later on.

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

Time to create page: 0.440 seconds
Powered by Kunena Forum