Skip to content

iPhone 7 / 7 Plus: install the loudspeaker FPGA's image - #410

Merged
henrikklee merged 1 commit into
OrchardLinux:mainfrom
paulscalise1:iphone7-maggie-firmware
Dec 2, 2026
Merged

henrikklee merged 1 commit into
OrchardLinux:mainfrom
paulscalise1:iphone7-maggie-firmware

Conversation

@paulscalise1

Copy link
Copy Markdown
Contributor

Summary

The iPhone 7's and 7 Plus's loudspeakers and earpiece go through the Maggie
FPGA, which has no flash and is loaded at every start (OrchardLinux/linux#76). Both
restore images carry its image, the same file in each:

Firmware/Maggie/AppleMaggieFirmwareImage.im4p

This adds it to the d10, d101, d11 and d111 recipes with im4p-payload@1, as
lib/firmware/apple/maggie-t8010.bin, the name the kernel's maggie driver asks
for. The test of the A10 boards' firmware names lists the new file.

It changes nothing until the kernel has the driver. Once OrchardLinux/linux#76 is merged,
the same boards' audio_output and audio_input can leave "missing" in a
pull request that takes that kernel.

Testing

  • bin/orchard fw build d10 --type peripheral and the same for d11: both
    recipes build against Apple's server, and maggie-t8010.bin matches its
    pinned hash in each.
  • tests/test_t8010_device_data.py passes.
  • An iPhone 7 (D10) booted from RAM with iPhone 7 and 7 Plus: the loudspeakers and the earpiece linux#76 and this recipe's firmware
    layer: the FPGA configures from the file, and both loudspeakers and the
    earpiece play.

🤖 Generated with Claude Code

The iPhone 7's and 7 Plus's loudspeakers and earpiece go through the
Maggie FPGA, which has no flash and is loaded at every start. Both
restore images carry its image, the same file in each:

  Firmware/Maggie/AppleMaggieFirmwareImage.im4p

Its payload goes to apple/maggie-t8010.bin, the name the kernel's maggie
driver asks for. The test of the A10 boards' firmware names lists it
too.

Assisted-by: LLM
Signed-off-by: Paul Scalise <paulscalise1@users.noreply.github.com>
@henrikklee
henrikklee merged commit 4f58a83 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