ferros
xous-core
ferros | xous-core | |
---|---|---|
9 | 12 | |
102 | 508 | |
1.0% | 1.8% | |
0.0 | 9.9 | |
9 months ago | 5 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ferros
-
Unix-like OS in Rust inspired by xv6-riscv
My company, https://www.auxon.io. We created https://github.com/auxoncorp/ferros originally to enable a customer project early in the company's life cycle.
Some time later we had another customer interested in using it and having us add some features to it (e.g. some device drivers and a persistence layer utilizing https://docs.rs/tickv/latest/tickv/). It was becoming a massive pain in the neck to work out source code sharing agreements with them, so we decided to just open source it.
There are quite a number of things that we would do differently if we had to build it again, and at some point will likely do that work to revise it. The biggest one of those is root task synthesis. The other is to build and bring in facilities for running tasks that are compiled to WASM.
-
Writing an OS in Rust to run on RISC-V
When we add WASM support to https://github.com/auxoncorp/ferros it'll sorta be like what you're angling at there in your description.
-
My Fear of Commitment to the First CPU Core
We've built things on seL4 (https://github.com/auxoncorp/ferros). We like to joke that it's the most perfect piece of nearly featureless software ever made.
There's... A LOT... of work to do before seL4 is going to be anywhere near usability parity with something like Linux, unfortunately.
Rather than make a general purpose OS, we decided to use it more like a unikernel or "library OS" where you're trying to make a well defined kind of "appliance" image to deploy to specific hardware rather than try to fake being a POSIX-y shaped OS.
-
FerrOS: Rust-y unikernels on seL4
For what it's worth, here's FerrOS's repo as well as the underlying selfe repo
-
Tokio Console
That's basically what we did with https://github.com/auxoncorp/ferros, Bundle Rust programs together as tasks to run atop the formally verified seL4 microkernel.
-
Hubris – An OS from Oxide Computer
We also built a Rust framework called FerrOS (https://github.com/auxoncorp/ferros) atop the formally-verified seL4 microkernel.
It has a similar set of usage idioms to Hubris it looks like in terms of trying to setup as much as possible ahead of time to assemble what's kind of an application specific operating system where everything your use case needs is assembled at build-time as a bunch of communicating tasks running on seL4.
We recently added a concise little persistence interface that pulls in TicKV (https://docs.tockos.org/tickv/index.html) from the Tock project you referenced above, and some provisions are being added for some more dynamic task handling based on some asks from an automotive OEM.
-
Genode – Sculpt Operating System 21.10
We built a thing to enable combining Rust applications together to be hosted on the seL4 microkernel. The developer experience is more akin to that of something like an RTOS where the OS and your applications are built and deployed together. The whole premise of it is decidedly non-POSIX-like. The current point is for assembling software for use-case-specific/appliance computing, not general purpose computing. (https://github.com/auxoncorp/ferros)
We're looking both for contributors and also actively hiring for a couple engineering positions for the above and for or mainline product.
-
OSv Unikernel – Optimizing Guest OS to Run Stateless and Serverless Apps
I tried and failed to bring unikernels to my former work when I was at Visa. Specifically, LING.
At my current company, Auxon, we recently open sourced[1] some work we did a couple years back which is more or less an attempt at the basic foundations for blending the seL4 microkernel with fairly normal no_std Rust application development and assembling them all together to make a purpose built OS/application to deploy directly to hardware or within a VM. We have some work to do to keep building it up as a foundation for broader use, but we're looking into partnering with the seL4 Foundation (now under the Linux Foundation) to iterate on it further with some of our other mutual partners. The developer experience is much closer to that of developing for an RTOS than it is like typical general purpose computing development.
I'm of course biased, but I think there's a lot of room to innovate in the space of use case specific software stacks where the domain and constraints are well understood and too many degrees of freedom are actually a hindrance and a liability, not an advantage.
[1] https://github.com/auxoncorp/ferros
-
Open sourced: Easier builds and stronger types for seL4 with Rust
On top of that is ferros (no relation to to ferrous-systems), a higher-level userland of unreasonably strong types for compile-time resource tracking. No more discovering you need more memory, or capability slots or IPC rights at runtime. These types help you fit the right seL4 screw to the right seL4 screwdriver.
xous-core
- Rust 1.72 seems to optimize away security checks
-
Writing an OS in Rust to run on RISC-V
Xous, the OS that runs on the precursor, may be of interest to look at too:
https://github.com/betrusted-io/xous-core
It is written in Rust and is targeted for a RISC-V
-
Is there any reliable guide for creating an operating system in Rust?
In addition to phil-opp and redox, there's the Betrusted project's Xous kernel, which runs on a RISC-V core that runs on an FPGA. There's even an Xous Book.
- How can I call cargo commands from rust?
-
Another Vulnerability in the LPC55S69 ROM
You might be interested in Precursor and the Betrusted Platform.
https://www.crowdsupply.com/sutajio-kosagi/precursor
They are trying to have an hardware platform that can be inspected and it is based on an FPGA with a RISC-V Softcore.
Its by Bunnie, and he great talks about the choices and why he made them:
Keynote: Precursor - Trustable Open Hardware for Everyday Use - Bunnie Huang (https://www.youtube.com/watch?v=Fw5FEuGRrLE)
They are also doing their own Rust Message passing OS called Xous that might be of interest.
https://github.com/betrusted-io/xous-core
-
C Isn't A Programming Language Anymore - Faultlore
As for privacy and safety of people, https://github.com/betrusted-io/xous-core/issues/57 way past 1.0. Imagine that. Heh.
-
Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility
There are more good efforts, the BeTrusted guys are working on Xous, its a microkernel for a phone like device called the Precurser.
https://github.com/betrusted-io/xous-core
As a embedded service processor OS for a big server rack, Oxide Computer is working on 'HubrisOS'. They seem to have not released it yet, but that will be open sourced.
https://github.com/oxidecomputer
Those are two efforts where I know real resources are going into.
- Xous: Secure Microkernel in Rust
- xous: Secure microkernel in Rust
What are some alternatives?
nanos - A kernel designed to run one and only one application in a virtualized environment
pico-bootrom
hubris - A lightweight, memory-protected, message-passing kernel for deeply embedded systems.
NoProto - Flexible, Fast & Compact Serialization with RPC
Trusted-CGI - Lightweight runner for lambda functions/apps in CGI like mode
headcrab - A modern Rust debugging library 🦀
rust - Empowering everyone to build reliable and efficient software.
carnet - A Tool for Sandboxing Cargo and Buildscripts
tracing - Application level tracing for Rust.
osv - OSv, a new operating system for the cloud.
console - a debugger for async rust!
kerla-demo - ssh://demo.kerla.dev