Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions devices/j96/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# iPad mini 4 (Wi-Fi), J96

Hardware identity, boot assets and the firmware recipe are in
[`device.toml`](device.toml). This file tracks what still needs testing,
open work, and contributed code that is not in the tree yet.

## Needs testing

**GPU (A8, PowerVR GX6450).** The board has the iPod touch 6's A8 GPU, and
its device tree enables it (`kernel/patches/devices/t7000/0012`). The
driver has only run on the iPod touch 6 (N102) so far. Test with
[`examples/ipod-gpu-drm`](../../examples/ipod-gpu-drm/README.md)
(`--device j96`) and report the output of `a8-gpu-drm-test probe` with
its kernel lines, and the ladder's `RESULT` lines.

## Unmerged code

None.
2 changes: 1 addition & 1 deletion devices/j96/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ platform = "apple-4k"
dtb = "t7000-j96" # arch/arm64/boot/dts/apple/<dtb>.dtb

[firmware]
recipe = "firmware.json" # Pins this board's public IPSW; converts nothing until bring-up needs it.
recipe = "firmware.json" # Pins this board's public IPSW; the GPU firmware comes from the iPod touch 6's iOS 12.4 (16G77), the tested one.

[support]
status = "experimental"
Expand Down
33 changes: 33 additions & 0 deletions devices/j96/firmware.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,19 @@
},
"device": "/usr/share/firmware/multitouch/J96.mtprops",
"sha256": "59d9740b4ddfe88e22987bb77b91d4c84a1f4ced4396156ba5d7989485172c79"
},
"kernelcache-n102ap-16G77": {
"ipsw": {
"kernelcache": "n102ap",
"restore": {
"version": "12.4",
"build": "16G77",
"url": "https://updates.cdn-apple.com/2019SummerFCS/fullrestores/041-86563/9E4DEC4C-A743-11E9-87E4-CD93DBB619B1/iPodtouch_12.4_16G77_Restore.ipsw",
"bytes": 2813180896,
"sha256": "7deb8c949eaa7f5672d46c6225e9286990ed7c9dfcdfaa2db92ffd91181b213f"
}
},
"sha256": "1d996c85affa1f37a07c6454dd5d3a383d4855206d113c9599200d79b6467ff8"
}
},
"outputs": [
Expand Down Expand Up @@ -302,6 +315,26 @@
"calibration_size": 1024
}
]
},
{
"destination": "lib/firmware/apple/gfx-t7000.bin",
"sha256": "0b60def67290391b4c6aa913d9a78a8105d6d9b03738175b8e5732689db1e5ba",
"steps": [
{
"step": "agx-g4p-ldr-from-kernelcache@1",
"input": "kernelcache-n102ap-16G77"
}
]
},
{
"destination": "lib/firmware/apple/gfx-t7000-border.bin",
"sha256": "233ffc1d7db27d9f16db17e23a9ce33082b5a7b72061af3da510bca3c94aff3e",
"steps": [
{
"step": "agx-g4p-border-from-kernelcache@1",
"input": "kernelcache-n102ap-16G77"
}
]
}
]
}
18 changes: 18 additions & 0 deletions devices/j97/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# iPad mini 4 (Cellular), J97

Hardware identity, boot assets and the firmware recipe are in
[`device.toml`](device.toml). This file tracks what still needs testing,
open work, and contributed code that is not in the tree yet.

## Needs testing

**GPU (A8, PowerVR GX6450).** The board has the iPod touch 6's A8 GPU, and
its device tree enables it (`kernel/patches/devices/t7000/0012`). The
driver has only run on the iPod touch 6 (N102) so far. Test with
[`examples/ipod-gpu-drm`](../../examples/ipod-gpu-drm/README.md)
(`--device j97`) and report the output of `a8-gpu-drm-test probe` with
its kernel lines, and the ladder's `RESULT` lines.

## Unmerged code

None.
2 changes: 1 addition & 1 deletion devices/j97/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ platform = "apple-4k"
dtb = "t7000-j97" # arch/arm64/boot/dts/apple/<dtb>.dtb

[firmware]
recipe = "firmware.json" # Pins this board's public IPSW; converts nothing until bring-up needs it.
recipe = "firmware.json" # Pins this board's public IPSW; the GPU firmware comes from the iPod touch 6's iOS 12.4 (16G77), the tested one.

