Commit Graph

54 Commits

Author SHA1 Message Date
vasilito 285a7f8836 Bluetooth B3: GATT scheme endpoints and HciBackend real GATT workflow
Add GATT client helpers to btusb scheme (GattDiscoverServices,
GattDiscoverChars, GattReadChar, GattServices, GattCharacteristics)
with ATT-over-ACL transport. Wire HciBackend::read_char to perform
real GATT workflow through scheme filesystem (discover services →
discover characteristics → read value) instead of hardcoded stub.
209 tests passing (151 btusb + 56 btctl + 2 wifictl).
2026-04-25 00:37:33 +01:00
vasilito 63a96285bc B3 ATT/GATT groundwork, i2c-hidd InputProducer migration, plan doc update
Add ATT/GATT protocol types to btusb hci.rs: AttPdu with 8 builder
methods, GattService/GattCharacteristic discovery types, ATT response
parsers, ATT-over-ACL L2CAP helpers. 12 new tests (137 total btusb).

Migrate i2c-hidd from legacy ProducerHandle to InputProducer with
named producer fallback (i2c-hid), completing U3 driver migrations.

Update BLUETOOTH-IMPLEMENTATION-PLAN.md with B1/B2 completion evidence,
exit criteria assessment, and updated support language.
2026-04-24 23:25:19 +01:00
vasilito e1b117955c Fix boot-to-login: override pcid-spawner to oneshot_async, add U3 input producers, Intel HDA phases A-D
- Override 00_pcid-spawner.service to oneshot_async in redbear-legacy-base.toml:
  rootfs phase no longer blocks on PCI driver init; getty/login starts immediately.
  Confirmed working on both QEMU and bare metal (redbear-live-mini).
- Clean up 00_base legacy script: remove dead notify ipcd/ptyd calls, keep sudo --daemon.
- Add U3 named input producers: inputd supports per-device named producers with
  fan-out to both device-specific consumers and legacy VT consumers. Migrate ps2d
  and usbhidd to InputProducer trait. RESERVED_DEVICE_NAMES deduplicated.
- Add Intel HDA audio driver phases A-D: ihdad error handling (37 fixes), audio
  quirks, codec path enumeration, mixer/volume control.
- Add init service start/readiness logging (always visible, not debug-gated).
- Update BOOT-PROCESS-ASSESSMENT.md: Phase 6 complete, boot procedure documented,
  validation matrix updated with confirmed boot status.
- Update USB-IMPLEMENTATION-PLAN.md and INPUT-SCHEME-ENHANCEMENT.md for U2/U3 status.
2026-04-24 20:25:00 +01:00
vasilito a81be44b67 Update IRQ plan doc with all waves complete, add lspci runtime-mode observability (Wave 5) 2026-04-24 14:45:40 +01:00
vasilito d24ab92d54 Add boot process assessment doc and service file validation script
Comprehensive assessment of init boot phases, service schema
validation, and 14-package audit table covering all hardened
boot-critical packages.
2026-04-23 20:27:13 +01:00
vasilito 6158ec5cba Add ACPI I2C resources scheme endpoint and shared acpi-resource crate
- Add /scheme/acpi/resources/<device> endpoint to acpid for _CRS evaluation
- Extract acpi-resource shared crate (917 lines) with ResourceDescriptor types
- Eliminate duplicate type definitions in 5 consumers (i2c-hidd, dw-acpi-i2cd,
  intel-thc-hidd, i2c-gpio-expanderd, ucsid)
