====== Installing a Real-time Kernel to the ComfilePi ====== Beginning with the Bookworm OS, it is now possible to easily install a real-time kernel to a ComfilePi panel PC. Simply follow the following procedure: - Run ''sudo apt update'' followed by ''sudo apt full-upgrade'' to ensure you've updated your software packages to the latest releases. - Reboot to ensure everything is still operating as expected. - Run ''sudo apt install linux-image-rpi-v8-rt'' to install the real-time kernel package. - Add the lines ''kernel=kernel8_rt.img'' and ''arm_64bit=1'' to the ///boot/firmware/config.txt// file. - Reboot - Upon rebooting run ''uname -a'' and ensure it outputs "PREEMPT_RT". If it does, the ComfilePi panel PC is running the real-time kernel. To switch back to the ordinary kernel, simply comment out the ''kernel=kernel8_rt.img'' line in the ///boot/firmware/config.txt// file. To better utilize the features of the real-time kernel in your solution, see [[:comfilepi:improving_real-time_performance:index|improving real-time performance]]. [[:comfilepi:index|Back to ComfilePi]]