Skip to content
Merged
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ is missing or empty.
- [Removing iOS](docs/remove-ios.md): on a device too small to keep iOS next
to Linux, delete iOS's partitions from a RAM session and install Linux on
the whole disk. The hardware-check RAM system carries `sfdisk` again for it.
- Every 32-bit iPhone and iPad (A5, A5X, A6, A6X) starts the same way as the
64-bit ones: from DFU mode a Pico entered, or from kDFU, through Apple's
patched iBSS and iBEC into m1n1, which starts Linux. The iPad 3, iPad 4,
iPhone 4s, iPhone 5 and 5c and the remaining iPad 2 and iPad mini models
get this route too, and the m1n1 it starts now boots the iPhone 5. An
iPhone 5 has booted Linux this way; the A5, A5X and A6X boards have not
run it yet. Cascadia's loader stays as the A5 fallback (`--boot autogo`).

## [0.3.20] - 2026-12-02

Expand Down
6 changes: 6 additions & 0 deletions boot/m1n1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ compiles `m1n1.bin` with chainloading enabled. Next to it go the same build as
kernel). Git and Podman are
required.

`m1n1-armv7.macho` is one binary for every 32-bit board: the `ibss` boot
route (`ibss-m1n1` in `methods.toml`) sends it after the patched iBSS and
iBEC and Apple's DeviceTree, and starts it with `bootx`; what differs per
board comes from the Apple device tree. See [m1n1 on the 32-bit
boards](../../docs/bring-up/armv7-m1n1.md).

`orchard build` and `orchard run` run it with their cache directories; don't
call it directly (see [AGENTS.md](../../AGENTS.md)).

Expand Down
2 changes: 1 addition & 1 deletion boot/m1n1/upstream.lock
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url=https://github.com/OrchardLinux/m1n1.git
commit=1e53a9f97d8ce3e71be3024729035da26fc6b95e
commit=ddd6f7244d1b2c895d0961329bc2f8f375642754
7 changes: 4 additions & 3 deletions devices/j1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ features on 2026-10-26, and with Cascadia PR #35's tree on 2026-11-05.

## Boot

Orchard's launcher does not run this chain yet. The `jailbreak-kdfu` method
names it, and `docs/platforms-and-builds.md` ("A5 boot") plans it. As the kit
runs it:
orchard starts the board by the `ibss` route into the 32-bit m1n1
(`ibss-m1n1`, `docs/platforms-and-builds.md`, "32-bit boot"), which has not
run on a J1 yet. The kit's own chain, which orchard does not run, is the
`jailbreak-kdfu` method:

