Red Bear OS — microkernel OS in Rust, based on Redox

Derivative of Redox OS (https://www.redox-os.org) adding:
- AMD GPU driver (amdgpu) via LinuxKPI compat layer
- ext4 filesystem support (ext4d scheme daemon)
- ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG)
- Custom branding (hostname, os-release, boot identity)

Build system is full upstream Redox with RBOS overlay in local/.
Patches for kernel, base, and relibc are symlinked from local/patches/
and protected from make clean/distclean. Custom recipes live in
local/recipes/ with symlinks into the recipes/ search path.

Build:  make all CONFIG_NAME=redbear-full
Sync:   ./local/scripts/sync-upstream.sh
This commit is contained in:
2026-04-12 19:05:00 +01:00
commit 50b731f1b7
3392 changed files with 98327 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#TODO nix crate error
# build instructions: https://github.com/dbalsom/martypc/wiki/Building-MartyPC#building-for-linux
[source]
git = "https://github.com/dbalsom/martypc"
shallow_clone = true
rev = "0.4.1"
[build]
template = "custom"
script = """
DYNAMIC_INIT
# there's a lot of git dependencies
COOKBOOK_CARGO_FLAGS=( -Zgit=shallow-index,shallow-deps )
# clang specifics
PREFIX_INCLUDE="$COOKBOOK_HOST_SYSROOT/$TARGET/include"
export CLANGFLAGS="-I $PREFIX_INCLUDE/c++/13.2.0 -I $PREFIX_INCLUDE/c++/13.2.0/$TARGET -I $PREFIX_INCLUDE/c++/13.2.0/backward -I $PREFIX_INCLUDE"
cookbook_cargo_packages martypc_eframe
"""
cargopackages = ["martypc_eframe"]