Repository navigation
AVE on the M1 Pro and M2: admit the preloaded TEXT, T8112 vm-base handoff - #140
Closed
RyanTheTide wants to merge 3 commits into
Closed
RyanTheTide wants to merge 3 commits into
RyanTheTide wants to merge 3 commits into
Conversation
iBoot preloads the T6000/T6001 AVE firmware and latches the physical __TEXT base in the coprocessor's reset vector, so the core fetches its first instructions physically through the dart-ave0 address filter. Program dart-ave0's ADT filter like the other coprocessors' and, when no ADT entry covers the preloaded __TEXT (segment-ranges[0]), add one read-only entry for it, as iBoot does for ISP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the M2 iBoot sets the encoder's code base to the AVE DART's vm-base (0x800000000), and the firmware addresses its DATA at vm-base plus the DATA offset. With the segments reserved at their bare iova-offset, the first DATA store from the running firmware faulted on the DART at vm-base + DATA + 0x60358 and the firmware never answered. Reserve both segments at vm-base + iova-offset on T8112. The T6000 keeps DART address zero. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #126. Hands the AVE firmware to Linux the way the M1 Pro and M2 cores fetch it.
Tests
🤖 Generated with Claude Code