Skip to content

aura 1.0.0b17.r20261202-2: carry aurora-silicon/aura#647 (fix T8140 raw Stage 1 CTXR_D refusal) - #4424

Merged
omarchy-pkgs-merge[bot] merged 1 commit into
masterfrom
aura/carry-647-ctxr-ctl
Dec 2, 2026
Merged

omarchy-pkgs-merge[bot] merged 1 commit into
masterfrom
aura/carry-647-ctxr-ctl

Conversation

@maralcbr

@maralcbr maralcbr commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Summary

 pkgbuilds/aura/PKGBUILD
 pkgver=1.0.0b17.r20261202
-pkgrel=1
-_commit=06cc08b1   # carry/edgeB3-7.3: v1.0.0b17 + 5 carry commits
+pkgrel=2
+_commit=7feed100   # carry/edgeB3-7.3: v1.0.0b17 + 6 carry commits

Carries aurora-silicon/aura#647 (336ce6423704) onto carry/edgeB3-7.3 at 7feed1009635 (tagged carry-input/aura-647-7feed1009635, tracked in omacom/m1n1#51) to fix omacom/omarchy-mac-installer#257.

Root cause & what #647 changes

  • On MacBook Neo (T8140 / j700ap) booted via raw Stage 1, iBoot populates CTXR_A–CTXR_D bounds (with CTXR_D covering the 800 KiB raw Stage 1 image) while locking ACC_CTXR_{A..D}_CTL_EL2 and every secondary CPU's CTXR_{A..D}_CTL_EL1 at 0xc000000000000000 (lock bits [63:62] only, zero policy bits), leaving all 6 CPUs unconfined.
  • aurora-silicon/aura#280 (f0c15a12, shipped in b14..b17) read CTXR_D bounds without checking ACC_CTXR_D_CTL_EL2, falsely declaring raw Stage 1 MacBook Neo boots confined and refusing OS handoff for lacking a 128 MiB window.
  • #647 updates ctxr_range() in src/ctxr_exec.c to check SYS_IMP_APL_ACC_CTXR_{A..D}_CTL_EL2 under GUARD_MARK | GUARD_SILENT (leaving CTRR_RANGE_C/D untouched): returns false only when reading CTL succeeds with zero policy bits below [63:62], fails safe as armed if reading CTL faults (preserving no-probe protection on confined chips including T6050), and rejects wrap-around bounds (upper + SZ_4K < upper).

Evidence

  • PR CI: Build changed packages and all checks green (12/12 passing, Greptile green). Built artifact: aura-1.0.0b17.r20261202-2-aarch64.pkg.tar.zst (SHA-256 9677beb851f1d14282afd433e9b93950879f53b4314329ae22915113f93245b3; Stage 2 m1n1.bin carries ##aura_ver##1.0.0b17-g7feed100 and all 4 ACC_CTXR_{A..D}_CTL_EL2 mrs instructions).
  • Upstream PR: aurora-silicon/aura#647 (336ce6423704) — 16/16 checks green (build, pr-text, pr-readiness, esp-stage2-size with 524,160 B free margin, all 5 stage1-size toolchains gcc/clang-macos/fedora/alarm/nix, aurora-agent-policy, and all 4 test/Pytest matrix legs).
  • EL2 hardware register captures across boot and secondary E/P clusters on 4 Macs (T8140 MacBook Neo raw Stage 1 0xc000000000000000, T6040 M4 Pro Mach-O 0xc000000000aa0199/0x...02aa, T8152 M5 Mach-O 0xc000000000aa0199/0x...02aa, T6000 M1 Pro UNDEF).
  • Host tests at 7feed1009635: 89/89 CTXR/CTRR/hibernation/S2R tests pass (test_ctxr_exec_probe.py, test_ctxr_exec_window.py, test_t6040_hibernate_fixed_window.py, test_secondary_ro_reservations.py, test_mmu_ctrr_l3.py); tests/run-payload-profile.sh + 225/225 payload-profile & M3 tests pass.
  • carry.toml replay: sequential cherry-pick of all 6 carry ranges onto v1.0.0b17 (5a244b5bcbaf) reproduces carry/edgeB3-7.3^{tree} (5dbd3042dd25537a6481953eb5e36c4d99b79d1c) bit-for-bit.
  • Codex reviews (gpt-6.2-sol):
    • Upstream #647 (336ce6423704, session 01a23556-d2f0-7e51-ad1a-a21bab85ea64): VERIFIED.
    • Carry (7feed1009635), tag carry-input/aura-647-7feed1009635, carry.toml, PKGBUILD, and build-qualification.json (session 01a23580-d37b-7971-85d3-fdfb81fb3f86): VERIFIED.
  • Hardware qualification in Omarchy Mac Lab using the exact CI-built aura-1.0.0b17.r20261202-2-aarch64.pkg.tar.zst (9677beb851f1...):
Mac Stage 1 Path tested Result
MacBook Neo (neo, J700, T8140) Raw Stage 1 ba130ffb-dirty Composed Stage 2 (boot.bin SHA-256 a1a194a1..., 14,015,542 B) + reboot + clean rollback to 1.0.0b13-g703a0a92 Booted 1.0.0b17-g7feed100: aurora,ctxr-exec-window absent (unconfined), bogus aurora,s2r-unavailable cleared (aurora,s2r-mailbox published), 6/6 CPUs (0-5), 0 failed units, 0 kernel errors, GPU renderD128, Wi-Fi, Hyprland
MacBook Pro 14 M1 Pro (m1-pro, J314s, T6000) Legacy m1n1 v1.6.1-dirty Real pacman -U (boot.bin + .old verified) + reboot + rollback to 1.0.0b17.r20261129-1 Booted 1.0.0b17-g7feed100: 0 failed units, 0 kernel errors, 10/10 CPUs, GPU renderD128, Wi-Fi, Hyprland; clean rollback boot to 1.0.0b17-g36b6f2bd (0 failed units, 0 kernel errors)
MacBook Pro 16 M4 Pro (m4pro, J616s, T6040) Aura 1.0.0b13-g703a0a92 (Mach-O kcbz=0, confined) One-shot aura-try trial (m1n1/aura647-trial.bin, 14,187,519 B) Booted 1.0.0b17-g7feed100 (marker spent): aurora,ctxr-exec-window = 0x10007e00000 + 128 MiB, 0 failed units, 0 kernel errors, 14/14 CPUs, 7 /dev/video*, GPU, Wi-Fi, Hyprland
MacBook Pro 16 M4 Pro (m4pro, J616s, T6040) Aura 1.0.0b13-g703a0a92 (Mach-O kcbz=0, confined) Real pacman -U (boot.bin + boot-ctxr.bin + .old verified) + reboot + rollback to 1.0.0b17.r20261129-1 Booted 1.0.0b17-g7feed100 (no trial): aurora,ctxr-exec-window = 0x10006600000 + 128 MiB, 0 failed units, 14/14 CPUs, GPU renderD128, Wi-Fi, Hyprland; clean rollback boot to 1.0.0b17-g36b6f2bd (0 failed units, 0 kernel errors)

Merge Danger

Door: two-way, with a rescue

Undo is republishing aura pinned back to 06cc08b1a570 (downgrade + reboot verified on neo, m1-pro, and m4pro). A Mac whose Stage 2 does not boot needs macOS: mount the ESP and restore m1n1/boot.bin.old (and m1n1/boot-ctxr.bin.old on M4+).

Blast Radius: every Mac's ESP Stage 2 (m1n1.bin), affecting CTXR range armedness checks on M4+ / A18 Pro at EL2 (CTRR_C/D and M1–M3 bounds-fault paths are unchanged). Stage 1 is not enrolled by package updates.

Fixes omacom/omarchy-mac-installer#257.

…TXR_*_CTL_EL2 in ctxr_range)

