-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for booting on T8012 (T2) SoC #425
Merged
Merged
Conversation
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
927c09f
to
b24f920
Compare
b24f920
to
be3a61b
Compare
marcan
requested changes
Feb 3, 2025
be3a61b
to
f5883fd
Compare
Changes:
|
svenpeter42
requested changes
Feb 23, 2025
svenpeter42
reviewed
Feb 23, 2025
Address some peculiarities specific to T2: - Reserved memory at top is very large, either 512 MB or 1536 MB, and the amount of memory available for OS use is less than 512 MB. So, mem_size_actual needs to be computed from the amount of enabled memory channels. - Some ranges in /arm-io/ranges is not aligned to the page size. We align them ourselves instead. - On models with a screen, the framebuffer is extremely narrow at 60 pixels in width, so add a smaller logo. Signed-off-by: Nick Chan <towinchenmi@gmail.com>
- Some devices does not have a display internal or external, do not try to prepare framebuffer on it. Instead, skip preparing the display if framebuffer is absent from the FDT. - Only half of the memory channels are used on T2 with 1 GB of memory, and this fact must be learned at runtime because the amount of memory depends on the storage configuration of the host Mac. Signed-off-by: Nick Chan <towinchenmi@gmail.com>
f5883fd
to
cb931c5
Compare
Changes:
|
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.
This PR contains the changes required to boot the kernel on T2 per this LKML submission:
https://lore.kernel.org/asahi/20241201161942.36027-1-towinchenmi@gmail.com/T/#t
Overall T2 is similar to A10, and this takes care of the remaining:
P.S. T2 Boots on the P-core in Apple Fusion Architecture