1. iOS 9.3.5 (13G36), jailbroken (EverPwnage), runs `kloader` with a
signature-patched iBSS. For kDFU the iBSS has to be decrypted, because the
Expand Down
20 changes: 20 additions & 0 deletions devices/j1/boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"sha256": "ceec5670fe63f113b766a09b189c50a31e96e4c538905076216fb21170385c95"
},
"selected_by": "newest",
"keys": {
"Firmware/dfu/iBSS.j1.RELEASE.dfu": {
"kind": "img3",
"iv": "7ced82eb8778ca7547610a10414463db",
"key": "f18b2d640ac277c41ffd1c611cca7af7f2fc87932980d737cb1701b1c7ff9162",
"source": "api.ipsw.me v4 keys (13G36, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2817.60.2)"
},
"Firmware/dfu/iBEC.j1.RELEASE.dfu": {
"kind": "img3",
"iv": "578ef2d32e6a31b68c696d1343592a94",
"key": "c35d7184d6b1c5cfc3eb3dc7a74c125b36419c529a69fd6114418d3bad1dc9c9",
"source": "api.ipsw.me v4 keys (13G36, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2817.60.2)"
},
"Firmware/all_flash/all_flash.j1ap.production/DeviceTree.j1ap.img3": {
"kind": "img3",
"iv": "db4ef0605f0ab89b2e59de4f871213b4",
"key": "05c43a2bac2adb83d0a1ced2a9b068c21fbdf5386aab42d0bdebec18dbb65ea8",
"source": "api.ipsw.me v4 keys (13G36, public firmware keys); checked 2026-12-02 by decrypting this member (model iPad3,1)"
}
},
"inputs": {
"BuildManifest.plist": {
"ipsw": {
Expand Down
9 changes: 5 additions & 4 deletions devices/j1/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ chip = 0x8945
board = 0x00

[boot]
methods = ["jailbreak-kdfu"]
entries = ["kdfu"]
# Booted from a jailbroken iOS 9.3.5 with kloader and Cascadia's staging
# loader (README.md); orchard's launcher does not run this chain yet.
methods = ["ibss-m1n1", "jailbreak-kdfu"]
entries = ["pico-checkm8", "kdfu"]
# orchard starts the board by its ibss boot route (routes.toml) into the 32-bit m1n1.
# It was booted before from a jailbroken iOS 9.3.5 with kloader and Cascadia's
# staging loader (README.md, jailbreak-kdfu), which orchard does not run.

[kernel]
platform = "apple-armv7" # kernel/series/apple-armv7, kernel/configs/apple-armv7
Expand Down
4 changes: 4 additions & 0 deletions devices/j2/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad3,2"]
[match.dfu]
chip = 0x8945
board = 0x02

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 4 additions & 0 deletions devices/j2a/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad3,3"]
[match.dfu]
chip = 0x8945
board = 0x04

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
6 changes: 6 additions & 0 deletions devices/k93/boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"iv": "83220a369c9525f3febb3edd331c65fb",
"key": "179027ef30b5008882d6dbd723ceb50c39cba40bb33ba620b71bcbc53ff2d424",
"source": "rzxvx/Project-Cascadia@091d441f19e101699f7e1835a80ccb48d6e54eec devices/a5/tools/k93-extract-firmware.py (public firmware keys)"
},
"Firmware/all_flash/all_flash.k93ap.production/DeviceTree.k93ap.img3": {
"kind": "img3",
"iv": "5bffad9ad82108c5ae3d38150dc56aea",
"key": "12433a4c85ec86ac6e14884f01661e2c5de43adee0323d1e88d4edd8d1ae9fda",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (model iPad2,1)"
}
},
"inputs": {
Expand Down
4 changes: 2 additions & 2 deletions devices/k93/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ chip = 0x8940
board = 0x04

[boot]
methods = ["recovery-autogo"]
entries = ["kdfu"]
methods = ["ibss-m1n1", "recovery-autogo"]
entries = ["pico-checkm8", "kdfu"]
20 changes: 20 additions & 0 deletions devices/k93a/boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"sha256": "82b2571f7433fec6d90d32cf98ee955aeb2e5a1e764da229cc3fdb0f621925a0"
},
"selected_by": "chip-reference",
"keys": {
"Firmware/dfu/iBSS.k93a.RELEASE.dfu": {
"kind": "img3",
"iv": "976aa656929ac699fff36715de96876d",
"key": "5fe5c47b5620c2b40b1ca2bd1764a92d568901a24e1caf8faf0cf0f84ae11b4e",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/dfu/iBEC.k93a.RELEASE.dfu": {
"kind": "img3",
"iv": "27a1dedaf83ccb53088fd9fb82974062",
"key": "019947f0da4258ce36c0fd1b2f3d61fc7add1fd9065cb96be24f86c322832cda",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/all_flash/all_flash.k93aap.production/DeviceTree.k93aap.img3": {
"kind": "img3",
"iv": "dd6d2ee190455770e5bb930db280e42d",
"key": "db9945495d24e808cfe305a9a062b28f6c341e4577018482d3f51f7d19057443",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (model iPad2,4)"
}
},
"inputs": {
"BuildManifest.plist": {
"ipsw": {
Expand Down
4 changes: 4 additions & 0 deletions devices/k93a/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad2,4"]
[match.dfu]
chip = 0x8942
board = 0x06

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
20 changes: 20 additions & 0 deletions devices/k94/boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"sha256": "cf35fb32d8a08e7794ced086bd7a899791372391ccea2d4b7888453e591636ef"
},
"selected_by": "chip-reference",
"keys": {
"Firmware/dfu/iBSS.k94.RELEASE.dfu": {
"kind": "img3",
"iv": "883c92ed915e4d2481570a062583495b",
"key": "ccfadf3732904885d38f963cce035d7e03b387b67212d526503c85773b58e52f",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/dfu/iBEC.k94.RELEASE.dfu": {
"kind": "img3",
"iv": "57fba54b264b0911d3329de2231bd4b8",
"key": "e7677abd8b4cef14f9f75e02dec7fdbb0cc1ecc0707fb51367a783e4eeea731e",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/all_flash/all_flash.k94ap.production/DeviceTree.k94ap.img3": {
"kind": "img3",
"iv": "31eafb5f2872333f49c391407533b913",
"key": "2340ba7b12093ebe1c4f9ad6adefb78b8aa5df718f63f4671dbc882cc657abfe",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (model iPad2,2)"
}
},
"inputs": {
"BuildManifest.plist": {
"ipsw": {
Expand Down
4 changes: 4 additions & 0 deletions devices/k94/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad2,2"]
[match.dfu]
chip = 0x8940
board = 0x06

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
20 changes: 20 additions & 0 deletions devices/k95/boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"sha256": "83912c77f2d2f242076c46be019358e8acb60c6a3cfab2719444c916bacda79a"
},
"selected_by": "chip-reference",
"keys": {
"Firmware/dfu/iBSS.k95.RELEASE.dfu": {
"kind": "img3",
"iv": "460116385cca6d5596221c58ae122669",
"key": "7852f1fd93d9d49ebea44021081e8f1dffa336d0d3e9517374f8be451dd92eb7",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/dfu/iBEC.k95.RELEASE.dfu": {
"kind": "img3",
"iv": "2cec1c5aa4a6fbc8630ef22a668271c0",
"key": "0f8e5042b574f246016c04b904dce329fcf0adcc08d23357058d9e5bd5e586e1",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/all_flash/all_flash.k95ap.production/DeviceTree.k95ap.img3": {
"kind": "img3",
"iv": "9f1dd056d28cb0afd775a31910ecbc35",
"key": "2aeb4fa57f51a2246b1521cc81f18ceef7205e75de9610d60044c701858560ea",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (model iPad2,3)"
}
},
"inputs": {
"BuildManifest.plist": {
"ipsw": {
Expand Down
4 changes: 4 additions & 0 deletions devices/k95/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad2,3"]
[match.dfu]
chip = 0x8940
board = 0x02

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 4 additions & 0 deletions devices/n41/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPhone5,1"]
[match.dfu]
chip = 0x8950
board = 0x00

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 4 additions & 0 deletions devices/n42/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPhone5,2"]
[match.dfu]
chip = 0x8950
board = 0x02

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 4 additions & 0 deletions devices/n48/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPhone5,3"]
[match.dfu]
chip = 0x8950
board = 0x0a

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 4 additions & 0 deletions devices/n49/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPhone5,4"]
[match.dfu]
chip = 0x8950
board = 0x0e

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
20 changes: 20 additions & 0 deletions devices/n94/boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"sha256": "68a5f724ec43b020caec7e83768252727173f0c180f12ee3d6ba8fc8aa90b27a"
},
"selected_by": "chip-reference",
"keys": {
"Firmware/dfu/iBSS.n94.RELEASE.dfu": {
"kind": "img3",
"iv": "147cdef921ed14a5c10631c5e6e02d1e",
"key": "6ea1eb62a9f403ee212c1f6b3039df093963b46739c6093407190fe3d750c69c",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/dfu/iBEC.n94.RELEASE.dfu": {
"kind": "img3",
"iv": "b9f99de35e106350d89af30482249df3",
"key": "03d3ecffe7df8729a85df6eafc96ee78bead7822f63ebab21016ac4157dee793",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/all_flash/all_flash.n94ap.production/DeviceTree.n94ap.img3": {
"kind": "img3",
"iv": "70860c7ffbd16f51b4ac998eda7db70d",
"key": "ca597a5833a96eafcf4316790a25f37fb2593b2da170b0c5e855c4fab93c2469",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (model iPhone4,1)"
}
},
"inputs": {
"BuildManifest.plist": {
"ipsw": {
Expand Down
4 changes: 4 additions & 0 deletions devices/n94/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPhone4,1"]
[match.dfu]
chip = 0x8940
board = 0x08

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 4 additions & 0 deletions devices/p101/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad3,4"]
[match.dfu]
chip = 0x8955
board = 0x00

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 4 additions & 0 deletions devices/p102/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad3,5"]
[match.dfu]
chip = 0x8955
board = 0x02

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 4 additions & 0 deletions devices/p103/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad3,6"]
[match.dfu]
chip = 0x8955
board = 0x04

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
4 changes: 3 additions & 1 deletion devices/p105/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ disabled. See [the alignment check](../../docs/bring-up/p105-alignment.md).
partition belongs to the iOS resize step, which does not exist yet. There
is no boot partition: starting the installed system later needs the
Cascadia bundle the install leaves on the host, placed for iOS's boot
chain. Starting any payload needs `orchard-launcher` (recovery-autogo).
chain. orchard starts a payload by the `ibss` route into the 32-bit m1n1
(`ibss-m1n1`), which has not run on a P105 yet; `--boot autogo` starts it
with Cascadia's loader (recovery-autogo).
- USB: the cold-handoff topic (#90) awaits a device boot of its exact
revision, and the iPad 3 (J1) a regression boot of the shared PHY code;
see [USB handoff](../../docs/bring-up/p105-usb-handoff.md).
Expand Down
6 changes: 6 additions & 0 deletions devices/p105/boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"iv": "8460cab6348e74ba7134ba0f9462b632",
"key": "485ddb5f7e70cecfc25c036f812641b9e55bd97783de1488306e3a80abf6950b",
"source": "rzxvx/Project-Cascadia@091d441f19e101699f7e1835a80ccb48d6e54eec devices/a5/scripts/build-firmware.sh (public community firmware keys)"
},
"Firmware/all_flash/all_flash.p105ap.production/DeviceTree.p105ap.img3": {
"kind": "img3",
"iv": "c9c12cfe3a16823f1d678775c7aedc88",
"key": "050f2457801615132e7455b622c8c8dfb65f09d4ff1eb86b5c0a1160678117c2",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (model iPad2,5)"
}
},
"inputs": {
Expand Down
7 changes: 4 additions & 3 deletions devices/p105/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ chip = 0x8942
board = 0x0a

[boot]
methods = ["jailbreak-kdfu", "recovery-autogo"]
methods = ["ibss-m1n1", "jailbreak-kdfu", "recovery-autogo"]
entries = ["pico-checkm8", "kdfu"]
# Python's CLI consumes an owner-private boot manifest. orchard starts the board by its ibss boot
# route (routes.toml) with the public firmware keys in boot.json.
# orchard starts the board by its ibss boot route (routes.toml) into the 32-bit m1n1, with
# the public firmware keys in boot.json; Cascadia's autogo route (--boot autogo) stays as
# the fallback.

[kernel]
platform = "apple-armv7" # kernel/series/apple-armv7, kernel/configs/apple-armv7
Expand Down
4 changes: 4 additions & 0 deletions devices/p106/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ apple_products = ["iPad2,6"]
[match.dfu]
chip = 0x8942
board = 0x0c

[boot]
methods = ["ibss-m1n1"]
entries = ["pico-checkm8", "kdfu"]
20 changes: 20 additions & 0 deletions devices/p107/boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"sha256": "5d5506635af7aa15ea47f2731f5dbd8c4ebebe0d71a413f3b866ff58d796fc5a"
},
"selected_by": "chip-reference",
"keys": {
"Firmware/dfu/iBSS.p107.RELEASE.dfu": {
"kind": "img3",
"iv": "fa39c596b6569e572d90f0820e4e4357",
"key": "34b359fcc729a0f0d2853e786a78b245ed36a9212c8296aaab95dc0401cf07de",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/dfu/iBEC.p107.RELEASE.dfu": {
"kind": "img3",
"iv": "6569eed96df512cc8e8807a50fe79270",
"key": "23c2d76e12dbef7c2a107d8733b96dc79cbbb353bf649cdc7fea63c91904f623",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (iBoot-2261.30.37)"
},
"Firmware/all_flash/all_flash.p107ap.production/DeviceTree.p107ap.img3": {
"kind": "img3",
"iv": "ade3c16e5919c6a820d631c95da3fae2",
"key": "7faab4991cefdea2b460305e45c1557d4dddd072ddf492a8f756e5ece156f238",
"source": "api.ipsw.me v4 keys (12H321, public firmware keys); checked 2026-12-02 by decrypting this member (model iPad2,7)"
}
},
"inputs": {
"BuildManifest.plist": {
"ipsw": {
Expand Down
Loading
Loading