Fixes [!] GET_CONF response envelope validation failed and failure to read/write A53 SRAM on firmware 9.40 through 11.20. #2
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-drakmor/ppr-patch#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Root Cause
In commit
1b5c3ad, the hardcoded offsets were replaced by a search loop starting fromflags_slotlooking for any 1MB-aligned DMAP address.mp4sc + 0x570(a 16KB internal channel buffer at PA0x09400000/0x0ea00000), rather than the actual 2MB coredump aperture atmp4sc + 0x6b8(PA0x70000000, size0x200000).0xf8000and0xf9000) with the 16KB buffer instead of the kernel's dedicated 2MB coredump aperture (0x70000000), the A53 co-processor did not return DECI5S responses to+0x570, causing envelope validation to fail withmagic_at_off=0x00000000.mp4sc + 0x164has an incrementing counter (0x2030xxxx), which caused static command triggers to be ignored.Solution
iommuphysical address from BAR2 register0xf8000(0x70000000) and scansmp4scto locate the descriptor (iommu_match_slot + 8), ensuring the correct 2MB buffer is bound across all firmware revisions.mp4sc + 0x164for the current command sequence before triggering kicks.fflush(stdout)to prevent socket buffering stalls during payload transmission overnc.Verification
Tested on PS5 retail firmware 11.20 (
0x11200000):GET_CONFparses release string:"cex(1.1.2.01):Oberon-KDE 2025/04/17 02:24 releases/11.20 223898"PPR 11.20 addresses resolved from exact runtime layoutdynamic Native/PLAINTEXT_NOAUTH patch installed and read back