- Add P2-acpi-i2c-resources.patch (48KB) with all source changes
- Update ACPI-I2C-HID-IMPLEMENTATION-PLAN.md to reflect actual codebase state
2026-04-22 22:44:30 +01:00
vasilito 2cb285b8be acpi-i2c-hid: implement wave 1 boot-path diagnostics and service wiring 2026-04-22 21:31:19 +01:00
vasilito 5c9afa7ba6 Update USB boot docs and relibc patch overlays 2026-04-22 14:30:28 +01:00
vasilito 8b19d06b18 Add ACPI I2C-HID quirk carriers 2026-04-22 12:41:39 +01:00
vasilito 005e1adad1 Route fallback consoles through activate_console 2026-04-21 16:15:17 +01:00
vasilito 37149cf8ca Require a local RedoxFS module for GRUB builds 2026-04-21 16:15:16 +01:00
vasilito ac2792ef73 Document local-first package sourcing policy 2026-04-21 16:15:16 +01:00
vasilito 1865296ed6 Update local subsystem planning docs 2026-04-20 18:37:35 +01:00
vasilito e3d776aa9a Advance redbear-full Wayland, greeter, and Qt integration
Consolidate the active desktop path around redbear-full while landing the greeter/session stack and the runtime fixes needed to keep Wayland and KWin bring-up moving forward.
2026-04-19 17:59:58 +01:00
vasilito e778af2103 Update local docs for four compile targets 2026-04-19 17:57:29 +01:00
vasilito 5c5fbea171 Align relibc IPC overlay docs 2026-04-19 09:26:57 +01:00
vasilito 95c632307c Document Linux borrowing guidance 2026-04-18 21:38:31 +01:00
vasilito 13bc13160d Refine subsystem planning docs 2026-04-18 21:38:31 +01:00
vasilito 9369247e1e Update USB validation docs 2026-04-18 21:38:31 +01:00
vasilito f9e0a2a3e1 Update ACPI and low-level controller docs 2026-04-18 21:38:31 +01:00
vasilito 172c298bc0 Document relibc overlay preservation flow
Explain how the rebuilt relibc proof and durable local patch carriers fit together so future upstream refreshes can reapply the compatibility work without relying on nested source state.
2026-04-18 21:36:21 +01:00
vasilito 45625c06ee Update local plans, status docs, and governance notes 2026-04-18 17:58:38 +01:00
vasilito 62e5cca2f7 Normalize KDE and AMD GPU status docs 2026-04-18 15:44:20 +01:00
vasilito edacc89db8 Refresh GRUB scripts, config, and integration documentation 2026-04-18 00:48:58 +01:00
vasilito 7b250db6e6 Add VFAT implementation plan and update AGENTS.md FAT documentation
916-line plan covering: workspace structure, implementation phases, API
design, build integration, success criteria, test results, and comprehensive
quality assessment (Section 12 with 12 subsections). AGENTS.md updated with
FAT workspace layout, tool verification status, and config integration details.
2026-04-18 00:13:46 +01:00
vasilito 76d3fa012e Add Linux-compatible grub-install and grub-mkconfig wrappers
Create grub-install and grub-mkconfig scripts in local/scripts/ that
match GNU GRUB CLI conventions for users migrating from Linux. Support
standard switches: --target, --efi-directory, --bootloader-id,
--removable, -o/--output, --verbose, --help, --version. Unsupported
Linux options are accepted and ignored for script compatibility.

Also fix ESP FAT type: force FAT32 in both with_whole_disk and
with_whole_disk_ext4 (UEFI spec requires FAT32, fatfs auto-selects
FAT16 for partitions under 32 MiB). Fix --write-bootloader to export
GRUB EFI in GRUB mode. Fix CLI example in GRUB plan. Update AGENTS.md
and GRUB-INTEGRATION-PLAN.md with Linux-compatible CLI docs.
2026-04-17 22:47:01 +01:00
vasilito f3cbc48bfd Add BLAKE3 hash to GRUB source, remove redundant chain module
Add blake3 checksum for grub-2.12.tar.xz for recipe integrity
verification. Remove the chain module from grub-mkimage — the
chainloader command is built-in in GRUB 2.12, no separate module
needed. Image shrinks from 540 KiB to 512 KiB. Update module table
and size estimate in GRUB integration plan.
2026-04-17 22:27:12 +01:00
vasilito 6c361066e2 Fix GRUB reassessment findings: clean-build gap, validation, robustness
- Add grub package to redbear-full-grub.toml so make all works from
  a clean tree (the installer needs grub.efi before it runs)
