mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
hekate 6.5.3 with the stock bootloader folder never reached Nyx. Nyx
trains the DRAM itself with Minerva, and Minerva spun forever on
PLLMB_BASE.LOCK: the CAR model had no PLLMB and read it as 0. Behind
that poll were more. Every EMC register but three read 0, so Minerva
would have spun on the DLL-enable bit it writes to EMC_CFG_DIG_DLL and
on EMC_DIG_DLL_STATUS lock, timed out on the clock-change handshake, and
divided by a zero MR18/MR19 oscillator count.
- CAR: PLLMB_BASE/MISC1 per TRM 5.2.230-231, locking once enabled.
CLK_SOURCE_EMC, _EMC_DLL and _EMC_SAFE read back what was written,
from their TRM resets. A written PLLM or PLLU reads back its
dividers, which were dropped before while ENABLE was clear.
- EMC: a register file with broadcast and per-channel banks, plus:
- MRW capture and MRR data/MRR_DIVLD per channel.
- MR4 at normal temperature, and MR18/MR19 computed from MR23's run
time at the current DRAM clock over 2 x tDQS2DQ.
- DLL lock.
- The CAR/EMC clock-change handshake: a new CLK_SOURCE_EMC source or
divisor replays the CCFIFO and raises CLKCHANGE_COMPLETE.
With the stock folder, Nyx now trains 204, 800 and 1600 MHz and runs
its 800/1600 MHz power-saving loop, on Erista and Mariko. hwtest's
output is unchanged. The WDT cookie that keeps hekate's IPL from
training is kept; its comments no longer claim the EMC can't do it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YYewwDPujjo5B2xRyC5Grb