Repository navigation
Conversation
Allow the bootloader-supplied personality and document variant firmware- name prefixes. Restrict the supported personality values only for D20 and D201. Assisted-by: LLM Signed-off-by: MasadaIV <6883111+MasadaIV@users.noreply.github.com>
Choose the distinct public firmware variant from the boot personality. Honor explicitly declared 0x103 full-word calibration framing while preserving legacy containers and other boards. Assisted-by: LLM Signed-off-by: MasadaIV <6883111+MasadaIV@users.noreply.github.com>
Let the driver append the variant selected from the boot personality. Remove the D20 override so it inherits the shared iPhone 8 prefix. The iPhone 8 Plus keeps its separate firmware filename. Assisted-by: LLM Signed-off-by: MasadaIV <6883111+MasadaIV@users.noreply.github.com>
This was referenced Dec 2, 2026
|
Thank you, MasadaIV, for this work on the iPhone 8 touch personalities and HBPP framing. Your three commits went into #113 unchanged, with you as their author, and #113 is now merged: apple_z2 now loads the firmware for each unit's own personality ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
D20/D201 currently select C1F5D,3 for every unit. The tested D201 reports C1F5D,4, whose working private calibration packets use full-word HBPP 0x103 lengths; the dynamic encoder always subtracts one word.
Select the separate public firmware from the bootloader's C1F5D,3/C1F5D,4 personality, reject missing or unknown values, and use firmware-name prefixes in the iPhone 8 trees. Honor explicitly declared HBPP framing in the container. Existing containers without the new validity bit retain the current minus-one behavior. The iPhone 8 Plus retains its own filename. Bindings, shared driver changes and device trees are separate commits.
Validation: this series has the exact source tree of local revision d8515d297036167ff3f76159bda78702f62ace74, compiled via
orchard build --device d201 --kernel TREE. The binding passed dt-doc-validate and all three commits passed checkpatch. A packed-image audit confirmed D20/D201 prefixes, unchanged D21/D211 selection, the new module and public firmware with provider references. The series merges cleanly with upstream main at preparation time; the resulting upstream integration tree has not been built locally.Keep draft: the new kernel/public container has not been boot-tested. The successful earlier RAM test used the released v0.3.18 driver and private embedded calibration, bypassing this encoder. Other users of the shared backend retain their default framing; hardware regression testing remains outstanding.
Requires the companion tools converter and Orchard recipes. The pinned m1n1 already forwards personality and calibration; no m1n1 change is proposed. No installation or internal-storage claim. Qualified earlier hardware report: OrchardLinux/orchard#456.
Companion changes: OrchardLinux/tools#130 and OrchardLinux/orchard#457.