Skip to content

media: apple: ave: admit the J775D's encoder by its build's per-boot word - #2882

Open
funkzy wants to merge 1 commit into
aurora-silicon:mainfrom
funkzy:upsm/ave-t6050-boot-word
Open

funkzy wants to merge 1 commit into
aurora-silicon:mainfrom
funkzy:upsm/ave-t6050-boot-word

Conversation

@funkzy

@funkzy funkzy commented Nov 22, 2026 •

Copy link
Copy Markdown

Problem

On the Mac Studio (J775D), with #2278's device tree, the video encoder is refused at probe: apple-ave 2283100000.video-encoder: error -ENODEV: unsupported firmware (text CRC 68d5bd6c). The TEXT CRC is different on every boot. The firmware is the 26A428 build that the T6050 variant already admits. Two boots' TEXT differ only within one word, and with that word zeroed the TEXT CRC is 87279429 (AVE_FW_TEXT_CRC_T6050_26A428) on every boot checked: eight, two of them on an earlier test kit.

Why this shape

The T6041 and T8132 variants already handle this word: a TEXT CRC that is not a known build is retried with the word zeroed (Roberto Dantas's T6041 mechanism, extended to T8132 by RyanTheTide in 351ec42). The offset sat on each variant, though, and the word belongs to a firmware build, not a chip. On T6050 a variant-wide offset would also reach the 26C5035 build, whose TEXT is larger and which has not been checked for such a word. So the offset moves into struct ave_fw_build, the per-build entry the driver already uses to tell builds apart by segment sizes and CRC. On T6050 only 26A428 sets it, so 26C5035 keeps exact matching. T6041 and T8132 now list their builds (sizes, CRC and word) instead of variant-wide sizes, so no variant copy is left, and T6041's second DATA size becomes its second build. A known CRC is still taken as it is, and the loader-integrity check still covers every TEXT byte, the word included.

Change

ave.h: text_boot_word moves from struct ave_variant to struct ave_fw_build, and fw_data_size_alt goes away. ave-fw.c: the retry takes the word from the build matched by segment sizes. ave-drv.c: build tables for T6041 (two builds) and T8132 (one); 26A428 on T6050 sets the word. ave-abi-test.c: the KUnit case checks the word per build, including that 26C5035 has none. On the J775D this takes effect together with #2278, which enables the encoder node there.

Testing

J775D (M5 Ultra Mac Studio), default 27.0 stub (26A428 encoder firmware), Aura main 4a6a093d (the published default image), default command line, read-only boots.

Own row, kit usave4 (window upsm14@20261122-1809): integration/aurora 13e494a, plus #2278 at 93af6fd (which enables the encoder node on the J775D), plus this commit at its head. Probe: firmware build 26A428 (TEXT 0x154000 CRC 87279429, DATA 0x134000). The H.264 and HEVC encodes below gave the same bytes as the previous head's outputs below (300 frames each, Main profile). 0 WARN/BUG/Oops lines; failed units iwd and systemd-networkd-persistent-storage, as on every boot of this root.

Extra evidence on base integration/aurora 6748d83 plus #2278, at the previous head ce7ea15 (the same code but with three ignored size and CRC fields still on the T6050 variant):

extra evidence on base 6748d83 plus #2278 usave3b (without) usave3 (with, previous head)
encoder probe unsupported firmware (text CRC c8f468ad) firmware build 26A428 (TEXT 0x154000 CRC 87279429, DATA 0x134000)
H.264 encode, 300 frames 1280x720 NV12 300 frames, Main profile, byte-identical to the previous head's output (PSNR 37.29 dB)
HEVC encode, the same input 300 frames, Main profile, byte-identical to the previous head's output (PSNR 37.50 dB)
WARN/BUG/Oops, DART faults 0, 0 0, 0
failed units iwd, systemd-networkd-persistent-storage the same

The encodes used v4l2-ctl (v4l-utils 1.32) as a stateful mem2mem client with the driver's default controls (30 fps, 3 B-frames, GOP 30, VBR at 4 Mbit/s). The input was 300 frames of ffmpeg's testsrc2, md5-checked on both machines. KUnit (the AVE suites built in, run in a VM): apple-ave-abi 21 of 21. ALARM has no SELinux, so there is no AVC count.

Extra evidence, not this PR's own row: the previous head (the offset on the T6050 variant), kit usave2 on base integration/aurora f5fae3c plus #2278 (windows upsmave5@20261122-1115 and upsmave6@20261122-1128). It gave the same probe line and the same encode outputs, decoded on another machine with ffmpeg 8.1.2 with 0 decode errors. Upstream's host tests there: 461 of 461, 0 differ.

Still to run

  • ffmpeg's h264_v4l2m2m and hevc_v4l2m2m. On two boots of an earlier kit with the same driver change (base integration/aurora bb9f8ec), the second with -bf 3, they asked for no B-frames. The 26A428 layout qualifies only 30 fps with 3 B-frames, so the driver refused the session ("26A428 layout: only 30 fps with 3 B-frames is qualified (asked 30/1 fps, no B-frames)", then -EOPNOTSUPP at STREAMON), as on any T6050 board today. Other sessions are a follow-up in the driver; the open media: apple: ave: 26A428: 60 fps and no-B sessions, B-picture flags #2218 proposes 60 fps and no-B sessions for this layout.
  • The 27.2 stub's encoder firmware on the J775D, and the 27.3 beta stub (26C5035), which isn't installed here.
  • M4 Pro/Max and M4 probe lines at this head, since their variants now go through build tables.
  • Other T6050 boards (the M5 Pro and Max laptops): their owners' rows are welcome. On a board whose word is zero, nothing changes.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown

Review at 65f869d.

Thanks. I read through the probe path, and this looks safe. The loader-integrity check (ave-fw.c:301-306, TEXT against aurora,ave-text-crc32) still covers every byte, raw word included. text_boot_word only changes the build-identification CRC that follows it, and that one still has to equal a listed build (ave-fw.c:312-326). A wrong offset therefore fails closed, and a board whose raw CRC is already known takes the early return at ave-fw.c:194. Learning the offset from a diff of two boots' TEXT is also fine.

  1. The offset is a property of the firmware image, not of the chip. It is now copied into three variant structs, and on T6050 it also applies to the 26C5035 build, whose TEXT is 0x4000 larger and which was not checked. Could it move into struct ave_fw_build, set only on 26A428, so 26C5035 keeps exact matching until someone sees its word? If that is out of scope here, a note in the comment at ave-drv.c:182 that only 26A428 was checked would help.
  2. The J775D gets this only together with arm64: dts: apple: t6050: enable the media engines on every board #2278, which enables its encoder node. Please mention the dependency in the commit message, since without it the change does nothing on that board.
  3. Nit: the subject is about 120 characters. media: apple: ave: t6050: zero the per-boot TEXT word before matching the build would fit.
  4. Rows still to run at this head: one M5 Pro/Max laptop (e.g. J716s) on the 27.0 stub, showing the probe line plus one H.264 encode (no regression on the raw-CRC path), and the J775D on the 27.3 beta stub (26C5035) to show what that build does with the retry.

@DjDeveloperr DjDeveloperr 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.

Formal §1–§6 pre-PR checklist review at 65f869d421a43d4fcdabaf1d78105211a10f4473 (host-tests: green).

The probe path itself is safe and fail-closed: aurora,ave-text-crc32 integrity checking (ave-fw.c:301-306) still covers all raw TEXT bytes, boards whose raw CRC already matches take the early return at ave-fw.c:194, and any mismatch after zeroing 0x4224 still fails with -ENODEV.

Blockers

  1. §1 / §2 Variant-wide offset applied to an unverified build (drivers/media/platform/apple/ave/ave-drv.c:185-210):
    .text_boot_word = 0x4224 is set variant-wide on ave_t6050, which admits both 26A428 (TEXT 0x154000, 27.0) and 26C5035 (TEXT 0x158000, 27.3 beta 1). Because text_boot_word is a firmware-image offset and 26C5035 has a 0x4000-larger TEXT that was not checked here, either scope text_boot_word to struct ave_fw_build (set on 26A428 only) or verify 26C5035 and explicitly document what was verified.
  2. §5 Missing T6050 non-Ultra hardware row & undocumented #2278 dependency:
    • Hardware testing covers J775D (M5 Ultra) on 27.0 (26A428) with out-of-tree #2278 DT enablement only. Add a regression row on an M5 Pro/Max T6050 laptop (e.g. J716s/J714s) verifying probe + encode on the raw-CRC path at this head (and 26C5035 if .text_boot_word remains variant-wide).
    • Mention the #2278 DT dependency for J775D in the commit message (and resolve the open PR-body question on whether this merges standalone or into #2278).

Non-blocking notes

  • Commit subject: ~120 chars; shorten to <=75 chars (e.g. media: apple: ave: t6050: retry TEXT CRC with per-boot word zeroed).

Checklist summary

  • §1 No model gating: Uses existing ave_variant.text_boot_word mechanism (fail-closed), but 26C5035 scoping and M5 Pro/Max hardware coverage remain open.
  • §2 Production-ready: Default cmdline, clean KUnit coverage (ave_t6041_text_boot_word); resolve 26C5035 offset scoping above.
  • §3 Safety: Pass (loader integrity CRC remains raw and full-segment; build matching fails closed).
  • §4 Clean-room & attribution: Pass (human author/committer + human Signed-off-by: only, zero AI trailers in commit, Assisted-by: in PR body).
  • §5 Evidence: Strong J775D row (probe + 300-frame H.264/HEVC encode + PSNR + 0 decode errors + 0 new kernel errors + KUnit + 461/461 host tests), blocked on M5 Pro/Max laptop row (and 26C5035 check if left variant-wide).
  • §6 Naming: Pass.

Assisted-by: LLM (Gemini 4 Neon)

@funkzy
funkzy force-pushed the upsm/ave-t6050-boot-word branch from 65f869d to ce7ea15 Compare November 23, 2026 00:47
@funkzy

funkzy commented Nov 23, 2026

Copy link
Copy Markdown
Author

Thanks, Ryan and dj. Pushed as one commit, ce7ea15. Ryan's points first, then dj's.

  1. The offset is now in struct ave_fw_build (text_boot_word). On T6050 only the 26A428 entry sets it, so 26C5035 keeps exact matching until someone sees its word. T6041 and T8132 had the same field on the variant. They now list their builds (sizes, CRC and word) instead of variant-wide sizes, so no variant copy is left. That also replaces T6041's fw_data_size_alt with its second build. Their behaviour is meant to be unchanged: the same sizes are admitted, the same CRCs, the same retry. Their probe now also logs the firmware build ... line. The KUnit case checks the word per build, including that 26C5035 has none.
  2. The commit message now names arm64: dts: apple: t6050: enable the media engines on every board #2278 as the dependency on the J775D.
  3. Subject: media: apple: ave: admit the J775D's encoder by its build's per-boot word (73 characters).
  4. Rows:
    • J775D at this head, 27.0 stub, Aura main 4a6a093d: kit usave3 (window upsm11@20261122-1527), integration/aurora 6748d83 plus arm64: dts: apple: t6050: enable the media engines on every board #2278 plus this commit. Probe: firmware build 26A428 (TEXT 0x154000 CRC 87279429, DATA 0x134000). H.264 and HEVC Main, 300 frames of 1280x720 each through v4l2-ctl with the driver's default controls, byte-identical to the previous head's outputs (PSNR 37.29 / 37.50 dB against the input). Baseline kit usave3b (window upsm10@20261122-1511), the same base plus arm64: dts: apple: t6050: enable the media engines on every board #2278 without this commit: unsupported firmware (text CRC c8f468ad). KUnit apple-ave-abi 21/21.
    • J775D on the 27.3 beta stub (26C5035): we don't have that stub installed, and installing a stub on this machine is a hands-on step for its owner, so this row has to wait until he can do it. Until then 26C5035 keeps exact matching, so the retry can't reach it.
    • M5 Pro/Max laptop: a row on an M5 Pro/Max laptop at this head on the 27.0 stub (the probe line and one H.264 encode) would help before merge; it covers the raw-CRC path.
    • M4 Pro/Max and M4: T6041 and T8132 now go through build tables, so a probe line from each at this head would help before merge.

dj's points:

  1. The word is now per build, set on 26A428 only (Ryan's 1); 26C5035 keeps exact matching until its word is seen.
  2. arm64: dts: apple: t6050: enable the media engines on every board #2278 is named in the commit message (Ryan's 2), and the M5 Pro/Max laptop row is asked for in 4. With the word per build, no 26C5035 row is needed for this change.
  3. Subject: 73 characters (Ryan's 3).

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown

Re-checked at ce7ea15. All three points are done: text_boot_word lives in struct ave_fw_build and only the T6050 26A428 entry sets it, the #2278 dependency is named, and the subject is short. Moving T6041 and T8132 onto build tables is a reasonable cleanup. Their admitted sizes and CRCs match the old variant-wide values, and T6041's fw_data_size_alt became its second build. The KUnit case checks the word per build, including that 26C5035 has none. The J775D row at this head (probe line, H.264 and HEVC byte-identical to the previous head, baseline refused) is what the change needed.

The table refactor touches the other chips' probe, so the probe rows you ask for are needed. We'll take the M4 Pro (J616s, T6041 table, 25G83) and the M4 Air (J713, T8132): a one-shot boot of this head on each, with the firmware build ... probe line and one H.264 encode compared with the fleet kernel's output. The M5 Pro/Max laptop row still needs an owner.

Assisted-by: LLM (Claude:Opus 5.5)

@DjDeveloperr DjDeveloperr 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.

Formal §1–§6 pre-PR checklist re-review at ce7ea15fb0dc846d4403f19593e7f51588181f89 (host-tests: green).

Resolved since Wave 52E (65f869d421)

  • §1 / §2 Per-build text_boot_word scoping: Moved cleanly from struct ave_variant into struct ave_fw_build. On ave_t6050, only 26A428 sets 0x4224, leaving 26C5035 on exact CRC matching; KUnit (ave_t6041_text_boot_word, 21/21 pass) pins per-build expectations including 26C5035 == 0.
  • #2278 dependency & subject: Documented in the commit message; commit subject tightened to 73 chars.

Remaining Blockers

  1. §1 / §5 Missing hardware test rows for all affected variants:
    • M5 Pro/Max laptop (T6050 non-Ultra) on the 27.0 stub: still owed to verify the raw-CRC probe and H.264 encode path at ce7ea15fb0dc.
    • M4 Pro/Max (ave_t6041) and M4 (ave_t8132): Moving both variants onto builds[] tables (and removing fw_data_size_alt / variant-wide text_crc) changes their probe path, so probe (firmware build ...) + encode rows on M4 Pro/Max and M4 at this head are also owed (as noted in "Still to run" and RyanTheTide's follow-up).

Non-blocking notes

  • ave_fw_find_build(..., 0) matches the first (text_size, data_size) entry before ave_fw_text_id() runs; this is unambiguous for all current tables (ave_t6041/ave_t6050 have distinct sizes per entry and ave_t8132 has one entry), though a future same-size multi-build table where only a later build sets text_boot_word would need care.
  • ave_t6050 still carries redundant .fw_text_size, .fw_data_size, and .text_crc fields that are ignored when .build_count > 0 (unlike ave_t6041/ave_t8132, which dropped them).
  • The GitHub PR title still has the old ~120-char wording even though the commit subject was shortened.

Checklist summary

  • §1 No model gating: Pass in code (per-build offset, fail-closed); blocked on M5 Pro/Max, M4 Pro/Max, and M4 hardware coverage.
  • §2 Production-ready: Pass (default cmdline, clean KUnit 21/21).
  • §3 Safety: Pass (raw loader-integrity CRC check unchanged; build matching fails closed).
  • §4 Clean-room & attribution: Pass (human author/committer + human Signed-off-by: only, zero AI trailers in commit, Assisted-by: in PR body).
  • §5 Evidence: Solid J775D A/B row (probe + 300-frame H.264/HEVC byte-identical encodes + 0 WARN/BUG/Oops/DART faults + 0 new failed units); blocked on the missing M5 Pro/Max, M4 Pro/Max, and M4 rows.
  • §6 Naming: Pass.

Assisted-by: LLM (Gemini 4 Neon)

@funkzy
funkzy force-pushed the upsm/ave-t6050-boot-word branch from ce7ea15 to 29af2ca Compare November 23, 2026 02:18
@funkzy funkzy changed the title media: apple: ave: T6050: retry the TEXT CRC with the per-boot word zeroed, so the J775D's encoder is no longer refused at probe media: apple: ave: admit the J775D's encoder by its build's per-boot word Nov 23, 2026
@funkzy

funkzy commented Nov 23, 2026

Copy link
Copy Markdown
Author

Thanks, dj and Ryan. Pushed 29af2ca: ave_t6050 drops the .fw_text_size, .fw_data_size and .text_crc fields its build table already overrides, as T6041 and T8132 did, and the PR title now matches the 73-character subject.
J775D at this head, kit usave4 (window upsm14@20261122-1809), integration/aurora 13e494a plus #2278 plus this commit: the probe still reads firmware build 26A428 (TEXT 0x154000 CRC 87279429, DATA 0x134000), and the H.264 and HEVC encodes are byte-identical to the previous head's.
Still owed: rows on an M5 Pro/Max laptop, an M4 Pro/Max and an M4 at this head would help before merge.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown

Review at 29af2ca.

The only change since ce7ea15 is that ave_t6050 drops .fw_text_size, .fw_data_size and .text_crc. I checked that nothing reads them once build_count is set: ave_fw_probe() overrides want_crc from the build (ave-fw.c:266, :318), and the size check at ave-fw.c:269 is only reached when there is no build table. So T6050 behaves as before, and T6041 and T8132 have not changed since ce7ea15. The PR title now matches the commit subject. The commit has only the human Signed-off-by.

Our points from 65f869d are all still resolved (word per build, 26A428 only; #2278 named; short subject). dj's leftover note about redundant fields is fixed for T6050. ave_t8142 (ave-drv.c:236-251) still has the same leftover fields next to its build table. This PR doesn't touch it, so a follow-up is fine.

Verdict: APPROVE on code. Rows still owed: the J616s (T6041) and J713 (T8132) probe line plus one H.264 encode are on us. They are queued on a kernel that stacks ce7ea15, and since this push changes no T6041/T8132 code those rows also count for 29af2ca. The M5 Pro/Max laptop row (raw-CRC path) still needs an owner.

@DjDeveloperr DjDeveloperr 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.

Formal §1–§6 pre-PR checklist re-review at 29af2ca734b1b9a4b1b1c7e2486d398eab2bef27 (host-tests: green).

Code is clean (0 code blockers). Keeping CHANGES_REQUESTED strictly as the §5 hardware-evidence merge gate for the remaining untested variants.

Resolved since ce7ea15fb0dc

  • Dropped the redundant .fw_text_size, .fw_data_size, and .text_crc fields from ave_t6050 (verified in ave-fw.c:259-329 that build_count > 0 exclusively uses builds[] and never reads those fields).
  • Shortened the PR title to match the 73-character commit subject.
  • Exact-head J775D hardware row (usave4, integration/aurora 13e494a072a3 + #2278 + 29af2ca734b1): firmware build 26A428 (TEXT 0x154000 CRC 87279429, DATA 0x134000), byte-identical 300-frame H.264/HEVC Main encodes, 0 WARN/BUG/Oops, 0 new failed units, KUnit apple-ave-abi 21/21.

Remaining Blocker (§5 Hardware Evidence Only)

  1. §1 / §5 Owed hardware rows on the other affected variants:
    • M4 Pro/Max (ave_t6041) and M4 (ave_t8132): both variants were refactored onto builds[] tables (removing fw_data_size_alt and variant-wide text_crc), so a probe (firmware build ...) + encode row on each is still owed before merge (noted as queued by RyanTheTide).
    • M5 Pro/Max laptop (ave_t6050 non-Ultra) on the 27.0 stub: probe line + one H.264 encode confirming no regression on the raw-CRC path.

Checklist summary

  • §1 No model gating: Pass in code (per-build text_boot_word, 26C5035 kept on exact CRC matching); blocked on multi-Mac hardware coverage above.
  • §2 Production-ready: Pass (default cmdline, host-tests green, KUnit 21/21).
  • §3 Safety: Pass (raw full-TEXT loader-integrity CRC check at ave-fw.c:299-305 unchanged; build matching fails closed).
  • §4 Clean-room & attribution: Pass (human author/committer + human Signed-off-by: only, zero AI trailers in commit; Assisted-by: in PR body).
  • §5 Evidence: Strong exact-head J775D A/B row; blocked only on the owed M4 Pro/Max, M4, and M5 Pro/Max laptop rows.
  • §6 Naming: Pass.

Assisted-by: LLM (Gemini 4 Neon)

…word

On the Mac Studio (J775D) the encoder's TEXT CRC differs on every boot,
so probe refuses it as "unsupported firmware". The firmware is the
26A428 build the T6050 variant already admits: with the build's per-boot
word zeroed, the probe's TEXT CRC matches the admitted 26A428 CRC on
every J775D boot tested.

The T6041, T8132 and T8112 26B123 variants already handle the same word,
with a text_boot_word on the variant: a TEXT CRC that is not a known
build is retried with that word zeroed. The word belongs to a firmware
build, though, not to a chip. On T6050 a variant-wide offset would also
apply to the 26C5035 build, whose TEXT is 0x4000 larger and which has
not been checked for such a word. So move text_boot_word into struct
ave_fw_build and set it on the builds that have it: 26A428 on T6050, and
the builds T6041, T8132 and T8112 26B123 already retried. 26C5035 keeps
exact matching. Those variants now list their builds (sizes, CRC and
word) instead of variant-wide sizes, which also replaces T6041's second
DATA size, fw_data_size_alt, with its second build. A known CRC is still
taken as it is.

The KUnit cases that pin the offsets check them per build, including
that 26C5035 has none.

On the J775D this takes effect together with aurora-silicon#2278,
which enables that board's encoder node; without it the encoder is not
probed there.

Tested on a J775D (Mac Studio, M5 Ultra).

Signed-off-by: Jeff Queisser <funkzy@users.noreply.github.com>
@funkzy
funkzy force-pushed the upsm/ave-t6050-boot-word branch from 29af2ca to b8b4948 Compare November 24, 2026 00:33
@funkzy

funkzy commented Nov 24, 2026

Copy link
Copy Markdown
Author

Rebased onto integration/aurora 1b1304ff2a67 as b8b4948c6035.

Conflict resolution against the intervening AVE commits (4d459a41e9f9 and 4b35702880a6):

  • ave-fw.c: kept ave_fw_probe() calling ave_fw_sizes_match() with the size diagnostic from 4b35702880a6, and dropped fw_data_size_alt from ave_fw_sizes_match().
  • ave-drv.c and ave-abi-test.c: moved the new ave_t8112_26b123 variant onto a one-entry builds[] table with its per-boot word (0x4224) and updated ave_t8112_26b123_build to check builds[0], matching ave_t6041, ave_t8132 and ave_t6050.
  • ave.h: updated the next_build comment so per-build text_boot_word is listed under builds[].

KUnit (AVE suites built in, run in a VM at b8b4948c6035): apple-ave-abi 22/22 pass (including ave_t6041_text_boot_word and ave_t8112_26b123_build), apple-ave-mctf 4/4, apple-ave-cmp420 6/6, apple-ave-sizes 9/9, apple-ave-recovery 6/6 (0 fail).

No change to the T6050, T6041 or T8132 logic. Still owed before merge: hardware rows on M4 Pro/Max (ave_t6041), M4 (ave_t8132), M5 Pro/Max laptop (ave_t6050), and M2 on the 27.2 stub (ave_t8112_26b123, now also on builds[]).

Assisted-by: LLM (Gemini:Neon)

@DjDeveloperr DjDeveloperr 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.

Formal §1–§6 pre-PR checklist re-review at verified live head b8b4948c6035a3b75cc59fcbf6a77ecf27f5aba3 (MERGEABLE / CLEAN, CI 1/1 green: Host tests / host-tests).

Code is clean (0 code blockers). Keeping REQUEST_CHANGES strictly as the §1 / §5 hardware-evidence merge gate for the refactored/affected variants.

Rebase Audit (29af2ca734b1 → b8b4948c6035)

  • Clean rebase onto integration/aurora 1b1304ff2a67:
    • ave_t8112_26b123 is cleanly migrated onto a 1-entry builds[] table ({ "26B123", 0x11c000, 0x128000, AVE_FW_TEXT_CRC_T8112_26B123, 0x4224 }) with ave_t8112_26b123_build updated to check builds[0], consistent with ave_t6041, ave_t8132, and ave_t6050.
    • ave_fw_probe() (ave-fw.c:286-361) and ave_fw_sizes_match() remain fail-closed: loader-integrity CRC (aurora,ave-text-crc32) covers all raw TEXT bytes, ave_fw_text_id() retries only when build->text_boot_word is non-zero, and 26C5035 stays on exact CRC matching.
    • VM KUnit at b8b4948c6035 passes all 5 AVE suites (47/47 cases, 0 fail).

Checklist Summary

  • §1 No model gating: Pass in code (per-build text_boot_word, fail-closed); blocked on multi-Mac hardware coverage below.
  • §2 Production-ready, no hacks: Pass (default cmdline, host-tests green, KUnit 47/47).
  • §3 Safety: Pass (raw loader-integrity CRC unchanged; build matching fails closed).
  • §4 Clean-room & attribution: Pass — single commit b8b4948c6035 carries human author/committer (Jeff Queisser <funkzy@users.noreply.github.com>) and human Signed-off-by: only, zero AI trailers in commit; PR body disclosure present.
  • §5 Evidence: Blocked — see below.
  • §6 Naming: Pass.

Remaining Blocker (§1 / §5 Hardware Evidence Only)

  1. Owed hardware rows for the refactored/affected variants (acknowledged in 00:33Z comment):
    • M4 Pro/Max (ave_t6041), M4 (ave_t8132), and M2 on 27.2 stub (ave_t8112_26b123, newly moved onto builds[] in this rebase): probe (firmware build ...) + encode regression row on each.
    • M5 Pro/Max laptop (ave_t6050 non-Ultra, 27.0 stub): probe + encode row confirming no regression on the raw-CRC path.
    • Exact-head J775D confirmation at b8b4948c6035 (prior usave4 row was at pre-rebase 29af2ca734b1).

Assisted-by: LLM (Gemini 4 Neon)

@github-actions github-actions Bot added area:media Area from CODEOWNERS (bot) changes-requested A reviewer requested changes (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:media Area from CODEOWNERS (bot) changes-requested A reviewer requested changes (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants