Repository navigation
The reference on this Mac: a deep sleep and a wake, with the stock first stage #137
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c4de553
The reference on this Mac: Ante042's kernel and second stage sleep an…
CoreyH 55cff38
PLAN.md: the thread told; Omarchy's repository packages aura beside m…
CoreyH 86a61f2
After Pullfrog on #137: the RTC as the likely wake, the pick-up's old…
CoreyH dfdb967
PLAN.md: the power monitor reads the charger's DC output into the Mac…
CoreyH 8c880a6
PLAN.md: a mailbox-capable aura as a prerequisite; Corey's move of th…
CoreyH 8db1876
PLAN.md: the aura trial checks the mailbox node in the device tree, a…
CoreyH 58a0404
PLAN.md: the aura trial's bundle carries the trial kernel's own J314s…
CoreyH File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| the stock recipe (update-m1n1's, from /etc/default/update-m1n1): /usr/lib/asahi-boot//m1n1.bin (3866624 bytes), 115 device trees, /usr/lib/asahi-boot//u-boot-nodtb.bin gzip'd (312383 bytes), 0 configuration lines | ||
| rebuilt from the installed inputs: sha256 1f1640d71cd50c3252f48fbee26e0eaaefcd7f9a3840517d2c107e2edcc856ed (9804783 bytes) | ||
| /boot/m1n1/boot.bin as it is: sha256 1f1640d71cd50c3252f48fbee26e0eaaefcd7f9a3840517d2c107e2edcc856ed (9804783 bytes), confirmed on the partition (synced, then read from the device) | ||
| match: the live boot.bin is exactly what the recipe builds, confirmed on the partition (synced, then read from the device) | ||
| kept the stock loader as /boot/m1n1/boot.bin.stock (sha256 1f1640d71cd50c3252f48fbee26e0eaaefcd7f9a3840517d2c107e2edcc856ed, read from the device) | ||
| installed: /boot/m1n1/boot.bin is now the bundle (sha256 96f6e465d30baab1dbfe99efa11529df63bf710155f0cedf4435a4a091d0bbfd, 5475525 bytes, read from the device) | ||
| the stock loader is /boot/m1n1/boot.bin.stock (sha256 1f1640d71cd50c3252f48fbee26e0eaaefcd7f9a3840517d2c107e2edcc856ed) | ||
| Until the stock is put back, every start of Linux on this Mac goes through this loader and gets its device trees: | ||
| the regular kernel too, not only a test kernel. | ||
| To go back: | ||
| from Linux, in a regular boot or a safe boot: pkexec ref-loader restore | ||
| from macOS, if Linux doesn't start: mount the EFI partition (ref-loader recovery-notes says which one), copy | ||
| m1n1/boot.bin.stock over m1n1/boot.bin, eject, restart | ||
| A package update that runs update-m1n1 also writes a stock loader over it (and keeps this bundle as boot.bin.old). |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| diff --git i/drivers/gpu/drm/asahi/driver.rs w/drivers/gpu/drm/asahi/driver.rs | ||
| index ba6301fa1..f9244660e 100644 | ||
| --- i/drivers/gpu/drm/asahi/driver.rs | ||
| +++ w/drivers/gpu/drm/asahi/driver.rs | ||
| @@ -95,7 +95,7 @@ pub(crate) struct AsahiDrmRegistrationData<'drm> { | ||
| major: 1, | ||
| minor: 0, | ||
| patchlevel: 0, | ||
| - name: c"aurora", | ||
| + name: c"asahi", | ||
| desc: c"Aurora GPU for Apple AGX", | ||
| }; | ||
|
|
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.