Commit Graph

4 Commits

Author SHA1 Message Date
vasilito 2ee9efd8d0 intel: combo PHY initialization for Xe2/Gen11+
Add display_combo_phy.rs for ICL/TGL/ADL/ARL combo PHY setup.
Combo PHY must be initialized before DDI programming on Gen11+.

- display_combo_phy.rs: ComboPhy struct with init_all(), init_phy(),
  power_up_lanes(), is_enabled(). Programs ICL_PORT_CL_DW5 (power),
  ICL_PORT_CL_DW10 (lane power-up), ICL_PORT_CL_DW12 (idle mask).
  Supports 5 combo PHY bases (A-E): 0x162000, 0x6C000, 0x160000,
  0x161000, 0x16B000.

- mod.rs: add ComboPhy to IntelDriver (Option, Xe2-only). Initialize
  in constructor before power wells when has_combo_phy == true.

Linux reference: intel_combo_phy.c, intel_combo_phy_regs.h

Errors in redox-driver-sys are pre-existing (dma.rs, io.rs),
unrelated to Intel changes.
2026-05-30 07:41:25 +03:00
vasilito 15d0707e74 feat: USB storage read/write proof + full Red Bear OS tree sync
Add redbear-usb-storage-check in-guest binary that validates USB mass
storage read and write I/O: discovers /scheme/disk/ devices, writes a
test pattern to sector 2048, reads it back, verifies match, restores
original content. Updates test-usb-storage-qemu.sh with write-proof
verification step.

Includes all accumulated Red Bear OS work: kernel patches, relibc
patches, driver infrastructure, DRM/GPU, KDE recipes, firmware,
validation tooling, build system hardening, and documentation.
2026-05-03 23:03:24 +01:00
vasilito 650a70a309 Update installer patch with GRUB help text and fix fstools build
Adds --bootloader and --filesystem to installer help text. Fixes
fstools host build by symlinking local/ directory alongside recipes/
so the ext4-blockdev path dependency resolves correctly.
2026-04-17 21:24:01 +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