-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aop/exp: Bringup AOP ASC (audioep doesnt work yet)
Works up til aop.audioep.ready on j293ap 13.5 Notably endpoints 0x20-0x22 must be started before asc boots. This means the asc api has got to change. Thus we are currently writing to the CPU control directly which is undesirable. The 3 endpoints are spu, accel, and gyro respectively. I'm not sure if the Macs even have accel/gyro? Or they are iDevice vestiges (hence they have to be "turned on" before). Only after asc boots the lower sys endpoints (0x0-0x8) and the endpoints 0x24-0x28 are then started. 0x24 is LAS (lid angle something; but I thought that was DCP?), 0x25 is wake hint, 0x26 is unk (might be ALS), 0x27 is audioep which is not yet working and I now get to do, and 0x28 is voice trigger ep. After booting asc we get this, which is identical as macOS. First in inbox is voicetriggerep which is as expected: ``` 0x24a400000+000044 CPU_CONTROL = 0x10 (RUN=1) 0x24a400000+000048 CPU_STATUS = 0xd (IDLE=0, FIQ_NOT_PEND=1, IRQ_NOT_PEND=1, STOPPED=0, RUNNING=1) 0x24a400000+008110 INBOX_CTRL = 0x26601 (FIFOCNT=0x0, OVERFLOW=0, EMPTY=1, FULL=0, RPTR=0x6, WPTR=0x6, ENABLE=1) 0x24a400000+008114 OUTBOX_CTRL = 0x100101 (FIFOCNT=0x1, OVERFLOW=0, EMPTY=0, FULL=0, RPTR=0x0, WPTR=0x1, ENABLE=1) 0x24a400000+008800 INBOX0 = 0x80000000000000 () 0x24a400000+008808 INBOX1 = 0x28 (EP=0x28) 0x24a400000+008830 OUTBOX0 = 0x100000000c000c () 0x24a400000+008838 OUTBOX1 = 0x10010000000000 (OUTCNT=0x1, INCNT=0x0, OUTPTR=0x0, INPTR=0x1, EP=0x0) ``` Signed-off-by: Eileen Yoon <[email protected]>
- Loading branch information
Showing
1 changed file
with
48 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters