mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
TegraExplorer hung for good the first time it touched the eMMC. Moving SDMMC4 to HS200 enables PLLC4, and TegraExplorer's bdk waits for PLLC4_BASE.LOCK with no timeout; the CAR model had no PLLC4, so the bit never came. On Erista that stopped it at startup, before its key dump; on both SoCs "Browse EMMC" hung. hekate's newer bdk times the wait out, which is why nothing else showed it. - PLLC4 locks once enabled and out of IDDQ (bit 18), setting LOCK and FREQLOCK (27, 28); LOCK_OVERRIDE (24) forces them. - PLLC2, PLLC3, PLLDP and PLLA1 lock on ENABLE like PLLC/A/X/D2 (bit 27; PLLA1 also 26, PLLDP also 28). The read-only lock bits are no longer stored from a payload's read-modify-write. - UTMIPLL_HW_PWRDN_CFG0.LOCK is set unless software holds the USB PLL in IDDQ, its reset state, so clock_enable_utmipll() sees the lock instead of timing out. TegraExplorer now reaches its main menu on both SoCs and lists the eMMC's partitions under "Browse EMMC". With no BOOT0 image it cannot read package1, so the Erista key dump falls back to prod.keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YYewwDPujjo5B2xRyC5Grb