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 riscv,plic0... OK (8,0)
init device ns16550a... OK (13,0)

VIMIX OS 64 bit (RISC V) kernel version 36bb03d is booting
Console: ns16550a
Timer source: sstc extension
init memory management...
init process and syscall support...
init filesystem...
init remaining devices...
init device /dev/null... OK (3,0)
init device /dev/zero... OK (4,0)
init device /dev/random... OK (10,0)
init device google,goldfish-rtc... OK (6,0)
init device syscon... OK (7,0)
init device virtio,mmio... OK (1,0)
init device virtio,mmio... OK (1,1)
fs root device: virtio,mmio (1,0)
SBI implementation: OpenSBI (version 65541)
SBI specification: v2.0
SBI extension SRST detected: register SBI reboot/shutdown functions
init userspace...
CPU 0 starting 
CPU 2 starting 
CPU 3 starting 
CPU 1 starting (boot CPU)
forkret() mounting /... OK
forkret() loading /usr/bin/init... OK
init mounting /dev... OK
init mounting /sys... OK
init mounting /home... OK
init starting /usr/bin/sh
$ ls
drwxr-xr-x    1104 B .
drwxr-xr-x    1104 B ..
drwxr-xr-x      64 B usr
.rwxr-xr-x    5311 B README.md
drw-rw----       0 B dev
drwxr-xr-x    1024 B etc
drwxr-xr-x     112 B home
drw-rw----       0 B sys
drwxr-xr-x    7168 B tests
$ cat README.md | grep RISC | wc
4 78 607 
$ fortune
I'd spell creat with an e. - Ken Thompson when asked what he would do differently if he were to redesign UNIX
$ 

Changes from xv6

About

Toy OS based on xv6.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 37