Lych is a monolithic operating system for ARM64, written in Rust from the ground up.
The project focuses on understanding and building every major part of an operating system from first principles instead of treating it as a black box. Every subsystem is implemented step by step with an emphasis on simplicity, maintainability, and clear documentation.
Lych is an open source project developed in India.
- Boots on QEMU
virt - Rust kernel (
no_std,no_main) - PL011 UART driver
- Exception vector table (VBAR_EL1)
- Synchronous exception handling
- Exception diagnostics
ESR_EL1ELR_EL1SPSR_EL1- Previous Exception Level
- Exception return with
ERET - Resume execution after
BRK
- Additional synchronous exceptions
- Interrupt handling (IRQ)
- Generic timer
- Physical memory management
- MMU
- Virtual memory
- Scheduler
- Userspace
Current:
- QEMU
virt
Planned:
- Raspberry Pi
- Generic ARM64 development boards
- ARM laptops
- ARM phones
MIT