Skip to content
Antonio Giacomelli edited this page Jan 31, 2026 · 378 revisions

RK0: The 'Real' Real-Time Kernelimage

The Docbook is the place to find what RK0 is on about.


RK0 is unapologetically embedded real-time .

It acknowledges (or has not forgotten) the processs/thread abstraction, and the software design approach inherited from general purpose systems has 'time' as an afterthought. Conservative policies make Response-Time-Analysis easier. A (comprehensive) set of modular services – some quite distinctive – are tailored for concrete real-time demands.


Questions

Q: Why there is no release yet?

A: A release is serious stuff. It will exist when:

  • The system is characterised consistently.
  • A seamless test harness for eventual contributors can be pushed;
  • and a CI can be pushed.

Note

Expect v0.x.x for a long time, or maybe jump-in to collaborate.

Q: I heard not splitting user-space from kernel-space is bad, lame, last-week, toy-kernel, DOS-like. What you would say?*

A: First, to get some real-time literacy (Buttazzo, Bertolotti, Kopetz, etc.).

Second, not every chip RK0 supports has an MPU. Why? Because there is a demand for them. And I ensure they are not coffee-machines - they are controlling loops on plant floors. (not running what should be handled by a moderately small, MMU equipped device running a a tailored OpenBSD)

Yes, Privilege levels are still allowed with no MPU. But not because it 'makes sense'. It is because tweaking an architectural feature that depends on the existence of an external co-processor is unfeasible.

An MPU can be extremely useful - it is a Memory Firewall. But it is not free: it has impact on determinism and jitter, coarse memory utilisation, not just on raw performance. Knowing when not to use it is also engineering.

Going further: Safety/security standards (IEC 61508, ISO 26262, DO-178, etc.) with regard to RK0:

  • As stated, RK0 links altogether into a single image**. It is application-specific, hardware-dependent.

  • A firmware update is updating the entire image. There is no 'hosted application'.

A system employing an RT-Executive like RK0: small codebase, static configuration bias, and strictly bounded behaviour, has gains for a certification process: these characteristics make analysis, testing, and traceability simpler. Even formal proofs would be made easier.


Clone this wiki locally