Re:Nerves – Craft and deploy bulletproof embedded software i...
by X4lldux on Wednesday April 25, 2018 @09:43AM
(#16921423)
Project looks very interesting! What hardware is supported? I've seen you product your own prototype board, but what about some off the shelf opensource openhardware solutions like BeagleBone Black or NextThing's CHIP?
Re:Nerves – Craft and deploy bulletproof embedded software i...
by peerst on Wednesday April 25, 2018 @03:46PM
(#16925325)
RTEMS supports all 32bit hardware architectures. We also run it on a PowerPC controler for a customer project, but it also runs on Sparc, Mips all Arm and many other architectures.
We don’t use the MMU so we don’t need it, some embedded chips have even small MMUs that allows it running Linux size OS but since they have very small translation lookaside buffers it needs to traverse the in RAM page table very often and performance is quite poor then
Re:Nerves – Craft and deploy bulletproof embedded software i...
by e_proxus on Wednesday April 25, 2018 @10:09AM
(#16921631)
Thanks!
Right now only the GRiSP board is officially supported, although the project is made in such a way that new platforms should be easy to add.
We're deliberately focusing on smaller platforms than the ones you mentioned. If a small Linux kernel can fit together with Erlang, you don't really need the RTEMS combo as much. That being said, we're happy to receive any contributions for other platforms, even larger ones!
Our main difference is as you say, that we combine Erlang with RTEMS to make the Erlang VM essentially be the kernel (no Linux running underneath). This let's us use Erlang's inherent soft real-time properties more reliably and allow us to do more hard real-time things.
Our low-level drivers for accessing hardware are written in C, and high level drivers are written in Erlang (for development speed, readability, testability, line count etc.) but can of course be written in C if you need the performance.
I'd be happy to take questions about the project.