Skip to content

aura 1.0.0b13.1-2: pin aura main 82ee5d6f (M5 Pro deep sleep) - #376

Merged
DjDeveloperr merged 1 commit into
mainfrom
djdev/m5-edge-aura-82ee5d6f
Nov 20, 2026
Merged

DjDeveloperr merged 1 commit into
mainfrom
djdev/m5-edge-aura-82ee5d6f

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Moves the aura pin from v1.0.0b13.1 (5dcf62d0) to aura main 82ee5d6f, the Stage 2 the M5 Pro (J714s) deep-sleep release gate boots. Part of the M5 Pro deep-sleep Edge release prep: plan in aurora-silicon/aurora-distributions#63 (docs/m5-pro-edge-release.md).

Draft: do not merge before the M5 release-gate boot (Aurora Agents seq 1848) passes on aura 82ee5d6f, and before a Neo and one pre-M4 Mac have booted an 82ee5d6f Stage 2. The bump brings in the whole of main since b13, including the 11-20 fail-closed sweep, which touches every chip.

Files

  • packages/aura/PKGBUILD: _commit, pkgrel 2, the build-qualification.json checksum.
  • packages/aura/build-qualification.json: source_commit.
  • sources.json: aura commit, URL, archive root, sha256.

Why

The M5 needs aurora-silicon/aura#214 (76f6d953): the T6050 sleep controller's wake sources (apple,wake-enable) and skipped pins (apple,pinctrl-skip-pins) from the ADT, plus the T6050 SIO tables. 5dcf62d0 does not have it. Every M5 deep-sleep gate ran a Stage 2 with it. The per-unit GPU leakage words were already handled: aura 9f501f32 fills them at boot and is in 5dcf62d0 too.

5dcf62d0 is a maintenance tag, not an ancestor of main. Its one fix, aurora-silicon/aura#213 (564efba5), is on main as 21325c85, so nothing is dropped.

Versioning

  • The version stays 1.0.0~b13.1 and the release goes up, as the earlier main pins did (b10-4, b10-5).
  • The archive build labels itself 1.0.0b13-g82ee5d6f from main's VERSION and the commit.
  • Main's rust/Cargo.lock is unchanged since 5dcf62d0, so nixos-aurora's locks/aura.Cargo.lock still matches.
  • Tarball: codeload…/aura/tar.gz/82ee5d6fdbdf9ce54a820eb673a9e546191db092, sha256 4a4d9c2dcd622a700ad84fbdaefcbc72aed8081d7486657b2e663d69f67eb982, 2,517,418 bytes, 955 files (the same count as git ls-tree at 82ee5d6f). Downloaded twice with the same digest; the old pin's digest reproduced the same way.
  • aura's own CI at 82ee5d6f passed the fedora, alarm and nix build jobs, the Stage 1 and Stage 2 size checks and the tests.

