Skip to content

J813: internal NVMe on the MacBook Air M5 (T8142 ANS2) - #995

Merged
Acelogic merged 3 commits into
aurora-silicon:aurora-wipfrom
sithglan:j813/rb/nvme
Nov 6, 2026
Merged

Acelogic merged 3 commits into
aurora-silicon:aurora-wipfrom
sithglan:j813/rb/nvme

Conversation

@sithglan

@sithglan sithglan commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

The MacBook Air M5's internal SSD: the T8142 ANS2 entry in the Apple NVMe driver (laid out like T8140's; the final shutdown sends SHN as on every post-M4 controller) and the T8142 compatibles in the apple,nvme-ans and apple,sart bindings. aura leaves ANS and its RTKit session running for Linux to adopt.

Tested on the MacBook Air 13-inch M5 (J813): the nine J813 branches (nvme, platform, dts, soc, wireless, media, sound, display, gpu-m5) merged onto integration/aurora 11eccbe, built with the J813 config (7.3.0) and booted through aura's aura-try trial boot. systemd reaches running: NVMe root, the N1 Wi-Fi, the AVD and ISP drivers, PSCI cpuidle, the E/P states, CLPC/PMC and the PMP come up, the M5 GPU backend starts firmware 25G76, and drm/apple drives the panel.

Two sound findings from that boot, neither yet resolved: the installed aura predates the amp-level injection now in aura main, so macaudio disables the speakers (the card binds, but the DT this boot used carries no apple,speaker-config); and opening the microphone fails with LEAP leaf 2 did not power up: Error(110), while the same T8152 driver on the J813's current 7.1 kernel records.

Stability caveat: a second boot of the same image hung about 38 s in, just after the NTP step set off the daily fstrim/apt timers, with no panic record (no pstore). The first boot went through the same timer burst and stayed up for minutes. Until the hang is understood, the combined tree is not proven stable across reboots.

cc @Acelogic @DjDeveloperr @RyanTheTide @LiamRay10

T8142 (M5) ANS2 behaves like T8140: separate NVMe (non-secure alias) and
NVMMU windows, post-M4 queue setup, three power domains. Allow
apple,t8142-nvme-ans2 with apple,t8140-nvme-ans2 as fallback and apply
the three-region reg rule to the T8140 family as well.

Signed-off-by: Thomas Glanzmann <[email protected]>
The T8142 (M5) SART is the coastguard SART with sart-version 3, the
same layout as T6000.

Signed-off-by: Thomas Glanzmann <[email protected]>
The J813 (MacBook Air 13-inch, M5) ANS2 is laid out like T8140's: LSQ
NVMMU, separate NVMMU, IOQ registers, 64-deep queues and broken FUA. As on
every post-M4 controller the final shutdown sends SHN.

aura (the J813 boot loader) leaves the controller and its RTKit session
running for Linux to adopt.

Signed-off-by: Thomas Glanzmann <[email protected]>
@Acelogic
Acelogic changed the base branch from integration/aurora to aurora-wip November 6, 2026 06:21
@Acelogic
Acelogic merged commit 5eb551c into aurora-silicon:aurora-wip Nov 6, 2026
RyanTheTide added a commit that referenced this pull request Nov 6, 2026
Carries the work merged on aurora-wip since #1018 into the release
branch: M5 T8142/J813 bring-up (#995 #996 #997 #998 #1001 #1002 #1003),
T8152/J873 bring-up (#984 #1009 #1013 #1022), J813 AVD/ISP (#1026)
and the selftest harness updates (#1014). The merge is clean; the 13
integration/aurora commits since #1018 are kept.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
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