# Validation: the oracles and the milestone gates Tiers: 1 hardware-captured > 2 manufacturer documents > 3 community documents and tests that pass on real hardware > 4 HDL > 5 emulators. A low tier is a detector, never a judge. **No tier-1 oracle we ran, no tier-2 document, no tier-4 FPGA core.** Sony published nothing about the hardware; no PSP FPGA core exists that we know of; we have no PSP. The judges are pspautotests' outputs recorded on real PSPs (tier 3, captured by others) and, for the CPU, vfpu-docs' measurements (allegrex-python validation.md). ## The oracles | Oracle | Tier | Licence | Pin | Decides | Cannot decide | | --- | --- | --- | --- | --- | --- | | pspautotests (hrydgard and contributors) | 3 | none: run only, outputs are facts | `d1454ea` | 723 `.expected` outputs and 28 frame captures, by area: threads 165, gpu 113, net 109, audio 78, cpu 56, video 37, utility 28, font 21, io 14, display 13, intr 12, modules 12, jpeg 11, sysmem 10, umd 7, misc 7, ctrl 6, power 6, hash 4, rtc 4, me 2, and one each for ccc, dmac, hle, kirk, loader, malloc, mstick, string | timing beyond what a test prints; which PSP model recorded a file (U18); the OS's behaviour outside the cases; a 2012 list `not_working_on_real_psp.txt` names `sascore`, `icache`, `vfpu`, `fonttest`, `intr`, `kirk`, `modules` (old: many of those folders were re-recorded since; check each file's history) | | pspsdk headers and stubs | 3 | BSD-3-style | `859b79a` | API shapes, constants, NIDs (3,151 functions in 101 libraries), GE command names | behaviour | | YAPSPD | 3 | none stated: facts | SHA-256 | memory map, I/O bases, GE command list, NAND, exception processing | anything after 2006; partly pasted | | Copetti's article | 3, secondary | CC BY-4.0 | SHA-256 | architecture overview, boot chain, security blocks | cite his sources; some of them are PPSSPP's source (tier 5) and the set-aside wiki | | PPSSPP headless | 5 | GPL-2.0+: closed box; would be built in emu-tools-gpl | not fetched | a detector for every pspautotests case and for games' first frames | nothing as a judge | | JPCSP | 5 | GPL-3.0: closed box | not fetched | a second detector | as above | | MAME | - | | | nothing: no PSP driver (mame-oracle.md) | | ## Milestones (each with its exit test) | M | Content | Exit test | | --- | --- | --- | | M0 | board skeleton: memory map, scratchpad, DDR, VRAM and mirrors, segments, the event queue, the PLL time base | a hand-written program in RAM runs to a known state; mirror reads match YAPSPD 10.2 | | M1 | PRX loader for **plain ELF/PRX** (decrypted only, P2), NID resolution to HLE stubs, a minimal kernel: one thread, `Kprintf`/stdout, exit | pspautotests `cpu/cpu_alu/cpu_alu.prx` prints exactly its `.expected` (and allegrex rungs 1-7 run here) | | M2 | threads, scheduler, semaphores, event flags, mutexes, callbacks, alarms, vblank | `threads/*` (165) at >= 90 %, each failure listed | | M3 | GE front end and the software rasteriser; display scan-out | `gpu/*` (113) and the 28 frame captures; `gpu/exact/*` CRCs exactly | | M4 | I/O manager: UMD ISO, `ms0:` as a host directory, `flash0:` paths; UMD timing model | `io/*`, `umd/*`, `sysmem/*`; a homebrew ELF boots from an ISO | | M5 | audio output, SAS | `audio/*` | | M6 | utility dialogs, power, ctrl, rtc, misc | `utility/*`, `power/*`, `ctrl/*`, `rtc/*` | | M7 | media: PSMF/MPEG demux, AVC via a permissive decoder, ATRAC3+ per P4 | `video/*`, `audio/atrac` | | M8 | slice gate (late-era proposal): states from psp-rust, slices in lockstep | each slice identical in Python and Rust | | M9 | seeded faults | each caught: a thread woken in the wrong order; a GE stall address read one word late; a missing D-cache writeback join; a VRAM mirror written through | Wi-Fi (`net/*`, 109) is **late**: stubbed until M9 passes. ## What no judge decides - The GE's timing (no recorded test prints cycle counts that we have read; U8). - The HLE calls' cycle costs: FITTED or HYPOTHESIS by construction (hle-vs-lle.md). - Anything about the ME, syscon, Lepton, KIRK beyond what the kernel shows.