Find a file
Jeremy Soller 0c11463711 Merge branch 'update_contributing_docs' into 'master'
Update github references to be gitlab references

See merge request redox-os/redox!1196
2018-08-26 19:00:42 +00:00
.github Update ISSUE_TEMPLATE 2017-10-09 19:22:30 -04:00
bootloader@615d9e1365 Update to RedoxFS 3 2017-11-19 20:05:54 -07:00
bootloader-efi@de305ff651 Update bootloader efi 2018-04-21 08:59:08 -06:00
cookbook@79e8d44a2e Update cookbook 2018-06-10 12:01:23 -06:00
docker Change reference to github in docker README 2018-08-26 09:27:35 -07:00
installer@33fa0af521 Update installer; Permissions changes 2018-08-18 13:46:07 -05:00
isolinux@3cf79d3354 Move isolinux to submodule 2017-01-05 11:28:34 -07:00
kernel@054fc41beb Update kernel 2018-06-24 08:36:47 -06:00
mk Change reference to github in mk/kernel.mk 2018-08-26 09:27:35 -07:00
redoxfs@72b0492624 Update redoxfs 2018-05-24 08:43:35 -06:00
rust@fbb1fd15d7 Update rust 2018-06-19 17:18:27 -06:00
.gitignore Convert to cookbook based build 2017-05-10 21:39:05 -06:00
.gitlab-ci.yml Add artifacts 2018-06-10 18:56:53 -06:00
.gitmodules Update urls to submodules 2018-06-10 11:07:53 -06:00
.travis.yml Make images in gitlab ci 2018-06-10 09:54:05 -06:00
bochs.x86_64 Allow compiling both livedisk and harddrive 2016-11-19 20:19:41 -07:00
bootstrap.sh Change github references in bootstrap.sh 2018-08-26 09:26:03 -07:00
ci.toml Add general section to ci.toml 2018-06-09 18:51:16 -06:00
CONTRIBUTING.md Change CONTRIBUTING repo urls to point to gitlab 2018-08-26 09:25:51 -07:00
filesystem.toml Update installer; Permissions changes 2018-08-18 13:46:07 -05:00
initfs.toml Set default keymap 2017-10-09 21:32:21 -06:00
initfs_live.toml Set default keymap 2017-10-09 21:32:21 -06:00
LICENSE Add license 2016-08-13 16:28:33 -06:00
Makefile Make images in gitlab ci 2018-06-10 09:54:05 -06:00
README.md Change github links in README 2018-08-26 09:27:31 -07:00
rust-toolchain Update rust 2018-06-19 17:18:27 -06:00
shell.nix Add shell.nix for NixOS users 2018-05-08 10:13:03 +02:00

Redox

Redox is an operating system written in Rust, a language with focus on safety and high performance. Redox, following the microkernel design, aims to be secure, usable, and free. Redox is inspired by previous kernels and operating systems, such as SeL4, MINIX, Plan 9, and BSD.

Redox is not just a kernel, it's a full-featured Operating System, providing packages (memory allocator, file system, display manager, core utilities, etc.) that together make up a functional and convenient operating system. You can loosely think of it as the GNU or BSD ecosystem, but in a memory safe language and with modern technology. See this list for overview of the ecosystem.

The website can be found at https://www.redox-os.org.

Please make sure you use the latest nightly of rustc before building (for more troubleshooting, see "Help! Redox won't compile!").

Travis Build Status Downloads MIT licensed Rust Version

Contents

What it looks like

Redox Redox Redox Redox Redox Redox

Ecosystem

The ecosystem and software Redox OS provides is listed below.

