osless.net
Welcome to the limit.
Code where there is no operating system.
Build bare-metal runtimes, hold state in flash or memory, and check the result against emulators, host runners, and real boards. No kernel, no database, no hidden layer between the code and the machine.
01 / why
Why the limit
An operating system is a negotiation with hardware you did not write. Remove it and the negotiation becomes code: visible, measurable, and yours to verify.
-
The abstraction tax ends.
Every syscall, driver, and scheduler is a layer you did not measure. At the limit, the path from an instruction to a device is the path you wrote. Fewer layers mean less code between cause and effect.
-
Hidden state gets an address.
Memory maps, flash pages, registers, and timing stop being implementation details. State has a location, a lifetime, and an owner. That makes it inspectable, and it makes it possible to corrupt.
-
Recovery is a design decision.
There is no service manager to restart. Reset vectors, watchdogs, fallback images, and power-loss behavior are part of the architecture. They are tested like everything else.
-
Verification is the artifact.
A binary that boots once proves little. A repeatable build, a fixed toolchain, a recorded trace, and a reproducible failure are what make a claim about the system.
CostThe limit is not a virtue by itself. You own the boot sequence, the linker script, the recovery path, and the evidence. That ownership is the work.
02 / focus
Focus areas
Four surfaces, one machine. The work crosses them because a boot image, a state format, and a test harness fail together.
-
Bare-metal execution
Bootloaders, reset vectors, linker scripts, freestanding and no_std runtimes, and firmware that owns the machine from the first instruction.
-
Direct state and storage
Memory-mapped I/O, flash layout, wear, atomic records, and deterministic formats. State lives at an address, not behind a query layer.
-
Reproducible checks
QEMU, Renode, host-side harnesses, logic analyzers, and hardware-in-the-loop. Same image, same inputs, same observed state.
-
Open record
Design proposals, target manifests, toolchain pins, and the failures that shaped them. The record travels with the artifact.
The work starts small: 8- and 16-bit microcontrollers, Cortex-M, RISC-V, application-class x86-64, and emulated platforms. The target manifest carries the details.
03 / start
Start here
The first useful contribution is a reproducible failure, not a feature.
-
Pick a minimal target.
Choose a board or emulator with a documented memory map and an observable reset. A target small enough to hold in one head is a target you can verify.
-
Make the build repeatable.
Pin the toolchain. Record the commit. Hash the image. If two machines do not produce the same bytes, fix that before writing more code.
-
Write the reproduction.
An issue or RFC names the target, the toolchain, the commit, the command, the expected state, and the observed state. Attach the smallest image that shows the difference.
-
Contribute a target, a test, or a note.
A target manifest, a boot log, a failing vector table, a corrected linker script, or a paragraph that saves the next person a day.
Reproduction record
target: qemu-riscv64-virt
toolchain: <compiler and version>
commit: <sha>
command: make run
expected: reset at 0x80000000; uart prints "ok"
observed: reset at 0x00000000; no uart output
image: sha256:<digest>