# The boot chain and the firmware: never shipped, SHA-1 only ## The chain (Copetti, "Kernel/IPL" and "Boot process"; DOC) 1. **Pre-IPL**: a 4 KB ROM inside Tachyon at the reset vector 0x1FC00000 ("Bootrom", "Lib-PSP iplloader"). Its first half copies its second half to the scratchpad and runs it there; it reads the next stage from NAND (or, in factory service mode, from a Memory Stick). 2. **IPL** (encrypted in NAND): decrypted with KIRK into the GE's eDRAM and run there. Its loader stage resets the CPU and **hides the Pre-IPL ROM from the memory map**, decompresses `main.bin`, which initialises the rest of the hardware including DDR, then decrypts the payload into main memory. 3. **Payload**: loads the kernel modules from flash0 (sysmem, loadcore, threadman, interruptman, iofilemgr, ... YAPSPD names them as register users), then the VSH (the XMB shell), which launches a game. 4. **Game**: an encrypted module (`~PSP`) that the kernel decrypts with KIRK and per-firmware keys (Copetti, "KIRK"; census.md shows every sampled image encrypted). ## What each piece is to us | Piece | Where it lives | Under HLE | Under LLE | Our rule | | --- | --- | --- | --- | --- | | Pre-IPL ROM | Tachyon mask ROM | not used | the reset vector | never shipped, never read; a player's dump identified by SHA-1 | | IPL, IDStorage, flash0/1 | NAND | not used (flash0 paths faked where games read them) | loaded from a NAND dump | never shipped; SHA-1 | | Sony's kernel modules and libraries | flash0 (and firmware updates on UMDs: `PSP_GAME/SYSDIR/UPDATE/`) | replaced by `psp_python.kernel` | run | never shipped; SHA-1 | | ME firmware | flash0 (mebooter, me_wrapper) | not used | run on the ME | as above | | Syscon firmware | the MCU's own flash | not used | needs an MCU core | never shipped | | Lepton ROM | the drive's SoC | not used | needs Lepton modelled | never shipped | | KIRK and SPOCK keys | silicon, and tables in the firmware | needed only to decrypt `~PSP` executables (P2) | needed for everything | **never shipped, never copied** (YAPSPD 8.7.1 prints some: the file stays in the ignored `reference/`, unread for that chapter) | | Fonts (`flash0:/font`) | flash0 | games and `font/*` tests read them | | never shipped; P8 | ## The census of firmware we hold None. `scripts/census_firmware.py` hashes a player's dumps in `$PSP_FIRMWARE_DIR` by SHA-1 and matches them against a table that is empty on 2026-11-26, because no dump is on this machine and no hash list from a source we may use was found (the PSP Developer Wiki, which keeps such lists, is set aside by its robots.txt). Run on 2026-11-26: `PSP_FIRMWARE_DIR is not set: no player-supplied firmware to identify; known hashes: 0` (`tests/detectors/census-firmware-2026-11-26.txt`). Firmware updates that **games carry** are on the UMDs themselves (`SYSDIR/UPDATE/`, seen in the PSN images read tonight; Copetti, "Updatability"): the library holds many copies of Sony's firmware updater, encrypted. They are read by nothing and identified, if ever, by SHA-1 only.