Skip to content

The reference on this Mac: a deep sleep and a wake, with the stock first stage - #137

Merged
CoreyH merged 7 commits into
mainfrom
docs/ref-boot-works
Nov 27, 2026
Merged

CoreyH merged 7 commits into
mainfrom
docs/ref-boot-works

Conversation

@CoreyH

@CoreyH CoreyH commented Nov 27, 2026

Copy link
Copy Markdown
Owner

2026-11-27: Ante042's t600x-s2r-reference kernel with their m1n1 as the second stage, the stock first stage kept, slept this Mac for about 64 s and woke it by the PMU's RTC, back into the session.

Docs and results only.

🤖 Generated with Claude Code

CoreyH and others added 2 commits November 27, 2026 13:17
…d wake it, with the stock first stage; the plan after it

results/ref-boot-20261127/: the test boot's log lines around the deep sleep, the loader swap's
output, and the one-line DRM name patch the kernel needed for this system's Mesa.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
…1n1-aurora

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The repeat-sleep plan needs to prevent an unarmed deep suspend between trials.

Approach: Sound — use the successful resume with the stock first stage to move from one-way replays to repeatability and power measurements.

Reviewed changes across the experiment record, the follow-up plan, and the supporting artifacts.

  • RESEARCH.md records the local safe-boot suspend and resume, its limits, and the separate report from olivergreg’s branch.
  • PLAN.md ends the one-way replay work and prioritizes repeat sleeps, power measurement, and the upstream path.
  • results/ref-boot-20261127/ preserves the loader install verification, the local DRM name patch, and the redacted suspend log.

ℹ️ The pickup section still says the result wasn’t reproduced here

The current “What is known about the entry” notes say no entry completed on this Mac and describe Ante042’s result as unreproduced. That conflicts with the new milestone in the same pickup section.

Technical details
# Keep the pickup status consistent

## Affected sites
- `PLAN.md:40–44` — still describes the state before the local test.
- `PLAN.md:61–66` — records the local completion with the reference setup.

## Required outcome
- Update the earlier bullet or explicitly date it as historical. Keep the local reference result distinct from support in upstream `sleep.c`.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6.2-sol | 𝕏

Comment thread PLAN.md Resolved
Comment thread RESEARCH.md Resolved
Comment thread PLAN.md Resolved
…er bullet brought up to date, reliability checks apart from the power measurement, and the guard for every boot of the reference

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The Omarchy plan needs a Stage 2 build that provides the T6000 resume mailbox.

Reviewed changes in 55cff38 since the previous review.

  • Recorded the upstream follow-up. The plan now links the report of the local test and the offer of a second J314s.
  • Documented Omarchy’s loader alternatives. The plan records the package snapshot and proposes a Stage 2-only Aura trial with the stock loader preserved.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6.2-sol | 𝕏

Comment thread PLAN.md Resolved

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ One clarification inline about where to measure sleep power.

Reviewed changes in 86a61f2 since the previous Pullfrog review.

  • Updated the local result. Recorded the successful resume and described the RTC alarm as the likely trigger based on timing.
  • Extended the suspend guard. Kept the lid open and disabled other suspend paths through failed attempts and between trials.
  • Separated reliability checks from power measurements. Identified the Power-Z as a candidate and listed what needs to be verified before comparing deep sleep with s2idle.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6.2-sol | 𝕏

Comment thread PLAN.md Resolved
CoreyH and others added 2 commits November 27, 2026 13:30
…, for both modes (Pullfrog on #137)

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
…e testing to aura and what is in hand (Pullfrog on #137)

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The new power measurement plan needs to distinguish USB-C input power from wall power and from the battery baseline.

Reviewed changes in 86a61f2 since the previous Pullfrog review.

  • Clarified the wake evidence. Described the RTC alarm as the likely trigger and the roughly 64 seconds as the interval between two log lines, not measured time at low power.
  • Updated the pickup status. Recorded the local result with the reference setup without implying T6000 support in upstream sleep.c.
  • Separated reliability from measurement. Extended the suspend guard through failures and gaps between trials, scheduled the ref-sleep mode restoration fix before the series, and proposed a separate low-current power comparison.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6.2-sol | 𝕏

Comment thread PLAN.md Resolved

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The Aura trial needs the suspend guard in place before boot. Its kernel can select deep sleep during probe.

Reviewed changes in the two commits after 86a61f2.

  • Clarified the power measurement. Specified USB-C DC input for both modes and identified the meter floor and charging draw as checks.
  • Defined the Aura trial. Named the Stage 2 build and mailbox prerequisite, pinned the test kernel, and recorded the pending decision on writable xART.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6.2-sol | 𝕏

Comment thread PLAN.md Resolved
…nd its boot masks systemd's sleep targets from the start (Pullfrog on #137)

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The Aura trial needs a Stage 2 bundle with the matching J314s device tree and a read-only Linux root for the first test boot.

Approach: Testing the upstream port with Aura as Stage 2 keeps the first stage unchanged and preserves a way back to the stock loader.

Reviewed changes from 86a61f2 through 8db1876, including the boot guard added after the 8c880a6 review. This was a static review; no hardware trial was run.

  • Clarified the power comparison. Specified USB-C DC input for both sleep modes and called out the meter floor and charging draw as checks.
  • Pinned the Aura trial. Selected Aura Stage 2 v1.0.0b17 and kernel 5cad606, with the first boot pending approval for writable xART.
  • Moved the suspend guard to boot. Planned to mask systemd sleep targets on the test entry and check the live mailbox and driver log before arming the PMU RTC and requesting suspend.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6.2-sol | 𝕏

Comment thread PLAN.md Resolved
Comment thread PLAN.md Resolved
Comment thread PLAN.md Resolved
… device tree, its boot stays a safe boot, and what is still unverified about the release (Pullfrog on #137)

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes in 58a0404 since the previous Pullfrog review.

  • Pinned the Aura boot bundle. The plan specifies the J314s device tree from the trial kernel build and retains the live mailbox and driver-probe checks before suspend. Pinned device tree
  • Kept the Linux root read-only. The trial requires sleepdrain-safe with RAM overlays regardless of the pending xART decision.
  • Clarified hardware qualification. The tagged Aura stage booted on J316s and J413. The J314s trial with the stock first stage and deep-sleep kernel remains unverified. Aura release notes

Pullfrog  | View workflow run | Using gpt-6.2-sol | 𝕏

@CoreyH
CoreyH merged commit c13ef94 into main Nov 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant