Run OpenPLC on RT-Linux:

There has long been a Linux real-time side-project which develops and maintains realtime extensions to the Linux kernel. Hard real-time kernel options available as a patchset from the Linux RT project.

For details: https://wiki.linuxfoundation.org/realtime/start

To run OpenPLC on RT-Linux, perform the following:

  1. Follow the instructions in this link to run OpenPLC on RT-Linux.
  2. After replace the RT-kernel into Debian image by reference to: https://doc.rvspace.org/VisionFive2/SW_TRM/VisionFive2_SW_TRM/adding_new_file%20-%20VF2.html.
  3. Install the OpenPLC runtime. It’s recommend to run CPU in highest frequency by run: ‘echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor’ to achieve optimal system performance.