Skip to content

drm/asahi: t6041: admit the J614C 25G83 image under system firmware 27.2 - #2082

Merged
RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
hci-kitten:t6041-j614c-iboot27
Nov 22, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
hci-kitten:t6041-j614c-iboot27

Conversation

@hci-kitten

Copy link
Copy Markdown
Contributor

On a 40-core J614C (MacBook Pro 14", M4 Max) running system firmware 27.2 (mBoot-20457.41.3) with the 26.6.2 stub, the GPU is refused:

unsupported GPU firmware build: TEXT 0x60000 DATA 0x138000 entropy 0x59839/0x5991c (2 boot-filled ranges zeroed) sha256 1b5421516675205e0d9025d55af89110e1afdf89dadb09f481c63d3615a52c7d
GPU firmware image not admitted: EINVAL

Core masks are 0xffffffff, 0xff (40 cores). The firmware build is the same 25G83, but under this iBoot the loaded TEXT matches the J575C's boot-filled measurement rather than the J614C's. This adds that measurement as a fourth 25G83 image. The configuration is still selected by the probed cores, so this runs with CONFIG_25G83.

Testing: on that machine with the distro module (7.3.0.aurora1-40), with the J575C digest replaced by this one. That admits the image through the same ranges and the same core-selected configuration.

  • GPU firmware build: Apple GFX 25G83 for T6041 (normalized loaded image, 40-core J575C), RTKit up, renderD128 present
  • Mesa: Apple M4 Max (G16C B1), OpenGL 4.6, OpenGL ES 3.2, Vulkan 1.4 (Borealis)
  • Offscreen GLES2: 500 frames of a clear and a full-screen triangle into an FBO; glReadPixels returns the expected color, no GL errors, no GPU faults in the log

This exact commit was not built here.

On a 40-core J614C (MacBook Pro 14", M4 Max) with system firmware 27.2
(mBoot-20457.41.3) and the 26.6.2 stub, iBoot fills the loaded 25G83
TEXT the way it does on the J575C: the header load field and the SLID
record block. The image then matches no admitted measurement and the
GPU is refused ("GPU firmware image not admitted: EINVAL").

Measured with the J575C boot-filled ranges zeroed, it is 1b542151...7d.
List it as a fourth 25G83 image. The configuration still follows the
probed cores, so it runs with CONFIG_25G83 like the J614C entry.

Tested on that J614C with the distro module (7.3.0.aurora1-40) whose
J575C digest was replaced by this one, which admits the image through
the same ranges and the same core-selected configuration: Mesa reports
"Apple M4 Max (G16C B1)" (GL 4.6, Vulkan 1.4), and offscreen GLES
renders read back correctly with no GPU faults. This exact commit was
not built here.
@RyanTheTide

Copy link
Copy Markdown
Contributor

The production boot stub pins at macOS 27.2 (26B123), so please retarget this to 27.2. Please identify the J614C GPU image loaded by the 27.2 stub rather than the 26.6.2 stub's 25G83.

@RyanTheTide

Copy link
Copy Markdown
Contributor

Blockers: 1.

  1. Commit dda522b has no Signed-off-by: line, so it fails DCO. Add the author's sign-off (a new branch and PR if the history cannot be amended without a force push).
  2. drivers/gpu/drm/asahi/hw/t6041.rs:119: the build is still named "macOS 26.6.2 (25G83, iBoot mBoot-18000.161.10)", and that string is what the probe logs, but it now also admits an image loaded by mBoot-20457.41.3. Name the build by the GPU firmware (25G83) and leave the iBoot versions to the per-image names, so the log does not misreport which loader was used. (Nit.)

The entry itself is consistent with the existing J575C one: same entropy offsets and boot-filled ranges, it lands in the shared image list used by both 25G83 configurations with selection still by probed cores, and t6041_builds_admit_only_their_own_images (fwid.rs:473) covers it without changes.

HW row: J614C (40-core, system firmware 27.2) running a kernel built from this head, not the distro module with a swapped digest: GPU firmware build: ... 40-core J614C, iBoot 27.2, renderD128, the GLES offscreen readback from the PR plus a short Vulkan smoke, no GPU faults, 0 AVC / 0 failed units / no new kernel errors.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide
RyanTheTide merged commit 2abbfe7 into aurora-silicon:integration/aurora Nov 22, 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.

2 participants