[support]
status = "experimental"
Expand Down
33 changes: 33 additions & 0 deletions devices/j97/firmware.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,19 @@
},
"device": "/usr/share/firmware/multitouch/J97.mtprops",
"sha256": "59d9740b4ddfe88e22987bb77b91d4c84a1f4ced4396156ba5d7989485172c79"
},
"kernelcache-n102ap-16G77": {
"ipsw": {
"kernelcache": "n102ap",
"restore": {
"version": "12.4",
"build": "16G77",
"url": "https://updates.cdn-apple.com/2019SummerFCS/fullrestores/041-86563/9E4DEC4C-A743-11E9-87E4-CD93DBB619B1/iPodtouch_12.4_16G77_Restore.ipsw",
"bytes": 2813180896,
"sha256": "7deb8c949eaa7f5672d46c6225e9286990ed7c9dfcdfaa2db92ffd91181b213f"
}
},
"sha256": "1d996c85affa1f37a07c6454dd5d3a383d4855206d113c9599200d79b6467ff8"
}
},
"outputs": [
Expand Down Expand Up @@ -268,6 +281,26 @@
"calibration_size": 1024
}
]
},
{
"destination": "lib/firmware/apple/gfx-t7000.bin",
"sha256": "0b60def67290391b4c6aa913d9a78a8105d6d9b03738175b8e5732689db1e5ba",
"steps": [
{
"step": "agx-g4p-ldr-from-kernelcache@1",
"input": "kernelcache-n102ap-16G77"
}
]
},
{
"destination": "lib/firmware/apple/gfx-t7000-border.bin",
"sha256": "233ffc1d7db27d9f16db17e23a9ce33082b5a7b72061af3da510bca3c94aff3e",
"steps": [
{
"step": "agx-g4p-border-from-kernelcache@1",
"input": "kernelcache-n102ap-16G77"
}
]
}
]
}
26 changes: 26 additions & 0 deletions devices/n102/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# iPod touch 6, N102

Hardware identity, boot assets and the firmware recipe are in
[`device.toml`](device.toml). This file tracks what still needs testing,
open work, and contributed code that is not in the tree yet.

## Needs testing

**GPU (A8, PowerVR GX6450).** powervr's A8 variant
(`kernel/patches/drivers/gpu/0063`–`0073`, `devices/t7000/0011`) probes,
boots the GPU firmware and runs compute and render jobs on this board:
Vulkan 1.2 through Mesa's powervr driver and OpenGL ES 3.1 through Zink,
no faults over a 514k-job soak. Experimental: dEQP has not run, so the
chip has no `[gpu]` entry yet. Test with
[`examples/ipod-gpu-drm`](../../examples/ipod-gpu-drm/README.md).

## Open work

- GPU: per-job firmware overhead, parameter-manager pool growth inside a
scene, and submitting a fragment job behind its geometry job
(`a8_joint`) by default.
- Storage, touch, Wi-Fi and the battery gauge are not described yet.

## Unmerged code

None.
43 changes: 43 additions & 0 deletions devices/n102/boot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"schema": 1,
"device": "iPod7,1",
"firmware": [
{
"ipsw": {
"version": "12.5.8",
"build": "16H88",
"url": "https://updates.cdn-apple.com/2026WinterFCS/fullrestores/047-28554/C3D5CA8F-8B6F-4B05-9456-C5E632723337/iPodtouch_12.5.8_16H88_Restore.ipsw",
"bytes": 2821634289,
"sha256": "53a645c03332cd132f52612ffdf2aba3e6908ca937ab7f6c7b81aa8e15a14ec6"
},
"selected_by": "firmware-recipe",
"inputs": {
"BuildManifest.plist": {
"ipsw": {
"zip": "BuildManifest.plist"
},
"sha256": "97fe52925b0fbc3c2062019f831a18db7d6aeba60742df4be74106b3ea33d0e3"
},
"iBSS": {
"ipsw": {
"zip": "Firmware/dfu/iBSS.n102.RELEASE.im4p"
},
"sha256": "874d5fc6384ffee72e18b89020f1396702735c879d39014f39314c7ce2b84aec"
},
"iBEC": {
"ipsw": {
"zip": "Firmware/dfu/iBEC.n102.RELEASE.im4p"
},
"sha256": "5715e383b1e3eced6202eb47d515b13f1b10c41348239c6a800019111493a07c"
},
"DeviceTree": {
"ipsw": {
"zip": "Firmware/all_flash/DeviceTree.n102ap.im4p"
},
"sha256": "f59b40ce4fa554f4bb24415201c61dd2e8a6767558ca6404a4afa74dd2ec2d35"
}
}
}
],
"methods": {}
}
59 changes: 59 additions & 0 deletions devices/n102/device.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# iPod touch 6 (N102): identity from public sources (tools/catalog/generate's read_firmware);
# A8/T7000 like the iPhone 6. RAM-boots to a USB serial shell; GPU notes in README.md.
schema = 1
kind = "hardware.device"

[device]
profile = "n102"
name = "iPod touch 6"
apple_products = ["iPod7,1"]
dt_compatible = ["apple,n102"]

[match.dfu]
chip = 0x7000
board = 0x10

[boot]
methods = ["checkm8-pongo"] # checkra1n then PongoOS and m1n1, RAM only.
entries = ["checkra1n"]

[kernel]
platform = "apple-4k"
dtb = "t7000-n102" # arch/arm64/boot/dts/apple/<dtb>.dtb

