PREEMPT_RT setup

  • PREEMPT_RT is delivered as a patch against the mainline kernel
    • Best to have a board supported by the mainline kernel, otherwise the PREEMPT_RT patch may not apply and may require some adaptations
  • Not all releases of the Linux kernel are supported. Most recent: 3.4, 3.6, 3.8, 3.10, 3.12, 3.14, 3.18, 4.0, 4.1, 4.4, 4.6
  • Quick set up:

  • In the kernel configuration, be sure to enable

    • CONFIG_PREEMPT_RT_FULL
    • High-resolution timers
  • Compile your kernel, and boot
  • You are now running the real-time Linux kernel
  • Of course, some system configuration remains to be done, in particular setting appropriate priorities to the interrupt threads, which depend on your application.

results matching ""

    No results matching ""