Repository navigation
Warn before installing on the J616C M4 Max MacBook Pro - #97
Conversation
The 16-inch MacBook Pro with M4 Max (J616C, T6041) shares the J616s chassis and its T6041 display block. Admit it on the 26.6.2 firmware baseline the J616s uses (chip 0x6041 minimum 26.6, device j616c minimum 26.6.2), list it in the supported models and release inputs, name it, and give it a Stage 1 caution like the J614s: the upstream J616C device tree and aura's J616C display handoff are new. Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
RyanTheTide
left a comment
There was a problem hiding this comment.
main now admits the J616C already: 3d4472b ("Install on every M4 Mac with a device tree") adds apple,j616c to supported-models.json, the 26.6.2 firmware entry and the j616c minimum in NativeInspectionPolicySource, and the "MacBook Pro 16-inch (M4 Max, 2024)" name. That is why every file here conflicts. The only part main does not have is the J616C-specific Stage 1 caution. If you still want it, a rebased branch carrying just that caution (and its test) would be easy to review. Otherwise this can be closed.
main admits the J616C since 3d4472b ("Install on every M4 Mac with a device tree"), so every conflict takes main's version. Only the J616C Stage 1 caution is added back, in the next commit. Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
main admits the J616C without a Stage 1 caution, because Aurora has run on one. It has, but only with separately built kernel and aura: this installer has not installed it, and the J616C device tree it delivers (aurora-silicon/linux#994) has not been booted on one yet. Give the J616C its own caution, in Stage1Caution.swift and mirrored in supported-models.json, so the owner acknowledges the risk and the recovery steps before installing. The tests move j616c from the boards without a caution to the cautioned ones. Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
|
Thanks. I merged main into the branch (fc72217) and took main's version of every conflicting file, so the admission comes from 3d4472b. The only change left is the J616C Stage 1 caution and its tests (2f5a18c, 4 files, +9/-4 against main). It's a merge instead of a rebase, so the existing branch history stays as it is. Main's test listed Tests: the |
main admits the 16-inch MacBook Pro with M4 Max (J616C, T6041) since 3d4472b. It does that with no Stage 1 caution, because Aurora has run on one. This PR now carries only that caution.
Aurora has run on a J616C, but only with separately built kernel and aura. This installer has not installed it, and the J616C device tree it delivers (aurora-silicon/linux#994) has not been booted on one yet. So the owner gets the same warning and recovery steps as on the other experimental boards before installing:
Stage1Caution.swift: a J616C reason, "Aurora has run on one, but not from this installer, and the Linux device tree this installer uses for it has not started on one yet, so Aurora may not start."supported-models.json: the mirroredstage1_cautionentry.Stage1CautionTestsandtest_distribution_payload.pymovej616cfrom the boards without a caution to the cautioned ones.The other M4 cautions still name the J616c as a tested Mac for its chip, aura Stage 1 and firmware baseline, and that stays true.
Testing
python3 -m unittest discover -s scripts/tests(Python 3.13): 91 tests pass, including both caution tests.swift-format lint --strictis clean on the two Swift files, andAuroraInstallerUXCorebuilds.swift testcouldn't run. I ran the assertions fromtestOnlyTheUntriedBoardsAreWarnedAndNotBlockedagainst the built module from a small separate executable, and they pass.