- Fix stat -f%z (macOS-only) to stat -c%s (Linux) in GRUB recipe
- Normalize bootloader config value to lowercase in install_inner so
  bootloader = "GRUB" from config files is accepted
- Add bad-cluster marker (0x0FFFFFF7) check in fat_tool.py
  _next_cluster to prevent potential infinite loops on degraded media
- Fix file handle leak in fat_tool.py if _read_bpb raises
- Clean up temp directory in fetch_bootloaders on error
- Update AGENTS.md with GRUB recipe and installer documentation
- Update GRUB plan with clean-build prerequisite note
2026-04-17 22:21:08 +01:00
vasilito 950f8715cb Fix INSTALLER_OPTS clobbering warning in GRUB docs
INSTALLER_OPTS replaces the default --cookbook=. value, so the docs
now show the full invocation with --cookbook=. included and recommend
using the config file approach instead.
2026-04-17 21:37:11 +01:00
vasilito c230776cc9 Update GRUB plan with Phase 2 testing instructions
Reorganized testing section to cover both Phase 1 (post-build script)
and Phase 2 (installer-native) workflows. Added unit test commands.
Removed mtools dependency from limitations.
2026-04-17 21:24:13 +01:00
vasilito 4a4a3e863d Update GRUB integration plan with Phase 2 implementation details
Documents the completed installer-native GRUB support: GeneralConfig
bootloader field, DiskOption GRUB extensions, fetch_bootloaders GRUB
package fetch, ESP layout conditional in with_whole_disk/ext4, CLI
--bootloader flag, and config usage examples.
2026-04-17 21:14:50 +01:00
vasilito 87270603ef Add GRUB integration plan and configure ESP size for GRUB boot
Documents the two-phase GRUB integration approach (post-build script
then installer-native), build notes for the three cookbook workarounds,
and measured artifact sizes. Sets efi_partition_size=16 in redbear-full
to accommodate GRUB plus Redox bootloader on the ESP.
2026-04-17 21:05:04 +01:00
vasilito 52df3ad5f6 Refresh project documentation 2026-04-17 13:34:49 +01:00
vasilito 930983dea3 Update Bluetooth driver and validation 2026-04-17 13:33:29 +01:00
vasilito 159787463e Add D-Bus integration plan 2026-04-17 13:33:03 +01:00
vasilito 739704cbfa Advance USB implementation plan and validation docs 2026-04-17 13:32:43 +01:00
vasilito e46dc1813d Expand USB quirks and hardware validation 2026-04-17 13:32:32 +01:00
vasilito 5d7d3a2761 Refresh project documentation 2026-04-17 00:05:20 +01:00
vasilito c725436721 Update hardware utilities and USB validation 2026-04-17 00:04:08 +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 2ce2e408c5 Refresh project documentation
Red Bear OS Team
2026-04-16 12:46:07 +01:00
vasilito f5e9cda070 Add remaining planning docs 2026-04-15 12:57:07 +01:00
vasilito 6113a6d450 Refresh subsystem planning docs 2026-04-15 12:57:07 +01:00
vasilito df22174f5a Add current desktop and profile status docs 2026-04-15 12:57:07 +01:00
vasilito bee7ab2e0e Add documentation governance docs 2026-04-15 12:57:07 +01:00
vasilito 0a98bff07a Add USB and Bluetooth implementation plans 2026-04-14 20:04:30 +01:00
vasilito 66ea2422a0 Add in-guest checks for the VM network baseline 2026-04-14 12:14:50 +01:00
vasilito bb57c1031f Add QEMU helper for the VM network path 2026-04-14 12:11:23 +01:00
vasilito 3d78bb8194 Enable Phase 2 DHCP baseline in redbear-minimal 2026-04-14 11:56:26 +01:00
vasilito a8bb15797f Document Phase 1 governance and profile surfaces 2026-04-14 11:43:37 +01:00