Advance pkgbuilds/aura from 06cc08b1a570 to 7feed1009635 on
omacom/m1n1 carry/edgeB3-7.3 (annotated tag
carry-input/aura-647-7feed1009635, tracked in omacom/m1n1#51).

Carries aurora-silicon/aura#647 (commit 336ce6423704) so ctxr_range()
checks SYS_IMP_APL_ACC_CTXR_{A..D}_CTL_EL2 policy bits below lock bits
[63:62] instead of treating populated bounds with lock-only CTL
(0xc000000000000000) on T8140 (MacBook Neo) raw Stage 1 as an armed
CTXR_D window. Fixes omacom/omarchy-mac-installer#257.

Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
Copilot AI balanced review requested due to automatic review settings December 2, 2026 06:55
@omarchy-pkgs-merge
omarchy-pkgs-merge Bot enabled auto-merge (squash) December 2, 2026 06:56
@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 Tier: plusRetriggerView in Greptile

[Medium impact] No actionable defect was found in the recipe and qualification changes.

Summary

Updates aura to carry the T8140 raw Stage 1 fix described in aurora-silicon/aura#647.

  • Aura checks CTXR policy before treating ranges as armed.

maralcbr explicitly states that hardware qualification is pending the CI-built artifact; this acknowledged status is not reported as a new issue.

Reviews (1) · Last reviewed commit: "aura 1.0.0b17.r20261202-2: carry aurora-..." · Reviewed by Greptile

Copilot AI 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.

🔵 Needs a closer look

The bootloader pin changes EL2 confinement and T8140 sleep-to-RAM eligibility, with exact-artifact hardware qualification still pending and maintainer review of boot, wake, and recovery evidence required before release.

No open issues 🎉

What changed in this PR

Updates Aura’s packaged source to carry the fix for falsely detecting T8140 raw Stage 1 boots as confined, which prevented OS handoff.

Changes:

  • Bumps pkgrel to 2 and pins the new carry commit.
  • Updates the qualification record and its checksum; hardware qualification remains pending.
File Description
pkgbuilds/​aura/​PKGBUILD Updates release, source pin, checksum, and carry documentation.
pkgbuilds/​aura/​build-qualification.json Aligns the qualification record with the new source commit.

Review effort: Balanced

@omarchy-pkgs-merge
omarchy-pkgs-merge Bot merged commit 515c737 into master Dec 2, 2026
15 checks passed
@omarchy-pkgs-merge
omarchy-pkgs-merge Bot deleted the aura/carry-647-ctxr-ctl branch December 2, 2026 06:58
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Package Arch Status
aura aarch64 PR artifact
Channel Status Packages
edge/aarch64 published aura-1.0.0b17.r20261202-2-aarch64

Commit 515c737 · run

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.

MacBook Neo: Omarchy does not boot after update – "Stage 1 did not arm a large enough window"

2 participants