What the bump brings in (aura main merges since b13, newest first)

  • aura#332 kboot: leave one device tree margin on every Mac
  • aura#331 kboot: check that SEPFW and its manifests lie in DRAM on every chip
  • aura#330 kboot: refuse an unresolvable display device on every chip
  • aura#337 startup, smp: keep every secondary off the console in its reset path
  • aura#328 kboot: key the speaker safety profile on the ADT, not on T8140
  • aura#327 data: keep the execute-window chip rule in one file and check it on boot
  • aura#321 main: clear iBoot's failed-boot count on every chip
  • aura#317 payload: Refuse the CPU handoff on every chip when CPU setup fails
  • aura#314 kboot: pick the radio handling by its compatible, not by T8140
  • aura#320 mcc: Make carveout and MCC failures fatal on every chip
  • aura#319 cpufreq: one cluster path for T8140, T6040/T6041 and T8152
  • aura#336 usb: fall back to unnumbered port nodes on any ADT that has them
  • aura#326 nvme: report multi-block read fallbacks and set CC.MPS for the PRPs
  • aura#325 usb: bound the CDC flush on every chip, by drain progress
  • aura#323 sio: choose the table address and layout from where iBoot remapped the firmware
  • aura#322 wdt: take the proxy watchdog request on any chip with the v2 layout
  • aura#316 chickens: let every M4- and M5-generation core take AIC IRQs
  • aura#329 isp: select the ISP17a path by its ADT compatible
  • aura#340 kboot: export the T6040 USB2 device tunables
  • aura#304 isp, dapf, kboot: make ISP placeholder handoff, DAPF sync, and power skip property-driven
  • aura#373 proxyclient: chainload, kboot: gpu: park blobs above inherited top and support 27.2 3-segment T6041 GPU framing
  • aura#265 kboot: display: hand off T6041 internal DCP and dcpext on macOS 27.2
  • aura#260 kboot: hand off the ANE firmware preload on the M4
  • aura#194 j813: let kboot keep MTE off, not a fixed arm64.nomte
  • aura#309 kboot: hand the J713 ISP its address filter windows from the ADT
  • aura#312 smp: never store to a locked RVBAR when pointing it here (T8122 boot loop)
  • aura#254 kboot: end a zero-padded ACIO tunable table at its first empty entry
  • aura#261 kboot: T6050: hand the M5 Ultra's GPU to Linux instead of refusing its firmware build
  • aura#263 pmgr: stop reading die 0's power words for a two-die SoC's die-1 devices
  • aura#283 exception: latch GUARD_SILENT before GUARD_RETURN clears the guard
  • aura#295 build(deps): bump cachix/install-nix-action from 31.11.3 to 31.11.5 in the github-actions group
  • aura#294 sptm_virt_s2r: clang-format two printf calls
  • aura#277 sptm_virt: T8142: macOS on all ten cores, and a trace of its sleep and wake
  • aura#272 kboot: T8142: publish ANS's APCIe and the radio port's tables for the sleep controller
  • aura#250 pcie, nvme: T8142: power ANS off and back through its storage gates
  • aura#251 kboot: hand off the T8142 (M5) ANE firmware preload
  • aura#270 docs, recovery: run bputil -nc before every enrolment
  • aura#181 sptm_virt: macOS 27.2.1 (26B131) as a guest on T6041 (J616c)
  • aura#279 kboot_gpu: T6050: give the M5 Max (G17C) GPU its leakage calibration words
  • aura#214 M5 Pro (T6050): SIO tables, and the sleep controller's wake sources and skipped pins from the ADT
  • aura#257 auractl: XNU (acct) guest entry to main
  • aura#255 pcie: Name the compatibles of an unsupported controller
  • aura#252 aura-raw.ld: fit the SPTM_VIRT ESP Stage 2 below _file_limit again
  • aura#70 feat: add SPTM virtualization, trace macOS guest under hypervisor
  • aura#215 kboot: hand the T8142 (M5) encoder its preloaded firmware
  • aura#230 kboot: T6050: report the firmware release to the GPU driver
  • aura#193 J714c (M5 Max): USB through the generic gadget path, the T6050 PMP DART, and the G17C GPU handoff
  • aura#212 kboot: T6041: hand over dcpext3 firmware memory
  • aura#226 kboot: T6050: hand the K116s internal panel off on 27.2
  • aura#221 fw/dcp: add the 27.3 beta firmware to the Ver matrix
  • aura#220 hv: hook the ATC PMGR devices only for a USB iodev
  • aura#229 chickens: let every M4 Pro/Max core take AIC IRQs
  • aura#188 kboot: T6050: hand the K116s camera over on 27.2
  • aura#187 kboot: T6050: admit the 27.2 (26B8125) G17S firmware of the K116s
  • aura#217 smp: publish the S2R mailbox where RVBAR is not locked
  • aura#206 kboot: add K114c to T6050 ISP handoff
  • aura#216 firmware: add macOS 27.3 beta
  • aura#211 docs: pin each release in the distributions and the installer
  • aura#203 kboot: T6050: PCIe: let an auto-PM storage domain gate itself during port bring-up
  • aura#207 kboot: Copy the display ADMACs' LLT detector tunables into the DT

Not done here

  • aurora-installer's aura submodule and pinned_stage1_bytes still name 5dcf62d0. aura's RELEASING.md moves them with a tagged release; the installer conformance matrix compares them with the distribution pins. Edge needs no installer change, because an installed Mac keeps Alpha 22's Stage 1 and the payload carries the Stage 2.
  • A tagged aura release (b14) would be the cleaner pin. This draft pins exactly what the gate boots.

Tests

  • python3 -m unittest in this repo passes.
  • CI builds the package.
  • No hardware here; the gate is the M5 lane's.

🤖 Generated with Claude Code

