Real-time kerel not detected on patched 6.12

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
12 Jan 2025 03:05 #318733 by rodw

For Raspberry I think following this guide should help: github.com/by/RT-Kernel

Only after git clone, download this patch:
forum.linuxcnc.org/media/kunena/attachme...ernel-realtime.patch
Then enter the Linux folder and enter: git apply ../sys-kernel-realtime.patch
After make menuconfig make sure that these are also selected:
forum.linuxcnc.org/38-general-linuxcnc-q...6-12?start=10#315643

This does not work in all build environments. I think Cornholio is correct

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

  • cornholio
  • cornholio's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
12 Jan 2025 04:53 #318738 by cornholio
Replied by cornholio on topic Real-time kerel not detected on patched 6.12

Like you assumed before I think those patches indeed didn't make it to the mainline kernel, but those are not needed to make a fully preemptible kernel.

The sysfs patch is only needed because LinuxCNC checks that indicator. Later I saw that the source of Raspberry also already has the arch_supports_rt in the kconfig.
 

Whilst it does have that it's not the correct value.....from the required patch I've used with 6.1.69
config ARCH_SUPPORTS_RT
-    bool
+    def_bool y
 

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

Time to create page: 0.069 seconds
Powered by Kunena Forum