# Validation: the oracle ladder and the milestones ## The ladder, per part (top tier available first) | Part | Tier 1 (hardware) | Tier 2 (maker's documents) | Tier 3 (community, hardware-checked) | Tier 4 (HDL) | Tier 5 (emulators) | | --- | --- | --- | --- | --- | --- | | Broadway | none held | IBM's Gekko UM (2000-05), the 750CL UM (a relative; via gekko-python) | test programs that ran on real Wiis and report results: dolphin-emu/hwtests `cputest` (GPL-2.0, closed box) | none | Dolphin (closed box) | | Flipper blocks in Hollywood | none | none public | YAGCD (gamecube-python's), WiiBrew, hwtests `gxtest` | none | Dolphin | | Starlet core | none | ARM's ARM926EJ-S TRM (not fetched: D10), the ARM ARM | none found | none | none usable (skyeye-starlet, closed) | | Hollywood AHB devices | none | public standards for EHCI, OHCI, SDHCI, AES, SHA-1, Bluetooth HCI | WiiBrew; homebrew that drives them with AHBPROT open (built from permissive sources: libogc2's IPC-free paths) | none | Dolphin (for what it models) | | IOS (HLE) | the player's own console, through LLE with their firmware (a local run) | none public | WiiBrew's `/dev/*` pages; libogc2's callers; hwtests `iostest` | | Dolphin | | Wii Remote, Bluetooth | none | the Bluetooth specification; the ADXL330 data sheet | WiiBrew (real remotes) | | Dolphin | | Disc format and crypto | Redump's ISO SHA-1s (dumps of real discs: tier 1 for the **bytes**, nothing for timing) | FIPS 197 (AES), FIPS 180 (SHA-1) | WiiBrew | | Dolphin's RVZ conversion | **Plainly: there is no hardware-tier oracle for any part's behaviour or timing.** The family has no Wii (Aubrey's hardware is a Super Famicom and an early Genesis). Tier 3 here is mostly WiiBrew, whose pages are reverse engineering with real consoles but rarely state a measurement. hwtests would be the strongest judge (programs whose expected values were taken on real Wiis), and it is GPL: its binaries can be run, its expected values read as test verdicts (facts), its source never opened in this repository. **What counts as a judge, and of what:** - Redump hashes judge the disc reader (bytes in, bytes out). - Public standards judge the AES, SHA-1, HCI, EHCI/OHCI/SDHCI models. - WiiBrew judges register layouts and documented behaviour, tagged DOC. - Dolphin is a **detector**: a difference from Dolphin finds a question, never answers it. Agreement with Dolphin is one emulator agreeing, not hardware. - The LLE run with a player's firmware judges the HLE IOS's contract (D4). ## Milestones (each with its exit test) Python cases are test programs and slices only (domains-and-speed.md). - **M0. Skeleton**: package `wii_python`, the machine table, the bus map of hollywood.md as data, pins of gekko-python (broadway row) and gamecube-python (hollywood row). *Exit*: a table test that every address in the map answers with its owner, Broadway's and Starlet's views both, HW_AIPPROT both ways. - **M1. Hollywood register file, IPC, interrupts, timer**: every register as storage or behaviour; IPC flag semantics both sides; the interrupt controller into PI IRQ 14. *Exit*: unit cases from Hardware/IPC and Hardware/Hollywood IRQs; seeded faults (Y1 settable from Broadway; IRQ 30 not masked) caught. - **M2. Homebrew boot path** (no IOS needed): a DOL or ELF loaded into MEM1 with the low-memory globals (Memory map), Broadway started at its entry; the legacy blocks from gamecube-python. *Exit*: a permissive homebrew program (built from libogc2 with no GPL parts, or our own) draws a known frame (VI picture CRC) and writes a result to the SD model. - **M3. HLE IOS, first resources**: `/dev/fs` (host directory), `/dev/es` (title queries, ticket views), `/dev/stm`, `/dev/sdio`, `/dev/usb/oh1` passthrough, `/dev/di` over a synthetic disc encrypted with a **test** key. *Exit*: the synthetic material of firmware-keys-nand.md decrypts and verifies end to end; every request libogc2's IPC wrappers can issue is either modelled or refused by name. - **M4. Bluetooth and the Wii Remote**: BCM2045 HCI model, one remote with buttons, accelerometer, IR (basic and extended), status, memory reads. *Exit*: a homebrew remote test (built in emu-tools-gpl if it links wiiuse) shows the scripted inputs; seeded faults (a report ID off by one, IR X and Y swapped) caught. - **M5. AHB engines and NAND**: AES, SHA-1, the NAND interface over a synthetic SFFS image, OTP and SEEPROM with test contents. *Exit*: homebrew with AHBPROT open hashes and decrypts known vectors (FIPS) through the engines; the NAND's FAT and FST read back. - **M6. Commercial discs, locally**: a player's ISO (or an RVZ converted by the closed-box tool) with the player's common key: the apploader runs, a game reaches its first frame in the Rust tier; Python runs slices from that state (the late-era proposal). *Exit*: slices identical across tiers; never a CI case. - **M7. GameCube mode** (`rvl-001-gc`): gamecube-python's gate on the hollywood GC row, plus MIOS's patch list as data. *Exit*: the GameCube gate's results equal, title for title, except the patched titles, whose difference matches the patch. - **M8. LLE (optional, local)**: arm926ejs-python, the player's NAND and keys, boot2 to the System Menu. *Exit*: the HLE and LLE runs of one title agree on every IPC reply's value; reply times recorded as the HLE's FITTED values. ## What no judge decides The Starlet's timing; IOS's reply latencies; Hollywood's memory timing against Flipper's (U3, U4); the GX at 243 MHz against 162; the drive's timing; the remote's report cadence. Each stays FITTED or HYPOTHESIS until hardware is measured, and the board's claims file says so.