Hi,
Thank you Alan for the original instructions, I have learned a lot from this post in the three days.
--
I got stuck: my kernel is SMP PREEMPT rather than SMP PREEMPT_RT.
I am Be Hai from Melbourne, Australia. I would like to learn LinuxCNC. Presently I know nothing about CNC or LinuxCNC.
I am a computer programmer. I am familar with Linux, and a tiny bit familar with Raspberry Pi 4 Model B: I have been learning basic physical computing with it, using the Python language.
I have spent more than a week learning about LinuxCNC, particularly how to install it onto a Raspberry Pi 4 Model B.
I spent the last three days exercising the instructions kindly posted by Alan.
⓵ I am using a clean and fresh
Ubuntu 24.04.1 LTS (Noble Numbat) machine to do the build.
( I first started with
Ubuntu 22.10 (Kinetic Kudu) and I went nowhere with this EOL version. )
⓶ The command
```
make RASPIOS_IMAGE_NAME=raspios_full_arm64
```
produces
raspios_lite_arm64-Pi5.zip. I burnt this image into my Pi 4 anyway. And I have managed to get as far as to section
2.6 Install Mesaflash. There are error in between but I managed to find solutions for them.
LinuxCNC was installed, but I could not run it since there was no desktop.
⓷ Based on the instruction given in
github.com/remusmp/rpi-rt-kernel
I replaced ```make RASPIOS_IMAGE_NAME=raspios_full_arm64``` with:
```
sudo make Pi4
```
This command produces
raspios_lite_arm64-Pi4.zip. Applying this image, the kernel information reports only
SMP PREEMPT:
```
uname -a
```
Output:
```
Linux picnc 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
```
```
cat /proc/version
```
Output:
```
Linux version 6.6.31+rpt-rpi-v8 (serge@raspberrypi.com) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29)
```
⓸ Interestingly, if I use 'Raspberry Pi OS (other)' from Raspberry Pi Imager as shown:
Then select:
```
Raspberry Pi OS Full (64-bit)
A port of Debian Bookworm with desktop environment and recommended applications.
Released: 2024-07-04
Online - 2.8 GB download
```
I also have the exact same kernel, but also with the desktop.
I am taking a break... I will try again to get RT going.
Thank you.
...behai.