Work

Bounded Attempts at Assimilation: Sandboxed Driver Synthesis, Self-Healing MMIO Recovery, and Non-Blocking Hardware Incorporation on Bare-Metal Silicon

Year: 2026
Type: preprint
Abstract: When a bare-metal unikernel advances beyond passive hardware inventory (discovery without authority) into active peripheral control, every memory-mapped I/O (MMIO) write, direct memory access (DMA) descriptor, clock gate enable, and interrupt acknowledgment carries systemic fault potential. This paper presents the Bounded Assimilation Architecture implemented across twenty zero-dependency no_std Rust subsystems (62,191 lines of code, 188 inline tests, 9 modules enforcing forbid(unsafe_code)) within the 679-file, 617,690-LOC SANI autonomous substrate (2,078 passing tests, zero compiler warnings). The architecture unifies four containment and self-adaptation boundaries: 1. DriverVM (1,384 LOC, 21 canonical DriverOp instructions): an interpreted register virtual machine enforcing pre-execution validation (terminal halt reachability, register index under 8, BAR index under 6), execution budgets (4,096 instructions, 50,000 microseconds delay), Skein-1024 bytecode provenance hashing (1,024-byte ceiling), dual poll-cycle budget accounting, and unconditional suppression of PCI Command bit-2 Bus Master Enable writes under default deprived authority (VmError::DmaActivationUnauthorized). 2. DriverFoundry (2,541 LOC) + Zero-Codename Autonomic Silicon Adaptation, FDT Gate-Wiring Dependency Graph & Runtime Command Genesis (11,530 LOC across adaptive_silicon.rs, autonomic_adaptation.rs, gate_wiring.rs, command_genesis.rs, adoption_hud.rs): a strictly monotone six-stage promotion lifecycle across 15 typed DeviceProtocolFamily classes paired with FDT-first universal discovery (zero non-tegu board codename runtime literals and zero hardcoded 5300/5400 strings), a <=12-KiB FDT phandle dependency resolver (PMIC/LDO -> PMU PD -> CMU Clock -> USI/PinCtrl -> IOMMU -> Organ MMIO across 48 organs), 4-tier live DECON_WIN/IDMA display resolution, fail-closed Frame-0 probe allowlisting, and SovereignCommandForge (SANICMD1 Skein-1024-MAC-256 vault, CommandSafetyFence, and autonomous rev >= 2 HardwareWitness command self-rewriting rendered inside a 4-page touch/key AdoptionHud). 3. Non-Blocking Autopoietic Fault Recovery & Flash Plasticity (9,511 LOC): EDEN (64-slot circular recovery ledger protected by Hamming (72,64) SECDED coding in u128, exhaustively verified across all 72 single-bit and 2,556 double-bit fault injections), Regeneration (10 criticality-weighted organ classes, non-blocking try_lock dispatch, 1 to 64 second exponential quarantine backoff, ATP limits), AsyncOrganCortex (16 organ lanes, 96 static slots), wait-free LoopDomain CAS scheduling across 12 domains, and SANIEPIG (epigenetic_firmware.rs) flash-persistent reflex gene bounds (SafetyEnvelope v2 clamping over-adapted UFS modem-slot drift). 4. Longitudinal & Simultaneous Dual-Baseband Bare-Metal Evaluation on Google Tensor G4 Silicon: On Google Pixel 9a (tegu), SANI survives USBDP ESR=0x96000010 aborts via GUCTL1 bit-26 UTMI fallback (480 Mbps CDC-ACM), streams 1080x2424 Synaptics S3908 multi-touch, accelerates UFS PRDT DMA staging 80.8x (169,149 ms to 2,093 ms, 48.0 MiB/s) with ABL /reserved-memory dual SMMU unlock (abl-smmu-f8c9), converts Phase 400's principled Exynos PCIe Ch0 / S5300 refusal (S5910AckFailed, 86 percent certification) into full Gen3 x2 L0Active cellular closure sustaining 14+ hours of live O2/giffgaff telephony (15/15 = 100 percent self-certification), assimilates CS40L26A/TAS2572 audio hardware while fail-closed quarantining Google GSA/AoC (s2mpu_s0_aoc, ESR=0x96000010), and deploys one identical unmodified sani_universal_boot.img simultaneously onto an unseen Google Pixel 9 Pro XL (komodo) alongside Pixel 9a (tegu)—reaching SELF-VERIFIED maturity (16,384 MB DRAM, 1344x2992 live-dpu-dma, TouchBus LIVE 5/5, 19/32 live gate chains, rev >= 2 command evolution) and closing simultaneous Exynos S5400 (komodo, 5G NR HOME REG via multi-master SPMI idle release, two-step 0x3FFF->0xFFFF Stage 1 STBL, dynamic 0x4000_0000 doorbell, zero-BSS 3,231-KiB RF_CFG) and Exynos S5300 (tegu) cellular operation without external per-board recoding. Series Role: Paper 2 (Horizon II -- Somatic Assimilation, Bounded Plasticity & Zero-Recode Cross-Silicon Adaptation) of the 4-Paper UK PhD by Publication Portfolio, continuing Paper 1 (Discovery Without Authority, DOI: 10.5281/zenodo.24217617).
Language: English
Open Access status: green
OpenAlex ID: W7238265158
Cites:
Cited by:
Related to: