Commit Graph

137 Commits

Author SHA1 Message Date
vasilito 37515a6f31 Skip libwayland debug print path on Redox
Avoid a non-essential debug-only formatting dependency in the WIP Redox libwayland build so the verified relibc compatibility slice is not blocked by wl_closure_print diagnostics.
2026-04-18 21:36:33 +01:00
vasilito 94b4fc0992 Consolidate relibc overlay patch chain
Keep the relibc compatibility work in tracked local patch carriers and align the recipe with the full durable patch stack so clean reapply and rebuild paths stay reproducible.
2026-04-18 21:36:07 +01:00
vasilito f10e951be8 Update upstream recipe TOMLs, add orbutils patch and smallvil recipe 2026-04-18 17:59:21 +01:00
vasilito 8968b9b574 Wire relibc patch bundle via recipe patches field 2026-04-18 11:21:19 +01:00
vasilito e1d04c7a6d Fix relibc strtold linkage for C++ consumers
Keep the relibc overlay consistent so the generated stdlib header preserves C linkage for strtold and the existing toolchain can still satisfy stale C++ callers while it is refreshed.
2026-04-18 10:36:46 +01:00
vasilito f205405ff0 Update base-initfs and base recipes for hardware detection 2026-04-18 00:48:58 +01:00
vasilito c4bb87e1dd Add FAT12/16/32 scheme daemon, management tools, and build integration
5-crate Rust workspace implementing full VFAT support: fatd scheme daemon
(FSScheme with open/read/write/mkdir/unlink/rename/fstat), fat-mkfs (create
FAT12/16/32 with labels and cluster size), fat-label (read/write BPB + root-dir
volume labels), fat-check (verify + repair dirty flags, FSInfo, lost clusters,
orphaned LFN). 60 unit tests, 0 unwrap in production code. Included in all 5
redbear configs via redbear-device-services.toml.
2026-04-18 00:13:34 +01:00
vasilito f522c8fcff Fix WIP grub symlink path depth (3 levels, not 4)
The symlink from recipes/wip/services/grub was using ../../../../local/
which goes above the repo root. Fixed to ../../../local/ which correctly
resolves from recipes/wip/services/ to local/recipes/core/grub.
2026-04-17 21:49:39 +01:00
vasilito a03483c956 Fix GRUB bootloader lookup, eliminate duplicate recipe, harden recipe build
install-grub.sh now searches both recipes/core/bootloader/target and
local/recipes/core/bootloader/target for the Redox bootloader artifact.

The WIP grub recipe (recipes/wip/services/grub) is now a full directory
symlink to local/recipes/core/grub instead of just recipe.toml, ensuring
COOKBOOK_RECIPE resolves to a directory that contains grub.cfg. This also
eliminates the duplicate recipe warning from the cookbook.

