NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Realtime

From Texas Instruments Wiki
Jump to: navigation, search

While developing a Linux based Embedded Processing system, the question often comes up if real time behavior is necessary and if yes, how Linux behaves regarding this. This page will collect infos and resources regarding Linux and real time, most of them not-device specific, some are.

Linux real time resources[edit]

Real-time solutions for Linux[edit]

Over time several solutions have been developed to improve the real-time behavior of Linux. While each one has certain pros and cons (probably depending on the application scenario) there are only a few that are still in active development and have reached a critical mass. RT-preemption patch, Xenomai and RTAI are some of the well known efforts while currently only the first one is making major efforts to get integrated into the mainline kernel. For details about RT-preemption patch development and status it is recommended to visit the RT Wiki and/or follow the developer list (rtlist-at-vger).

The RT-preemption patch development is an active project of the OSADL organization (Open Source in Automation Development Lab). This organization is hosting a farm of processor boards with different architectures from different vendors on their web. All of the boards run a kernel with Linux and the RT-preemption patch. The resulting test data may be viewed online in tables and plots.

RT Linux on AM3517[edit]

As an example for a Cortex-A8 architecture a TI AM3517 EVM running 2.6.33.7-rt29 can be seen on the OSADL web.

-rt on DaVinci[edit]

Patches[edit]

With recent ARM Linux git DaVinci kernel (2.6.23-davinci1 as of writing this article) -rt patch patch-2.6.23-rt1.bz2 applies cleanly. Thanks to Kevin Hilman (ignore back port discussion there, it is outdated) all necessary preparation in DaVinci tree is already done.

Note: If you like to use patch-2.6.23-rt1, you need one additional patch:

Configuration[edit]

If -rt patch is applied, configure your kernel and additionally select


Davinci rt config.jpg


Real-Time Preemption mode in Kernel features sub menu (should be enabled by default if -rt is applied).

Then you can go on as you do with a "normal" kernel and build it.

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Realtime here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Realtime here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Realtime here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Realtime here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Realtime here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Realtime here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Realtime here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Realtime here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Realtime here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity