r/osdev • u/MB_Gaming123 • 8h ago
r/osdev • u/letmehaveanameyoudum • 1d ago
I got nvme working on WindogeOS
It's not that bad compared to SATA this time π₯²βοΈ
https://github.com/NoTheIdiot/WindogeOS
r/osdev • u/Life-Seaweed-9957 • 3h ago
Ounce-Core v1.0 release
What I've been building: Imagine building a miniature, software version of a modern computer chip (the same kind of ARM64 chip inside iPhones, Macs, and cloud servers) β completely from scratch, in code β so you can run real Linux programs inside it and prove that every single calculation matches a real physical chip down to the last bit.
That's what Ounce-Core is. Instead of just trusting that a simulator "probably works," I built three different engines inside it (a careful step-by-step engine, a faster translator, and a high-speed native compiler) and wired them up to automatically check their answers against real ARM hardware.
Why what I finished today is a big deal:
It runs real everyday Linux programs β including Python. Today I got real, unmodified Ubuntu Linux tools like grep, sed, sort, awk, gzip, tar, git, and Python (running real math, JSON, and cryptography libraries) working inside my own virtual chip and Linux layer. Getting real Python to boot and run inside software you built yourself is a huge milestone.
It passed brutal, industry-standard accuracy tests. It ran Berkeley TestFloat (the gold-standard test for decimal math accuracy β zero errors across 85 test suites), 5.2 billion instructions of a real hashing library (xxHash, 49,948 tests, zero mismatches), and hundreds of tests from real open-source Rust and Arm libraries β matching real hardware bit-for-bit.
I taught it modern chip features and made it twice as fast. I added support for newer ARM chip instructions (including modern vector math used by compilers to speed up heavy loops) and cut the main engine's run time in half on a 3-billion-instruction physics benchmark.
It's officially ready for version 1.0.0. Everything is tested, documented, and locked down into a clean, stable 1.0.0 release β website, docs, and safety checks all green β ready to launch on Monday.
In short: I built a verified virtual computer chip from scratch that can run real Python and Linux programs accurately enough to match physical silicon, and I just got it across the finish line for its 1.0 release.
r/osdev • u/CtrlF0rge • 1d ago
looking for help with the scheduler
The scheduler is only just started: I have a header and a bit of code with the task definition. I'd also welcome help with memory management and other parts of the system.
.
Project features:
- microkernel written from scratch (USB, networking and disk drivers in the kernel)
- x86_64 (BIOS and UEFI), ARM64, RISC-V; x86 comes first
- boots via Limine
- Rust, C, Zig, C++ and Assembly
- the scheduler is written in C, Zig is also welcome
- GPLv3 with an exception for userspace programs and drivers
.
Contributing:
- no AI-generated code
- open a pull request with your changes
- I review what changed
- wait for it to be accepted
.
Repo: https://github.com/CTRL-F-0rg3/KosixOS
Website: https://kosixos.dev
.
About: the project grew out of experiments started in 2017 under the name LightOS. Kosix OS is the target system, built from a clean slate, not another experiment.
.
By the way, I didn't know that reddit supports markdown until recently, I just read about it
r/osdev • u/HopefulCarry8357 • 1d ago
[Progress Update] 31 days building HELLCORE OS
reddit.comr/osdev • u/Healthy_Meeting8020 • 1d ago
Custom OS
Heyo so I'm interested in starting a long-term project called (nam of OS which I haven't decided yet) OS.
My vision is to eventually build an Android-based operating system with its own UI, system-level customizations, performance optimizations and AI integration. I'm also interested in exploring the possibility of developing an independent OS in the distant future.
I currently own an Acer Iconia iM11-22M5G (MediaTek 8791T, 8GB RAM), which initially inspired this idea because of its uncertain Android update situation.
However, I want to approach this seriously rather than blindly experimenting.
I don't have sufficiently powerful hardware or the budget to afford repeated failed builds and Experiments. I'd therefore like to connect with someone experienced in:
- Android Open Source Project (AOSP)
- Linux/Ubuntu development
- Linux kernel development
- Android device trees, HALs and bootloaders
- Custom ROM development
I'm particularly interested in finding an experienced collaborator or mentor who can help evaluate the technical feasibility and guide the project.
I'm willing to contribute to research, planning, UI/UX design, documentation and development wherever I can.
I'm not expecting someone to do all the work for me. I want to learn, collaborate and build something meaningful over time.
If you've worked on Android ROMs, Linux distributions or OS development, I'd genuinely appreciate your advice.
Thanks!
r/osdev • u/Ruby7659_OSDV • 23h ago
Rust?
Lately, many people have started using Rust in osdev(and any branch of programming) like fools. Who would use Rust when C is available? It's complete foolish.
Most of these people already know the most about osDev, which is opening Claude AI and saying "make me an OS".
r/osdev • u/MB_Gaming123 • 2d ago
Update on the OS, Serial now works!
Now I have serial working, a minimal but working libc and libk.
So happy rn.
r/osdev • u/paulkim001 • 2d ago
Basic OS, but with my own compiler
After creating a compiler for my own custom programming language, I decided that it is only natural to try creating an operating system out of it! (The image here is from my work in `dev` branch.)
Note that I am still using i686-elf-gcc as a linker, since linker is an awful thing to make for myself :(
Github - Penux (Operating System)
Github - PP (The PP language compiler)
r/osdev • u/flamecoals • 2d ago
Graphic Debian userspace running on Fuchsia (starnix)
r/osdev • u/Later1842 • 2d ago
Panuti 0.4: Pint rework, Install to disk, + more
github repo: https://github.com/chair1842/panuti
i feel so relieved finally releasing 0.4. this took longer than my last releases, at least that's what it felt like. i spent so much time on the pint rework, aughh gosh.
anyways:
Since 0.1 up to 0.3, Pint was untouched, a simple mount the cd and run the shell, but i knew that pint wasn't where i wanted it to be or where it was supposed to be.
Then i reworked pint, pint in it's current state is now a init + service supervisor. It gets target files from /dkr/pda/pint/targets and then builds a dependency graph.
Pint uses the graph to startup and shutdown the os. /dkr (before /cd) is mounted before startup by pint, pata first, if nonexistant, then cd.
As you can see from that, theres a bunch of text at bootup and shutdown. its pint status.
pretty cool no?
Now that /dkr was in place and the os didnt assume the os booted from a cd, i could now do install to disk.pinstall (the install app) writes an mbr to the disk, installs grub there, formats the new partition to ext2, then copies the files in the cd environment to the disk, only the specific ones needed for panuti to boot and work properly.
pinstall uses ffs-ext2 to format the new partition to ext2, but the old version was fixed and not pwerful enough for pinstall, so i reworked ffs-ext2. now ffs-ext2 sizes the filesystem to the disk size with a new blkinfo syscall, and block size + bytes per inode can be adjusted.
And in the background are points, they are event nodes used for events or notifications. ive been thinking about these since before 0.1, but nothing needed them and i wass too lazy so not added.
Points can be waited on and activated, an activation means something happened. "activation" point
Adding the acpi power button point necessitated the addition of points so i added them.
Pint & pwerop are users of points, as pwerop activates the shutdown or restart points that pint provided so that pint can make things safely shutdown.
I added shebang to procreate, also script support for pur.
A ps/2 mouse device that i didnt even use at all this update and just there to add more stuff.
A bug made pinstall slow even if the disk image was in /tmp, so i fixed it.
Calc power operator
Nib counts, arrow keys, new motions + stuff
just take a look at the repo
r/osdev • u/MB_Gaming123 • 2d ago
My first OS
So happy to finally see my OS boot for the first time.
A long trip it will be until it becomes useful.
r/osdev • u/gorciu_official • 3d ago
guys my kernel runs doom!
yesterday i got my own OS kernel to run doom, so i decided to share it here idk
it is called Utopia (yeah, i know, this is a creative name) and it emulates enough of Linux syscalls (and devtmpfs) to make a lot of programs work; ones that i tested are mostly bash, cpython, doom and some other programs made by me / my friends but I am sure a lot of software I haven't tested would work too
if you want to run this thingy sadly you have to build it from source as i haven't made a release with the changes that allow for it to run sooo.... alternatively you may contact me and i'll try to upload that somewhere
github link: https://github.com/gorciu-official/Utopia (would appreciate a star btw)
okay idk what to write here, i would appreciate any feedback and that's it
I'm writing an OS from scratch in Rust for the Pi 3B+, and it now answers out loud
What I'm building: a small device with no apps. The screen shows one line of text; you tap it and talk, it answers in a sentence or two, and you put it away. Phones turned into a drawer of apps, and I wanted to see what a computer looks like when there's nothing to open. I wrote the kernel myself because I wanted to own every layer, from boot to the pixels. To be clear up front: the language model runs on a server, not on the Pi. Everything on the device is mine.
The kernel: Rust, no_std, AArch64, about two months and 34k lines. It starts at EL2, drops to EL1, turns on the MMU and caches, runs a cooperative async executor on one core, and drives a 3.5" SPI screen and a touch panel with its own drivers.
This month it started talking:
- An ESP32-S3 next to the Pi is only the radio and the audio front end. The Pi talks to it over a 3 Mbaud UART with CTS flow control, using a small framed protocol.
- TLS 1.3 runs in the kernel, so the ESP32 only ever sees encrypted bytes. Two root certificates are built in.
- The answer comes back as raw audio, 20 ms per packet. First sound is about 1.05 s after the question.
- The audio underruns came from the CPU, not the network: an SD write while speaking, and the screen pushing every pixel while the CPU waited. Moving the write after speech and switching the screen to DMA took it to 0 underruns in 17 answers.
- The wake word model (127,969 parameters) runs on the Pi itself.
Happy to go into any of it: the UART framing, the executor, the SPI DMA setup.
r/osdev • u/thepavlosp • 2d ago
Camellia: a desktop shell for Fuchsia
reddit.comCheck it out : Iβve built a floating-first window manager and compositor, and a COSMIC-style desktop around it, written in Rust and leveraging a lot of open source projects (libcosmic and COSMIC mainly)
AI π€ disclosure: this is engineered following a spec driven development process / agentic factory (design > dev > unit test > e2e test) and adversarial reviews - itβs worked well considering itβs just me working on it
r/osdev • u/CtrlF0rge • 3d ago
Is the bootloader considered part of the system?
It says that I am building the operating system from scratch, but the bootloader is used limine to relieve me of the load of booting on 3 processor architectures
r/osdev • u/BananymousOsq • 4d ago
[banan-os] 4 year update
I guess it's time for my yearly update again. banan-os is my custom unix-like operating system written completely from scratch (kernel, libc, gui). It has now been a bit over 4 years since I started the project (mid November 2022).
Since the last post I have added some new features, including:
- I wrote a portable X11 compatibility layer xbanan which allows me to run X11 programs while still using my own GUI environment. This allowed me to "easily" port gtk and webkitgtk, so I can now properly browse the web!
- I finally added everything missing for selfhosting. banan-os can now be cloned, compiled and ran using qemu all within banan-os!
- I have ported a lot of new software including mpv and gimp
- A lot of stability and performance improvements + bug fixes
Some of the major features from earlier:
- SMP
- Network stack (TCP/UDP/IPv4)
- USB stack (xHCI controller, HID devices)
- Audio (AC97, iHDA)
I have not used AI at all for the development, except a few times to find sources or to diagnose issues in large ports.
The source code can be found at https://git.bananymous.com/Bananymous/banan-os or a github mirror at https://github.com/Bananymous/banan-os.
r/osdev • u/Glum-Cook-9438 • 4d ago
TETRIS!
Tetris (now also for 64-dem!)!
Footage included.
Repo: https://github.com/itay-insert/64-dem.git
So after working on my command line UI for my 64 operating system, I coded a bunch of user applications that can run on 64-dem, some of the famous ones are:
HELLO.ELF // prints hello world!
CALC.ELF // a basic calculator for the terminal
ClOCK.ELF // a clock
CMD.ELF // the terminal itself
MEM.ELF // allocates array and prints it's address
MEMCONS.ELF // shows important kernel and memory data in a simple text viewer
And later:
WRITE.ELF // a broken text editor i made
And the greatest:
VIM.ELF // a port of vim for my os with AI assistance
But even with vim ported, I decided it's still wasn't enough, so I opened vs code a few days ago and made a bunch of new files:
tetris.cpp
pieces.cpp
graphics.cpp
collision.cpp
And so TETRIS.ELF was born;
And here I wanted to share me testing it...
Can't wait to make DOOM.ELF and CALC2.
r/osdev • u/letmehaveanameyoudum • 4d ago
WindogeOS v0.4
rewriten whole kernel π₯
also got a single xhci driver just for keyboard
and a C compiler that it's binaries implode (fixed later)
needs 6MB of RAM and 24MB of RAM to use the broken C compiler
