VyronOS / README.md
Sujay-1631's picture
Update README with clear ISO instructions, download links, and Rust source map
92e4b9d verified
|
Raw History Blame Contribute Delete
6.79 kB
---
license: mit
tags:
- operating-system
- rust
- microkernel
- uefi
- iso
- virtualbox
- x86-64
- arm64
pretty_name: VyronOS Micro-OS
---
# VyronOS β€” Modern Operating System & Rust Microkernel
[![Hypervisor](https://img.shields.io/badge/Hypervisor-Oracle_VirtualBox_7.2+-183A61.svg)](https://www.virtualbox.org/)
[![Kernel](https://img.shields.io/badge/Microkernel-Rust_no__std-DEA584.svg)](kernel/)
[![Bootloader](https://img.shields.io/badge/Bootloader-UEFI_Dual--Arch-0078D7.svg)](uefi-payload/)
[![ISO Size](https://img.shields.io/badge/ISO_Size-35.2_MB-brightgreen.svg)]()
[![Verification](https://img.shields.io/badge/Verification-41%2F41_Gates_Passed_(100%25)-success.svg)]()
**VyronOS** is a custom 64-bit operating system featuring a dual-architecture UEFI bootloader, a high-performance **Rust microkernel** (`no_std`), and an ultra-compact hybrid bootable ISO.
---
## πŸš€ Quick Links for Submission & Evaluation
| Resource | Link | Description |
| :--- | :--- | :--- |
| πŸ’Ώ **Direct ISO Download** | [**Download Vyron-Micro-OS.iso**](https://huggingface.co/Sujay-1631/VyronOS/resolve/main/Vyron-Micro-OS.iso) | Universal hybrid UEFI bootable ISO (35.2 MB) |
| πŸ“‚ **Repository File Tree** | [**Browse Repo Files**](https://huggingface.co/Sujay-1631/VyronOS/tree/main) | Web view of ISO and complete source code |
| πŸ¦€ **Rust Kernel Source** | [**View kernel/**](https://huggingface.co/Sujay-1631/VyronOS/tree/main/kernel) | IPC, capability VFS, scheduler, drivers, and docs |
| πŸ–₯️ **UEFI Payload Source** | [**View uefi-payload/**](https://huggingface.co/Sujay-1631/VyronOS/tree/main/uefi-payload) | Dual-arch (x86_64 / ARM64) GOP graphics & bootloader |
---
## ❓ How to Open & Test the ISO (`Vyron-Micro-OS.iso`)
An ISO file is a disk image of an entire operating system, not an ordinary app or document. Depending on whether you want to **inspect its contents** or **boot into the OS**, follow the instructions below:
### Option A: Inspect the ISO Contents & Rust Source (No VM required)
The ISO has the complete Rust source code embedded directly into its root filesystem:
- **Windows**: Right-click `Vyron-Micro-OS.iso` βž” **Mount** (or open with **7-Zip** / **WinRAR**). A virtual drive will open showing:
- `rust_source/kernel/`: Full Rust microkernel source code, benchmarks, and docs.
- `rust_source/uefi-payload/`: UEFI bootloader and GOP GUI graphics engine source.
- `README.TXT`: Architecture specifications and boot instructions.
- `EFI/BOOT/`: Dual-arch UEFI boot binaries (`BOOTX64.EFI` and `BOOTAA64.EFI`).
- **macOS**: Double-click `Vyron-Micro-OS.iso` in Finder (or run `hdiutil attach Vyron-Micro-OS.iso`).
- **Linux**: Mount with `sudo mount -o loop Vyron-Micro-OS.iso /mnt` or extract with `7z x Vyron-Micro-OS.iso`.
### Option B: Boot the OS in a Virtual Machine (VirtualBox / QEMU / VMware)
- **VirtualBox**:
1. Create a new VM: Type **Other**, Version **Other/Unknown (64-bit)**.
2. Under **Settings βž” System**, check **Enable EFI (special OSes only)**.
3. Under **Settings βž” Storage**, attach `Vyron-Micro-OS.iso` to the Optical Drive.
4. Start the VM. It will boot directly into the VyronOS UEFI GUI interface.
- **QEMU (x86_64)**:
```bash
qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -cdrom Vyron-Micro-OS.iso -m 512M
```
- **QEMU (ARM64 / Apple Silicon)**:
```bash
qemu-system-aarch64 -M virt -cpu cortex-a72 -bios QEMU_EFI.fd -cdrom Vyron-Micro-OS.iso -m 512M
```
### Option C: Boot on Real Hardware (USB)
- Write the ISO to any USB flash drive using [Rufus](https://rufus.ie/) (Partition scheme: **GPT**, Target system: **UEFI**) or [BalenaEtcher](https://etcher.balena.io/).
- Insert into any modern PC / laptop and boot via UEFI Boot Menu (F12 / F11 / F8).
---
## πŸ¦€ Rust Microkernel Architecture
The Rust kernel in `kernel/` is written in `no_std` Rust with zero external runtime dependencies:
- **Inter-Process Communication (`src/ipc/`)**: Capability-based synchronous rendezvous IPC with zero-copy message transfers.
- **Preemptive & Fair Scheduler (`src/scheduler/`)**: Strict priority multi-level queue scheduler with round-robin time slicing and starvation prevention.
- **Capability Virtual Filesystem (`src/vfs/`)**: Object-capability model where access to files, devices, and IPC channels requires unforgeable capability handles.
- **Hardware Drivers (`src/drivers/`)**:
- `pci.rs`: PCI bus enumerator and configuration space accessor.
- `net/virtio_net.rs`: VirtIO modern network adapter driver.
- `net/rtl8139.rs`: Realtek RTL8139 Fast Ethernet PCI driver with ring buffer RX/TX.
- **Memory Management (`src/memory/`)**: Physical frame allocator, recursive page table manipulation, and fine-grained virtual memory mapping.
---
## πŸ“‚ Source Code Layout
```
β”œβ”€β”€ .gitattributes
β”œβ”€β”€ README.md # Comprehensive project documentation
β”œβ”€β”€ Vyron-Micro-OS.iso # Bootable Hybrid UEFI ISO (35.2 MB)
β”‚
β”œβ”€β”€ kernel/ # Complete Rust Microkernel Source
β”‚ β”œβ”€β”€ Cargo.toml
β”‚ β”œβ”€β”€ docs/ # Technical reports, architecture diagrams & viva prep
β”‚ β”œβ”€β”€ results/ # Scheduler benchmarks & fairness plots
β”‚ β”œβ”€β”€ scripts/ # Automated trace analysis scripts
β”‚ β”œβ”€β”€ src/
β”‚ β”‚ β”œβ”€β”€ drivers/ # PCI, VirtIO Net, RTL8139 drivers
β”‚ β”‚ β”œβ”€β”€ ipc/ # Microkernel IPC rendezvous messaging
β”‚ β”‚ β”œβ”€β”€ memory/ # Paging & physical frame allocator
β”‚ β”‚ β”œβ”€β”€ scheduler/ # Priority & round-robin scheduler
β”‚ β”‚ β”œβ”€β”€ sync/ # Spinlocks & synchronization primitives
β”‚ β”‚ β”œβ”€β”€ syscall/ # Microkernel system call handlers
β”‚ β”‚ β”œβ”€β”€ task/ # Task control blocks & context switching
β”‚ β”‚ β”œβ”€β”€ timer/ # Programmable interval timer & timestamping
β”‚ β”‚ └── vfs/ # Capability-based Virtual File System
β”‚ └── tests/ # Microkernel unit & integration tests
β”‚
└── uefi-payload/ # Dual-Arch Rust UEFI Bootloader & GUI
β”œβ”€β”€ Cargo.toml
└── src/
β”œβ”€β”€ font8x16.rs # Embedded bitmap typography
β”œβ”€β”€ gui.rs # GOP framebuffer window manager
└── main.rs # Dual-architecture EFI entry point
```
---
## πŸ‘€ Author & Maintainer
- **Developer**: Sujay V
- **Hugging Face Account**: [@Sujay-1631](https://huggingface.co/Sujay-1631)
- **Repository**: [https://huggingface.co/Sujay-1631/VyronOS](https://huggingface.co/Sujay-1631/VyronOS)