[firmware]
recipe = "firmware.json" # Pins this board's public IPSW; the GPU firmware comes from iOS 12.4 (16G77), the tested one.

[support]
status = "experimental"

# States: working, untested, missing, none (features.toml). "untested" means a driver
# binds in its device tree (tools/catalog/drivers.json), plus the display's boot console.
[features]
display = "untested"
screen_off = "missing"
backlight = "untested"
touch = "missing"
buttons = "untested"
accelerometer = "missing"
gyroscope = "missing"
light_sensor = "missing"
touch_id = "missing"
storage_read = "missing"
storage_write = "missing"
wifi = "missing"
bluetooth_input = "missing"
bluetooth_audio = "missing"
cellular = "missing"
battery = "missing" # No fuel-gauge node in the ADT where the iPhone 6 has its HDQ gauge on uart5; how the iPod reads its battery is unknown.
charging = "missing"
charging_control = "missing"
suspend = "untested"
resume = "untested"
usb_serial = "working" # The RAM shell over USB serial (CDC ACM).
usb_network = "untested"
usb_host = "missing"
audio_output = "missing"
audio_input = "missing"
camera = "missing"
video_decode_hevc = "missing"
54 changes: 54 additions & 0 deletions devices/n102/firmware.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"schema": 2,
"device": "iPod7,1",
"ipsw": {
"version": "12.5.8",
"build": "16H88",
"url": "https://updates.cdn-apple.com/2026WinterFCS/fullrestores/047-28554/C3D5CA8F-8B6F-4B05-9456-C5E632723337/iPodtouch_12.5.8_16H88_Restore.ipsw",
"bytes": 2821634289,
"sha256": "53a645c03332cd132f52612ffdf2aba3e6908ca937ab7f6c7b81aa8e15a14ec6"
},
"inputs": {
"DeviceTree.im4p": {
"ipsw": {
"zip": "Firmware/all_flash/DeviceTree.n102ap.im4p"
},
"sha256": "f59b40ce4fa554f4bb24415201c61dd2e8a6767558ca6404a4afa74dd2ec2d35"
},
"kernelcache-n102ap-16G77": {
"ipsw": {
"kernelcache": "n102ap",
"restore": {
"version": "12.4",
"build": "16G77",
"url": "https://updates.cdn-apple.com/2019SummerFCS/fullrestores/041-86563/9E4DEC4C-A743-11E9-87E4-CD93DBB619B1/iPodtouch_12.4_16G77_Restore.ipsw",
"bytes": 2813180896,
"sha256": "7deb8c949eaa7f5672d46c6225e9286990ed7c9dfcdfaa2db92ffd91181b213f"
}
},
"sha256": "1d996c85affa1f37a07c6454dd5d3a383d4855206d113c9599200d79b6467ff8"
}
},
"outputs": [
{
"destination": "lib/firmware/apple/gfx-t7000.bin",
"sha256": "0b60def67290391b4c6aa913d9a78a8105d6d9b03738175b8e5732689db1e5ba",
"steps": [
{
"step": "agx-g4p-ldr-from-kernelcache@1",
"input": "kernelcache-n102ap-16G77"
}
]
},
{
"destination": "lib/firmware/apple/gfx-t7000-border.bin",
"sha256": "233ffc1d7db27d9f16db17e23a9ce33082b5a7b72061af3da510bca3c94aff3e",
"steps": [
{
"step": "agx-g4p-border-from-kernelcache@1",
"input": "kernelcache-n102ap-16G77"
}
]
}
]
}
18 changes: 18 additions & 0 deletions devices/n56/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# iPhone 6 Plus, N56

Hardware identity, boot assets and the firmware recipe are in
[`device.toml`](device.toml). This file tracks what still needs testing,
open work, and contributed code that is not in the tree yet.

## Needs testing

**GPU (A8, PowerVR GX6450).** The board has the iPod touch 6's A8 GPU, and
its device tree enables it (`kernel/patches/devices/t7000/0012`). The
driver has only run on the iPod touch 6 (N102) so far. Test with
[`examples/ipod-gpu-drm`](../../examples/ipod-gpu-drm/README.md)
(`--device n56`) and report the output of `a8-gpu-drm-test probe` with
its kernel lines, and the ladder's `RESULT` lines.

## Unmerged code

None.
2 changes: 1 addition & 1 deletion devices/n56/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ platform = "apple-4k"
dtb = "t7000-n56" # arch/arm64/boot/dts/apple/<dtb>.dtb

[firmware]
recipe = "firmware.json" # Pins this board's public IPSW; converts nothing until bring-up needs it.
recipe = "firmware.json" # Pins this board's public IPSW; the GPU firmware comes from the iPod touch 6's iOS 12.4 (16G77), the tested one.

[support]
status = "experimental"
Expand Down
Loading
Loading