rPLC Home rPLC

    How to use PREEMPT_RT kernel on a Coupler

    Step by step instructions for using PREEMPT_RT kernel on a Coupler
    • Last Update:2025-01-13
    • Version:001
    • Language:en

    Agenda

    • Setup PREEMPT_RT kernel on a rPLC coupler

    Requirements

    • rPLC coupler

    Goal

    At end of this how to you will learn how to install a PREEMPT_RT kernel on a rPLC coupler

    Setup PREEMPT_RT kernel on a rPLC coupler

    We already provide a fully configured and optimized kernel for rPLC. Please follow this instructions to install the kernel on your rPLC coupler.

    root@stm32mp1-olinuxino-lime:~# git clone https://lab.nexedi.com/nexedi/osie.git
    root@stm32mp1-olinuxino-lime:~# cd osie/kernel
    root@stm32mp1-olinuxino-lime:~/osie/kernel# dpkg -i *.deb
    root@stm32mp1-olinuxino-lime:~/osie/kernel# cp stm32mp1xx-olinuxino-lime.dtb /usr/lib/linux-image-5.15.49-rt47

    Finally restart your rPLC coupler. Your new kernel will be used after the restart. You can very by this command (check for "PREEMPT_RT" string in it).

    root@stm32mp1-olinuxino-lime:~# uname -a
    Linux stm32mp1-olinuxino-lime 5.15.49-rt47 #1 SMP PREEMPT_RT Wed Sep 25 14:13:10 CEST 2024 armv7l GNU/Linux