The GRUB recipe now fails hard (exit 1) if grub.cfg is missing instead of
just warning.
2026-04-17 21:45:38 +01:00
vasilito b8af486e03 Add GRUB EFI build recipe and chainload configuration
Builds GRUB 2.12 for the host machine (not Redox target) using template=custom.
Produces a 540 KiB standalone PE32+ EFI binary with GPT, FAT, ext2,
chainloader, and utility modules. The grub.cfg chainloads the Redox
bootloader from EFI/REDBEAR/redbear.efi.
2026-04-17 21:04:39 +01:00
vasilito 5eea2a974f Register bootloader patch in recipe.toml
The redox.patch was present and symlinked but never listed in the [source] patches field, so the cookbook never applied it during builds.
2026-04-17 14:16:11 +01:00
vasilito ff1e2363e8 Add bootloader auto-boot countdown with 1280x720 default resolution
5-second countdown with any-key cancel into manual mode selection. Defaults to 1280x720, falls back to EDID best resolution. UEFI only via get_key_timeout polling with BootServices.Stall.
2026-04-17 14:03:58 +01:00
vasilito 373a3aedad Update Qt6 recipes and add remaining module stubs 2026-04-17 13:34:18 +01:00
vasilito e12a20e1e5 Advance base patch with acpid and xhcid fixes 2026-04-17 13:33:41 +01:00
vasilito e6e1eb8520 Add D-Bus session and system services 2026-04-17 13:33:17 +01:00
vasilito 046b9cdd26 Add remaining Qt recipe stubs 2026-04-17 00:06:03 +01:00
vasilito d71788fb7e Advance KDE Plasma and Qt integration 2026-04-17 00:04:40 +01:00
vasilito 39ae086a73 Refresh Red Bear profile configs 2026-04-17 00:04:27 +01:00
vasilito 0d1bb48ec2 Update redox-driver-sys PCI and quirk support 2026-04-17 00:03:17 +01:00
vasilito 86708e1eee Remove accidentally included embedded git repo 2026-04-16 13:52:20 +01:00
vasilito e210f6d0cb Expand linux-kpi wireless scaffolding, consolidate desktop plan, remove historical report
Add channel/band/rate/BSS/RX-TX structures to linux-kpi wireless
scaffolding (mac80211.rs, wireless.rs, net.rs, C headers), extend
redbear-iwlwifi linux_port.c with comprehensive PCIe transport, and
create consolidated CONSOLE-TO-KDE-DESKTOP-PLAN.md as the canonical
desktop path document. Remove stale INTEGRATION_REPORT.md (1388 lines)
in favor of current local/docs/ references. Update AGENTS.md, README,
and docs index to point to the new plan.
2026-04-16 13:52:09 +01:00
vasilito 4bbd6058d8 Add KDE Plasma recipes
Red Bear OS Team
2026-04-16 12:46:07 +01:00
vasilito 169aa5d8cb Add firmware packaging and validation scripts
Red Bear OS Team
2026-04-16 12:45:24 +01:00
vasilito a8bf8b65f9 Add Wi-Fi driver and control tools
Red Bear OS Team
2026-04-16 12:45:07 +01:00
vasilito 6241599c57 Add Bluetooth subsystem
Red Bear OS Team
2026-04-16 12:44:51 +01:00
vasilito 2bb085d3c1 Advance netctl and networking tools
Red Bear OS Team
2026-04-16 12:44:35 +01:00
vasilito 5110aac16c Refresh Qt and Wayland recipes
Red Bear OS Team
2026-04-16 12:44:04 +01:00
vasilito ed04c28b91 Refresh upstream recipe compatibility 2026-04-15 12:57:45 +01:00
vasilito 638a2b90e3 Refresh Qt integration tooling 2026-04-15 12:57:45 +01:00
vasilito 3dd64d32db Update Red Bear driver substrate 2026-04-15 12:57:45 +01:00
vasilito 68aa94ce98 Advance Wayland and KDE package bring-up 2026-04-14 10:51:06 +01:00
vasilito 5b95e9aa9c Add runtime tools and Red Bear service wiring 2026-04-14 10:50:42 +01:00
vasilito 86195579a0 Add CUB package builder and include in all Red Bear OS configs
CUB (Red Bear OS Package Builder) is a Rust CLI tool that combines package management and building:
- RBPKGBUILD parser (TOML format) with full spec support
- Cookbook adapter converting RBPKGBUILD to recipe.toml
- PKGBUILD (Arch AUR) to RBPKGBUILD conversion with Linuxism detection
- Dependency mapping (Arch to Redox names)
- pkgar package creation integration
- Build environment setup with Cookbook env vars
- CLI with pacman-style shortcuts: -S, -Ss, -B, -G, -Pi, -Sua, -Sc, --import-aur

28 cub-lib tests passing. cub-cli compiles with local pkgutils.
Added cub = {} to redbear-desktop, redbear-full, redbear-minimal configs.
Created recipe symlink and updated integrate-redbear.sh.
2026-04-12 23:51:48 +01:00
vasilito 824e50ca9c Wire installer ext4 patch symlink into build tree
Symlink recipes/core/installer/redox.patch to local/patches/installer/redox.patch, consistent with the kernel and base patch pattern.
2026-04-12 20:19:02 +01:00
vasilito ad710d13bc Add Midnight Commander (mc) port and include in all configs
Add mc recipe (v4.8.30) with Redox-specific patch disabling PTY, resolver, subshell, and SFTP/FTP VFS. Build with ncurses against glib. Symlink into recipes/tui/. Add mc package to redbear-desktop, redbear-full, and redbear-minimal configs.
2026-04-12 20:18:11 +01:00
vasilito 43fd088349 Rename rbos → redbear everywhere, add redbear-info system tool
Replace all 'rbos'/'RBOS' references with 'redbear'/'Red Bear OS'
across the build system, scripts, docs, and configs. Renamed files:
  rbos.ipxe → redbear.ipxe
  assets/rbos-icon.png → assets/redbear-icon.png
  recipes/system/rbos-info → recipes/system/redbear-info

Added redbear-info: a system tool that enumerates all Red Bear OS
custom components, checks runtime availability via scheme paths and
binary presence, and prints status/test info. Supports --verbose,
--json, and --test output modes. Zero external dependencies.
2026-04-12 19:46:54 +01:00
vasilito 50b731f1b7 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
2026-04-12 19:05:00 +01:00