Repository navigation
media: apple: ave: T8142: admit the macOS 27.2 (26B123) encoder firmware - #1900
Conversation
|
@DjDeveloperr ready for review. Hardware on the macOS 27.2 stub (J815 boot 9a636e2e): AppleAVE2FW 9013.55.1 admitted by its TEXT CRC, and 3 encodes PASS (H.264 + HEVC). Green and mergeable. |
|
Blockers: 1. The probe change is correct.
Nit: HW row: J815, kernel built from this head, default command line. On the 27.2 stub: the "firmware build 26B123" line plus the three encodes (ffmpeg H.264 Baseline, v4l2-ctl H.264 and HEVC with B-frames). Then once on the 27.0 stub to show the 26A428 path still selects "firmware build 26A428" and encodes, since the lookup changed for it too. Then 0 AVC, 0 failed units, 0 new kernel errors. Assisted-by: LLM (Claude:Opus 5.5) |
The macOS 27.2 (26B123) M5 stub preloads AppleAVE2FW_H17G 9013.55.1 (27.2.1 26B131 ships the same image): TEXT 0x154000 and DATA 0x12c000, the sizes of the 27.0 build, TEXT CRC 24eb4625 (zlib CRC32 of the image's __TEXT; the same method gives the measured 8a3784bd for 27.0). Builds of one variant may now share segment sizes: the sizes still gate the probe, and the TEXT CRC picks among the builds that have them. Give T8142 a build table with 26A428 and 26B123, and take 26A428's command layout for the 27.2 build, as the T6050 27.3 beta does. The M3 and M4 27.2 builds have their own layout (26B123, larger Process commands); the M5 build encodes with 26A428's sizes. Tested on J815 with the 27.2 stub (the loader handing TEXT/DATA over at their remap addresses, 0x100_0000_0000): "firmware build 26B123 (TEXT 0x154000 CRC 24eb4625, DATA 0x12c000)", and three encode runs pass (H.264 Baseline, H.264 and HEVC with B-frames). Not re-run on 27.0; the 27.0 build is matched by the same CRC as before. Signed-off-by: Nick <[email protected]>
81092af to
1a4cbee
Compare
|
@RyanTheTide thanks. Rebased onto cc14570.
The only conflict was next to the new M3/M4 27.2 CRCs; all entries are kept. The HW row (the 27.2 stub's three encodes plus a 27.0 stub encode on this head) is next on the J815. |
|
Re-review of 1a4cbee: No blockers.
The rebase onto cc14570 keeps the M3/M4 27.2 entries next to the new one (ave-fw.c:46-47, ave-layout.c:997-998). The probe logic I checked last time is unchanged: the size-only lookup at ave-fw.c:259, the CRC refinement at :312-321, and the -ENODEV at :322-325. This is approvable once the HW row below is posted. The body lists it as still owed, and the commit message says the 27.0 path has not been re-run. HW row: J815, kernel built from this head, default command line. On the 27.2 stub: the "firmware build 26B123" line and the three encodes (ffmpeg H.264 Baseline, v4l2-ctl H.264 and HEVC with B-frames). On the 27.0 stub: "firmware build 26A428" and one encode. Then 0 AVC, 0 failed units, 0 new kernel errors. Assisted-by: LLM (Claude:Opus 5.5) |
53727ad
into
aurora-silicon:integration/aurora
Merge-train batch 1 merged #1900 (T8142 AVE on 27.2), which touched the same firmware tables. Resolution: keep this branch's neutral firmware wording in ave-fw.c and ave-drv.c and add the T8142 27.2 CRC entry from #1900 to the known-CRC list beside the T8132 27.2 one. No code change beyond the union of both sides. Signed-off-by: Ryan Murray <[email protected]>
Admits the AVE firmware that the macOS 27.2 (26B123) M5 stub preloads: AppleAVE2FW_H17G 9013.55.1. 27.2.1 ships the same image.
__TEXT. The same method gives the measured 8a3784bd for 27.0.Change
integration/auroranow has, use their ownave_layout_26b123(larger Process commands). The M5 build encodes with 26A428's sizes.Rebased onto
integration/auroracc14570. The only conflict was next to the new M3/M4 27.2 CRCs; all entries are kept. The stale "not encoded with yet" comment now says which encodes ran.Tested on J815 (MacBook Air 15" M5), 27.2 stub, on the previous head (the AVE code it ran is the same). The loader hands TEXT/DATA over at their remap addresses (
0x100_0000_0000; auramainalready does, aurora-silicon/aura#215).apple-ave: firmware build 26B123 (TEXT 0x154000 CRC 24eb4625, DATA 0x12c000).Checks on this head:
W=1adds no warnings indrivers/media/platform/apple/ave/,checkpatch --strictis 0/0/0, and the AVE KUnit suite passes (48/48 with #2218 and #2547 on top).Still owed (HW row): a J815 run on a kernel built from this head with the default command line: the "firmware build 26B123" line and the same three encodes on the 27.2 stub; then the 27.0 stub, showing "firmware build 26A428" and an encode; 0 AVC, 0 failed units, 0 new kernel errors.
Part of the J815 bring-up: board results are summarised in discussion #135.
Assisted-by: LLM (Claude:Opus 5.5)