Skip to content

Firmware steps for the A11: SmartIO and GPU firmware - #120

Merged
henrikklee merged 5 commits into
OrchardLinux:mainfrom
vleeuwenmenno:a11-firmware-steps
Dec 2, 2026
Merged

henrikklee merged 5 commits into
OrchardLinux:mainfrom
vleeuwenmenno:a11-firmware-steps

Conversation

@vleeuwenmenno

Copy link
Copy Markdown
Contributor

Two steps so orchard recipes can install the A11 (iPhone 8, 8 Plus, X) SmartIO and GPU firmware from the kernelcache.

  • SmartIO: smartio-from-kernelcache@2 now accepts com.apple.driver.AppleT8015SmartIO. It gives the same bytes as section-from-kernelcache@1 on that kext's __DATA.__firmware.
  • GPU: a new agx-g10p-firmware-from-kernelcache@1 step, for the A11 GPU firmware in AGXFirmwareKextG10PRTBuddy. Its __TEXT.__const is 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):

Output Size sha256
apple/t8015-smartio.bin 616336 8c3bbf8f…3717517
apple/gfx-t8015.bin 381728 bd7b98e2…92bcc5c (RTKit-2062.142.1.release, "G10 Firmware initializing")

Tests:

  • cargo test --workspace passes, with ORCHARD_TEST_DATA pointing at a d22 recipe carrying both outputs.
  • packaging/smoke-cli.sh passes.
  • The new unit tests use synthetic data only.

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

vleeuwenmenno and others added 5 commits December 2, 2026 12:41
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
@henrikklee
henrikklee merged commit 374b980 into OrchardLinux:main Dec 2, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants