Skip to content

jrmenzel/vimix_os

Repository files navigation

VIMIX OS Readme

VIMIX OS is a small Unix like OS which started as a fork of xv6 (which is a partial re-implementation of Unix version 6 for RISC V 32 and 64-bit).

See README-xv6 for original xv6 contributors.

Quick Links

Compile and try out:

How it looks like (text mode via UART only) running on qemu:

init device ns16550a... OK (1,0)

VIMIX OS 64 bit (bare metal) kernel version 2c539f9 is booting
95KB of Kernel code
8KB of read only data
1KB of data
76KB of bss / uninitialized data

init memory management...
    RAM S: 0x80000000
 KERNEL S: 0x80000000
 KERNEL E: 0x8003d000
    DTB S: 0x83e00000
    DTB E: 0x83e01c20
    RAM E: 0x84000000
init process and syscall support...
init filesystem...
init remaining devices...
init device virtio,mmio... OK (2,0)
init device google,goldfish-rtc... OK (6,0)
init device syscon... OK (7,0)
init device riscv,plic0... OK (8,0)
init device riscv,clint0... OK (9,0)
init device /dev/null... OK (3,0)
init device /dev/zero... OK (4,0)
fs root device: virtio,mmio (2,0)
init userspace...
Memory used: 472kb - 64812kb free
hart 3 starting 
hart 2 starting 
hart 1 starting 
hart 0 starting (init hart)
init: starting /usr/bin/sh
$ ls
drwxr-xr-x      48 B usr
.rwxr-xr-x    3078 B README.md
drwxr-xr-x      80 B dev
drwxr-xr-x      32 B home
$ cat README.md | grep RISC | wc
3 66 496 
$ 

Changes from xv6