Real time kernel for Raspbian PI 4 4GB
09 Mar 2021 00:33 #201506
by Temo
Real time kernel for Raspbian PI 4 4GB was created by Temo
Hello
I'm new to both Raspbian PI and LinuxCNC so I'm a bit confused (reading to many post's I think), are the real-time kernels included in the official build: LinuxCNC 2.8.1 Raspberry Pi OS based on Debian 10 Buster? As I understand you get both the OS and LinuxCNC bundled in one install package. I vill be running the small Open Builds Mini Mill CNC Machine, just to learn a bit CNC.
Regarding the official release of the 64 bit os for the PI 4, how much gain would it give me for real-time running (keeping up with the g-code), and if I go the 64-bit route will I be even better off with an usb ssd drive( maybe for the 32 bit version to)? Have anyone tried running a M.2 2280, PCIe 3.0 x4, NVMe or is it not possible to run a pcie device on the PI 4 yet? I guess this is a little over my head: www.hackster.io/news/pci-express-on-the-...ry-pi-4-9b03c59f7a04
Are there any advantage using Debian insted of Raspbian and if so what version would be preferred? I will only use the PI for LinuxCNC.
Terje
I'm new to both Raspbian PI and LinuxCNC so I'm a bit confused (reading to many post's I think), are the real-time kernels included in the official build: LinuxCNC 2.8.1 Raspberry Pi OS based on Debian 10 Buster? As I understand you get both the OS and LinuxCNC bundled in one install package. I vill be running the small Open Builds Mini Mill CNC Machine, just to learn a bit CNC.
Regarding the official release of the 64 bit os for the PI 4, how much gain would it give me for real-time running (keeping up with the g-code), and if I go the 64-bit route will I be even better off with an usb ssd drive( maybe for the 32 bit version to)? Have anyone tried running a M.2 2280, PCIe 3.0 x4, NVMe or is it not possible to run a pcie device on the PI 4 yet? I guess this is a little over my head: www.hackster.io/news/pci-express-on-the-...ry-pi-4-9b03c59f7a04
Are there any advantage using Debian insted of Raspbian and if so what version would be preferred? I will only use the PI for LinuxCNC.
Terje
Please Log in or Create an account to join the conversation.
09 Mar 2021 21:34 #201603
by andypugh
Yes. Just download the file Pi Imager app from Raspberry Pi:
www.raspberrypi.org/software/
Then download this .iso file:
www.linuxcnc.org/iso/linuxcnc-2.8.1-pi4.zip
And use the app to put the iso onto a µSD card.
Replied by andypugh on topic Real time kernel for Raspbian PI 4 4GB
I'm new to both Raspbian PI and LinuxCNC so I'm a bit confused (reading to many post's I think), are the real-time kernels included in the official build: LinuxCNC 2.8.1 Raspberry Pi OS based on Debian 10 Buster?
Yes. Just download the file Pi Imager app from Raspberry Pi:
www.raspberrypi.org/software/
Then download this .iso file:
www.linuxcnc.org/iso/linuxcnc-2.8.1-pi4.zip
And use the app to put the iso onto a µSD card.
Please Log in or Create an account to join the conversation.
10 Mar 2021 23:11 #201748
by Temo
Replied by Temo on topic Real time kernel for Raspbian PI 4 4GB
Thank you, I will
Please Log in or Create an account to join the conversation.
02 Jun 2023 16:36 #272751
by COFHAL
Replied by COFHAL on topic Real time kernel for Raspbian PI 4 4GB
For some reason when updating my PI4, I changed the KERNEL to a more recent version 5, but not the Preempt-RT kernel, now logically LCNC does not work with MESA cards, I have not found a way to reinstall a Preempt-RT version kernel. Someone could help me?
Please Log in or Create an account to join the conversation.
10 Jun 2023 18:21 #273279
by andypugh
Replied by andypugh on topic Real time kernel for Raspbian PI 4 4GB
I am not sure how much things have changed since this thread started but "sudo apt-get install linux-image-rt" might work.
Please Log in or Create an account to join the conversation.
10 Jun 2023 21:22 - 10 Jun 2023 21:23 #273293
by rodw
Replied by rodw on topic Real time kernel for Raspbian PI 4 4GB
This should do it
sudo apt update
sudo apt upgrade
sudo apt install linux-image-rt-arm64 linux-headers-rt-arm64
Last edit: 10 Jun 2023 21:23 by rodw.
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds