Repository navigation
Firmware steps for the A11: SmartIO and GPU firmware - #120
Merged
Merged
Conversation
smartio-from-kernelcache@2 now accepts com.apple.driver.AppleT8015SmartIO, the iPhone 8, 8 Plus and X's SmartIO kext. Its firmware is the kext's __DATA.__firmware section, as on the other chips: on the iPhone X's iOS 16.7.16 kernelcache the step gives the same 616336 bytes as section-from-kernelcache@1 on that section. Assisted-by: LLM Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Menno van Leeuwen <menno@vleeuwen.me>
agx-g10p-firmware-from-kernelcache@1 takes the A11's GPU (G10P) firmware from AGXFirmwareKextG10PRTBuddy. Its __TEXT.__const is laid out as the A10's G9P kext's: on the iPhone X's iOS 16.7.16 kernelcache it is "\0Release\0" and then the 0x5d320-byte ARM image, starting with an A32 vector table, that the kext's requestFirmwareBinary returns 9 bytes in. The A10's parsing is shared by both steps. Assisted-by: LLM Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Menno van Leeuwen <menno@vleeuwen.me>
Assisted-by: LLM Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Menno van Leeuwen <menno@vleeuwen.me>
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md # crates/boards/src/peripheral.rs # crates/formats/src/kernelcache.rs
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.
Two steps so orchard recipes can install the A11 (iPhone 8, 8 Plus, X) SmartIO and GPU firmware from the kernelcache.
smartio-from-kernelcache@2now acceptscom.apple.driver.AppleT8015SmartIO. It gives the same bytes assection-from-kernelcache@1on that kext's__DATA.__firmware.agx-g10p-firmware-from-kernelcache@1step, for the A11 GPU firmware inAGXFirmwareKextG10PRTBuddy. Its__TEXT.__constis laid out exactly as the A10's (\0Release\0, then the ARM32 image), so the G9P and G10P steps now share one parser.Checked on the iPhone X kernelcache (iOS 16.7.16, 20H392):
apple/t8015-smartio.bin8c3bbf8f…3717517apple/gfx-t8015.binbd7b98e2…92bcc5c(RTKit-2062.142.1.release, "G10 Firmware initializing")Tests:
cargo test --workspacepasses, withORCHARD_TEST_DATApointing at a d22 recipe carrying both outputs.packaging/smoke-cli.shpasses.The orchard recipes that use these steps follow in a separate orchard PR once this is released. The CHANGELOG line is still to come: the orchard rules want the person's approval first.
Context: the A11 GPU's first look is in OrchardLinux/gpu#19.
🤖 Generated with Claude Code