oliof / RatOS

The preconfigured Raspberry Pi image that makes it easy to run Klipper + Moonraker + Mainsail on your printer.

Home Page:https://os.ratrig.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RatOS

What is RatOS

RatOS is a preconfigured Raspberry Pi image that aims to make it as painless as possible to get Klipper, Mainsail and Moonraker up and running on your printer. It is developed and maintained by Mikkel Schmidt (miklschmidt#2036 on the Rat Rig Unofficial Discord) with help from the community.

How to use RatOS

Start by reading the Documentation

Build your own / Developing

Requirements

Packages for Ubuntu 18.04/20.04

** Dekstop variants are known to cause issues during build due to snaps takeing up loop mounts **

sudo apt-get install gawk make build-essential util-linux \
qemu-user-static qemu-system-arm \
git p7zip-full python3 curl

Compiling source

git clone https://github.com/Rat-Rig/RatOS.git
cd RatOS/
make build

or without docker:

git clone https://github.com/guysoft/CustomPiOS.git
git clone https://github.com/Rat-OS/RatOS.git
cd RatOS/src/image wget -c --trust-server-names 'https://downloads.raspberrypi.org/raspios_lite_armhf_latest'
cd ..
../../CustomPiOS/src/update-custompios-paths
sudo modprobe loop
sudo bash -x ./build_dist

Other make options

make clean - Clean all previous build items except the source raspian image
make distclean - Clean up the source image and trigger a new download

Build layout

RatOS/emulation - Contains dependencies for emulation testing
RatOS/src/image - Contains our base raspbian image
RatOS/src/workspace - Created during build, and output for compiled images

HUGE THANK YOU to the Sponsors

  • Dnoell

About

The preconfigured Raspberry Pi image that makes it easy to run Klipper + Moonraker + Mainsail on your printer.

https://os.ratrig.com

License:GNU General Public License v3.0


Languages

Language:Shell 60.1%Language:JavaScript 14.6%Language:CSS 9.1%Language:Python 6.5%Language:TypeScript 6.1%Language:Makefile 3.6%