/caffeinix

A unix-like system that hopes to pursue efficiency

Primary LanguageCGNU General Public License v3.0GPL-3.0

A Unix-like system that hopes to pursue efficiency.

GitHub last commit GitHub issues GitHub pull requests

InstallationUpdatingFeaturesWikiContributingCreditsSupportLicense


Caffeinix is a Unix-like system. As the name suggests, Caffeinix (Caffeine + Unix), this was written by me while drinking Americano. I hope that it can improve the efficiency of you and me like caffeine. Of course, the efficiency may not be very high. I also said this is just a hope.

Operating environment

This is not absolute, just what we recommend.

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

Prerequisites

Method 1: Using Docker

$ docker run -itd -p 10008:10008 -v </path/to/develop>:/root/develop -w /root --name caffeinix --restart=always troymitchell/caffeinix:latest /bin/bash
$ docker exec -it caffeinix bash

Method 2: Manual Installation

Step 1

$ sudo apt update
$ sudo apt install build-essential gcc make perl dkms git gdb-multiarch qemu-system-misc bear

Step 2

You need a RISC-V "newlib" tool chain from https://github.com/riscv/riscv-gnu-toolchain

Important

The docker image may doesn't have latest source code.

Note

None now.

Getting the sources

You don't need this step if you are using Method 1: Using Docker because we have put the sources into the directory ~/caffeinix. But the only thing you need to do is entering the directory ~/caffeinix then run git pull origin main command to avoiding the source is old.

$ git clone https://github.com/TroyMitchell911/caffeinix.git

Building and usage

  • make:Compile and build
  • make qemu:Start qemu running after compiling and building
  • make qemu-gdb:Start debugging

Updating

Features

Wiki

Do you need some help? Check out the articles on the wiki.

Contributing

Got something interesting you'd like to share? Learn about contributing.

Credits

Support

Reach out to me via the profile addresses.

License

License: GPL-3.0