Live data from Hacker News

List of Open Source Real-Time Operating Systems

osrtos.com

21–30 of 44 posts

Re: List of Open Source Real-Time Operating Systems

#21
post #19
post #18

Earlier quoted context omitted.

For some use cases, a Beaglebone black can allow for "real" real time while running Linux. It has two microcontrollers (PRU) that share memory with the main ARM cores. So if the real time part can be satisfied by the PRU, it's a neat solution.

Same idea as linux-rt "hard realtime": Reserve a processor (doesn't matter if it's the same chip or architecture or not). The issue with this is precisely the shared memory. If Linux can interfere with the PRU, then there's no assurance. This breaks hard realtime: No assurance that the system will react timely in a certain way to a certain event.

It does work well enough to, for example, drive large LED display boards, emulate old video cards, processing audio, etc. Things that don't work well with traditional soft rt-linux. I'm sure, as you say, that it isn't good for all use cases.

Re: List of Open Source Real-Time Operating Systems

#22
post #21
post #19

Earlier quoted context omitted.

Same idea as linux-rt "hard realtime": Reserve a processor (doesn't matter if it's the same chip or architecture or not). The issue with this is precisely the shared memory. If Linux can interfere with the PRU, then there's no assurance. This breaks hard realtime: No assurance that the system will react timely in a certain way to a certain event.

It does work well enough to, for example, drive large LED display boards, emulate old video cards, processing audio, etc. Things that don't work well with traditional soft rt-linux. I'm sure, as you say, that it isn't good for all use cases.

Yes, it has its uses but ultimately it is not hard realtime.

Hard realtime is all about guaranteeing deadlines. If Linux (which is not and will never be high assurance due to its TCB size) can interfere with guaranteeing deadlines, then it's only soft realtime.

Re: List of Open Source Real-Time Operating Systems

#23

Love this page. After wanting to try something other than FreeRTOS, and having been frustrated with very public projects RIOT and Zephyr, I found TNEO from this page and have used it successfully in multiple gadgets. Still very happy with it.

What have been your problems with RIOT and Zephyr?

I'm currently evaluating what to use for the next project, any insight would be good.

Re: List of Open Source Real-Time Operating Systems

#27
One way to deal with the many available operating systems is to use OSAL. It's an abstraction layer for embedded OS (and POSIX). Admittedly I have mixed feelings about it since it creates work when debugging in a new OS: you need to trace which OS call OSAL is using.

Re: List of Open Source Real-Time Operating Systems

#28

Is TI-RTOS really not in development? It's the OS TI gives you when you download their tools. TI is weird, they have their own C compiler.

What was the licence? Did you have to run it on TI parts or something?

BSD license according to this: http://www.ti.com/tool/TI-RTOS-MCU#descriptionArea

It does compile with gcc, but I don't trust it with gcc. At least with TIVA TM4C processors, it would not boot. I suspect they don't test with gcc as well as with their own compiler.

Post reply on HN