Name (lexicographic order) Maintainer
acid (kernel integration tests) @jackpot51 @NilSet
binutils vacant
cookbook @jackpot51 @ids1024 @sajattack
coreutils vacant
extrautils vacant
games @enrico (AKA @HenryTheCat) @fabiao
Ion (shell) @mmstick @stratact
ipcd @jD91mZM2
kernel @jackpot51
libextra vacant
libpager vacant
netstack @batonius @dlrobertson
netutils @jackpot51
orbclient (Orbital client) @jackpot51 @FloVanGH
orbdata @jackpot51
orbgame (Orbital 2D game engine) @FloVanGH
Orbital (windowing and compositing system) @jackpot51
orbtk (Orbital toolkit) @FloVanGH
orbutils (Orbital utilities) @jackpot51
pkgutils (current package manager) @jackpot51
ralloc @Tommoa @NilSet
RANSID (Rust ANSI driver) @jackpot51
redoxfs (old filesystem) @jackpot51
relibc (C Library in Rust) @jD91mZM2 @sajattack @Tommoa @stratact
small (stack String and other collections) @Tommoa
syscall @jackpot51
Sodium (Vim-inspired text editor) vacant
TFS ((ticki) The File System) @Tommoa
The Redox book vacant
userutils @jackpot51

Help! Redox won't compile!

Sometimes things go wrong when compiling. Try the following before opening an issue:

  1. Make sure you have a Redox toolchain (x86_64-unknown-redox-gcc).
    • You can install from .deb packages (https://static.redox-os.org/toolchain/apt/) or build redox-os/libc manually.
  2. Run rustup update
  3. Run make clean pull.
  4. Make sure you have the latest version of Rust nightly! (rustup.rs is recommended for managing Rust versions. If you already have it, run rustup).
  5. Update GNU Make, NASM and QEMU/VirtualBox.
  6. Pull the upstream master branch (git remote add upstream git@gitlab.redox-os.org:redox-os/redox.git; git pull upstream master).
  7. Update submodules (git submodule update --recursive --init).

and then rebuild!

Contributing to Redox

If you're interested in this project, and you'd like to help us out, here is a list of ways you can do just that.

Cloning, Building and Running

Redox is big, even compressed. Downloading the full history may take a lot of bandwidth, and can even be costly on some data plans. Clone at your own risk!

Quick Setup

$ cd path/to/your/projects/folder/

# Run bootstrap setup
$ curl -sf https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh

# Change to project directory
$ cd redox

# Build Redox
$ make all

# Launch using QEMU
$ make qemu
# Launch using QEMU without using KVM (Kernel-based Virtual Machine). Try if QEMU gives an error.
$ make qemu kvm=no

QEMU with KVM

To use QEMU with KVM (Kernel-based Virtual Machine), which is faster than without KVM, you need a CPU with Intel® Virtualization Technology (Intel® VT) or AMD Virtualization™ (AMD-V™) support. Most systems have this disabled by default, so you may need to reboot, go into the BIOS, and enable it.

Manual Setup

To manually clone, build and run Redox using a Unix-based host, run the following commands (with exceptions, be sure to read the comments):

$ cd path/to/your/projects/folder/

# HTTPS
$ git clone https://gitlab.redox-os.org/redox-os/redox.git --origin upstream --recursive
# SSH
$ git clone git@gitlab.redox-os.org:redox-os/redox.git --origin upstream --recursive

$ cd redox/

# Install/update dependencies
$ ./bootstrap.sh -d

# Install rustup.rs
$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env

# Install the sysroot manager Xargo
$ cargo install xargo

# For successive builds start here. If this is your first build, just continue

# Update git submodules
$ git submodule update --recursive --init

# Build Redox
$ make all

# Launch using QEMU
$ make qemu

# Launch using QEMU without using KVM (Kernel-based Virtual Machine). Try if QEMU gives an error.
$ make qemu kvm=no

# Launch using QEMU without using KVM (Kernel-based Virtual Machine) nor Graphics
make qemu kvm=no vga=no

Setup using Docker

We also provide docker image. After cloning this repository, please follow README under the docker directory.

Updating the codebase using the Makefile

To update the codebase run:

make pull; make fetch

make pull pulls and updates the submodules, and make fetch updates the sources for cookbook recipes.