|
|
Subscribe / Log in / New account

Linux recommended / compatible RTOS

Linux recommended / compatible RTOS

Posted Sep 3, 2014 0:47 UTC (Wed) by pizza (subscriber, #46)
In reply to: Linux recommended / compatible RTOS by tdwebste
Parent article: Kernel tinification

> I am going to assume the simple statement is true.
> "Linux can not run in the confined flash and ram of cortex-M0 and cortex-M4 ARM processors."

It depends entirely on how much RAM and flash those parts have.

Many of these Cortex-M processors support the use of external RAM and flash. Those that do are generally capable of running uClinux; in particular there's mainline support for at least some of the EFM32 parts.


to post comments

Linux recommended / compatible RTOS

Posted Sep 3, 2014 2:57 UTC (Wed) by tdwebste (guest, #18154) [Link] (1 responses)

I was hoping the discussion was NOT going to revolve around whether Linux can be shoe horned into cortex m0, m4 ARM processors.

cortex m0 processors are in extremely price sensitive markets, which makes external flash very undesirable. These processors usually have under 512k flash and 64k ram.
cortex m4 processors maybe able to run Linux. But there is many reasons not to. The main being the m4 and m0 are often performing similar applications. Applications that often need to be compiled without unused file system and networking support to reduced flash and ram requirements.

Currently running the same OS on cortex m0 and m4 ARM processors makes the most since.

It is increasingly common for a cortex-m0/4 to be connected by pcb/usb/serial bus to a more powerful ARM processor running Linux. The imx6 is a example combining ARM Cortex-A9 and Cortex-M4 cores.

Back to my original question.
Recommended opensource Linux compatible RTOS?
Compatible: Event queue, Asynchronous message queue, mailbox intercommunication.

Linux recommended / compatible RTOS

Posted Sep 3, 2014 11:31 UTC (Wed) by pizza (subscriber, #46) [Link]

> These processors usually have under 512k flash and 64k ram.

Indeed, 512/64 is actually a pretty high-end part.

> Recommended opensource Linux compatible RTOS?
> Compatible: Event queue, Asynchronous message queue, mailbox intercommunication.

In short, such a thing does not exist, at least not if you're looking to be API-compatible with Linux. Or even behaivorally-compatible.

Come to think of it, eCOS may be the closest, but by the time you enable all the nice APIs and features the RAM/Flash requirements are such that you may as well be running uClinux.

nuttx is pretty full-featured too at this point, and RTX has been freed by ARM and is actually bundled with CMSIS these days. Personally, I'm particularly fond of FreeRTOS, but it's fairly bare bones in comparison to the others.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds