Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.06 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.06 KB

PREEMPT_RT patch the Raspberry Pi 3B kernel

Useful links for RT patching the kernel:

Tested on kernel 6.1.77 and Raspberry OS Bookworm (link to exact version).

The linux/ contains a submodule with the kernel code already patched (even if it's quite easy to do yourself). You can pull the contents by cloning with --recurse-submodules --shallow-submodules (second option is there to avoid pulling the full kernel repo, which is big).

Cross compile the kernel following the indications in the second link. Remember to configure full real-time capabilities with menu_config before compilation.

Installation

Transfer linux folder as follows:

rsync -avuzh -e ssh linux/ alle@rpi0:rtpi/linux/

Remember to append dwc_otg.fiq_enable=0 dwc_otg.fiq_fsm_enable=0 to /boot/cmdline.txt

Run the install.sh script.