Moves aura from v1.0.0b13.1 (5dcf62d0) to main 82ee5d6f, the Stage 2
the M5 Pro (J714s) release gate boots. Main already carries b13.1's one
fix (aura#213, as 21325c85). The PKGBUILD labels the build
1.0.0b13-g82ee5d6f from VERSION and the commit, as for earlier main pins.

What the M5 needs from it is aura#214 (76f6d953): the T6050 sleep
controller's wake sources and skipped pins from the ADT, and the T6050
SIO tables. The bump also brings in the rest of main since b13, among it
the 11-20 fail-closed sweep that touches every chip (fedora-aurora's
aura.spec changelog lists it).

build-qualification.json names the new source commit; its sha256sums
entry follows.

Signed-off-by: Diljit Singh <hey@djdev.me>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RyanTheTide

Copy link
Copy Markdown
Contributor

Hardware row: aura main 82ee5d6f Stage 2 (one-shot), M1 Pro + J700

One aura-try ESP Stage 2 boot per machine of the CI aura-release build of 82ee5d6f (run 44689834845, stage2 aura.bin, dev-82ee5d6fdbdf), with the head swapped into each machine's installed Stage 2 (same DTBs and U-Boot). Stage 1 unchanged, production kernel, then back to the installed Stage 2 (hash re-checked). This is the CI build of the pinned commit, not the package built by this PR.

M1 Pro (T6000) J700 (T8140)
Stage 2 before -> trial 1.0.0b10 -> dev-82ee5d6fdbdf 1.0.0b12 -> dev-82ee5d6fdbdf
boots to userspace yes (gdm, SELinux enforcing, 0 AVC, 0 kernel errors) yes (gdm, SELinux enforcing, 0 AVC, 0 kernel errors)
CPUs online 10/10 6/6
failed units 0 0
s2idle (RTC wake) 3/3, Wi-Fi back each time 3/3, Wi-Fi back each time
new refusal lines in the Stage 2 log vs the installed Stage 2 0 0 in the retained log (see below)
NVMe IRQ share on CPU0 0.016 -> 0.007 1.000 -> 0.043
cpufreq max unchanged unchanged
H.264/HEVC hardware encode byte-identical byte-identical
DART tunables handed to the kernel 5 -> 31 DT nodes 0 -> 25 DT nodes, 25 applied
DART faults, NVMe/USB/Wi-Fi errors 0 0

Result: PASS on both.

Notes
  • J700: the Stage 2 log ring wrapped on the trial boot, so lines before t=7.755 s (Stage 2 entry through the payload scan) were overwritten. A refusal that blocks the handoff would have stopped the boot. Non-fatal refusal text from that early window could not be checked on this machine. The M1 Pro log is complete.
  • FDT: no unique enabled DART at ... (M1 Pro: three dcpext DARTs; J700: two) is the fail-soft skip for DART nodes that are disabled in the DT. It is not a refusal.
  • M1 Pro Stage 2 is about 1.4 s slower from the payload scan to the kernel jump (0.56 s -> 1.98 s). Almost all of that is the new per-DART tunable copy (about 45 ms per table): dt_find_dart_by_address walks the whole FDT once per ADT DART instance. On the J700 that span was 0.25 s faster. Total systemd-analyze time did not get worse on either machine. This is a follow-up for aura, not a blocker for the pin.

@DjDeveloperr
DjDeveloperr marked this pull request as ready for review November 20, 2026 12:16
@DjDeveloperr
DjDeveloperr merged commit 069800d into main Nov 20, 2026
6 checks passed
@DjDeveloperr
DjDeveloperr deleted the djdev/m5-edge-aura-82ee5d6f branch November 20, 2026 12:17
DjDeveloperr added a commit that referenced this pull request Nov 20, 2026
aura 1.0.0b13.1-3: go back to v1.0.0b13.1 (revert #376's 82ee5d6f pin)
AxxzyWasTaken pushed a commit to AxxzyWasTaken/alarm-aurora that referenced this pull request Nov 21, 2026
Reverts the aura pin of aurora-silicon#376 (5bc43be, aura main 82ee5d6f). That main
carries aura#320 (18b5e396), which makes any mcc_init() failure fatal on
every chip. On the M4 Mac mini (J773g, T8132) mcc_init_m4() reads
amcc_aperture_count into a u64 with ADT_GETPROP, the J773g ADT stores it
in 4 bytes, and every main-based Stage 2 panics about 44 ms in and the
watchdog resets the Mac. b13.1 logs the failed read and boots on.

The install lists admit every T8132 board (J604, J713, J715, J773g), and
82ee5d6f has booted only on an M1 Pro, the Neo (T8140) and the M5 Pro
(T6050), never on an M1, M2 or M3 Mac.

The release goes up to 3 instead of back to 1: the -2 package is
already built on main, and a snapshot made from those builds must not
be a downgrade from the one before. The PKGBUILD, build-qualification.json
and sources.json are otherwise exactly as they were at 5dcf62d0.

The aura fix reads the count at either width; the pin moves again once it
has booted on the J773g, a J713 and one M1, M2 or M3 Mac.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Diljit Singh <hey@djdev.me>
AxxzyWasTaken pushed a commit to AxxzyWasTaken/alarm-aurora that referenced this pull request Nov 21, 2026
Moves aura from v1.0.0b13.1 (5dcf62d0) to 2f487f26 (public branch
djdev/mcc-count-width-on-82ee5d6f): aura main 82ee5d6f, the Stage 2 the
M5 Pro (J714s) release gate boots, plus aura#384 (4f44e1f6) and the
aura#392 MCC count-width and fail-soft fix. The PKGBUILD labels the
build 1.0.0b13-g2f487f26 from VERSION and the commit, as for earlier
main pins. Main already carries b13.1's one fix (aura#213, as 21325c85).

aurora-silicon#376 pinned 82ee5d6f alone and aurora-silicon#382 reverted it: 82ee5d6f carries
aura#320, which makes an mcc_init() failure fatal on every chip, and
every T8132 (M4 base) ADT stores amcc_aperture_count in 4 bytes where
mcc_init_m4() read 8, so every M4 base Mac resets about 44 ms into
Stage 2. aura#392 reads the counts at either width and leaves an MCC
that the ADT does not describe undriven. 2f487f26 differs from 82ee5d6f
only in src/mcc.c, mcc.h, main.c, memory.c and the new MCC test.

The release goes to 4: -2 (82ee5d6f) was built on main and -3 is the
revert, so this sorts above both.

build-qualification.json names the new source commit; its sha256sums
entry follows. sources.json takes the codeload tarball, sha256
33e4bdd6...a975.

Signed-off-by: Diljit Singh <hey@djdev.me>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants