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
25 changes: 23 additions & 2 deletions devices/p105/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@ unit's syscfg `MtCl`, captured from its jailbroken iOS and supplied through
The Wi-Fi firmware carries a placeholder address; the platform layer gives
each iPad its own at boot ([Wi-Fi address](../../docs/bring-up/p105-firmware.md#wi-fi-address)).

## Storage by model

The iPad mini 1 came with 16, 32 and 64 GB of flash, and Orchard's flash driver
treats them differently:

| Model | Reads | Writes |
|---|---|---|
| 64 GB | working | working (SFTL, with reclamation) |
| 16 GB | working (the merged reader refuses it on many boots after iOS writes; fix pending, see Open work) | **no**: the driver reports `read-only` at boot |
| 32 GB | not seen | not seen |

`storage_write` in `device.toml` is `untested` for that reason: it was only ever
qualified on the 64 GB model. A 16 GB iPad mini 1 boots Linux from RAM and ran
Omarchy A from its flash on 2026-11-30 (see
[the 16 GB bring-up](../../docs/bring-up/p105-16gb.md)), but cannot install
until the 16 GB package's SFTL layout has a writer. The install flow also still
lacks the iOS resize step and a boot partition (see Open work), so no iPad
mini 1 installs end to end yet.

## ARMv7 boot cleanup

For [issue #79](https://github.com/OrchardLinux/orchard/issues/79), the
Expand All @@ -60,8 +79,10 @@ disabled. See [the alignment check](../../docs/bring-up/p105-alignment.md).

- Storage: the NAND driver (OrchardLinux/orchard#86, #87), the iOS disk
translation layer and its append writes (#89, #91) are in
OrchardLinux/linux `armv7` (`drivers/mtd`); the disk is `applesftlN`, on the 64 GB model
only. Reclamation (#93) is unfinished: until it lands, writes stop once
OrchardLinux/linux `armv7` (`drivers/mtd`); the disk is `applesftlN`: read and write on
the 64 GB model, read-only on the 16 GB model. The merged 16 GB reader
refuses the disk (-EBADMSG, -74) on many boots after iOS has written to it
(the loop of 2026-12-01: 9 of 13 boots refused); the fix is pending. Reclamation (#93) is unfinished: until it lands, writes stop once
the blank flash blocks are used up.
- Installing: `orchard install` writes a root into an existing Linux LwVM
partition (the shared initrd finds it by its LwVM GUID); creating that
Expand Down
53 changes: 41 additions & 12 deletions devices/p105/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,26 +48,54 @@ display = "working"
screen_off = "untested"
backlight = "untested"
gpu_desktop = "missing"
touch = "untested"
buttons = "untested"
accelerometer = "missing"
# 16 GB P105, 2026-11-30, Omarchy A running from the iPad's flash on kernels with
# linux#33/#35/#36 (docs/bring-up/p105-16gb.md, "Results on 2026-11-30"):
# touch unlocked the PIN screen and drove the desktop (small targets are hard to hit).
# The N1 boot sequence runs in the kernel (apple-z2, linux#35). Those boots supplied
# a per-unit panel calibration file (mtcal.bin) that the orchard firmware recipe does
# not produce: it is private and comes from the unit's iOS through `orchard mixin`.
# The driver starts without it (warning "starting without panel calibration"), but
# no boot has measured touch that way.
touch = "working"
# Volume buttons worked throughout; Power and Home raise GPIO interrupts and
# worked once the omarchy-powerd 32-bit event crash was patched (omarchy-a#167).
buttons = "working"
# Rotation correct in all four orientations with the mount matrix of -I (linux#35).
accelerometer = "working"
gyroscope = "missing"
light_sensor = "missing"
touch_id = "missing"
# On the 64 GB P105, the whole logical disk matched an independent
# reconstruction from raw flash captured during the same boot.
# A 64 MiB file written through SFTL survived fresh Linux recovery and two
# iOS boots with an unchanged SHA-256. The 16 GB package's layout
# (Cascadia's, mtd 0018) is read-only (no writer modelled) and has not run on
# a tablet.
# iOS boots with an unchanged SHA-256. The 16 GB P105 reads its disk
# (applesftl0, read-only: no writer is modelled) and ran Omarchy A from it
# through dm-linear on 2026-11-30 (linux#33). The merged 16 GB reader refuses the
# disk (-EBADMSG, -74) on many boots after iOS has written to it (the loop of
# 2026-12-01: 9 of 13 boots refused); a fix is pending. storage_read stays
# "working" on the 64 GB evidence.
storage_read = "working"
storage_write = "working"
wifi = "untested"
# Qualified on the 64 GB model only (the SFTL writer above). The 16 GB package
# (4 dies x 1064 blocks) mounts read-only: its layout is not modelled for
# writing, as the kernel says at boot ("read-only"). Seen on a 16 GB iPad mini 1,
# 2026-11-30. "untested" is for the 16 GB model; see README.md.
storage_write = "untested"
# 2026-11-30, 16 GB P105: joined a WPA2 network, DHCP and NTP worked, the saved
# profile reconnected on a later boot. An intermittent HSIC re-enumeration race
# can leave wlan0 missing after boot until the EHCI controller is rebound. The
# race was seen on 1 of about 8 boots; a candidate fix is not merged.
wifi = "working"
# Only a Bluetooth speaker was paired; no input device has been tried.
bluetooth_input = "untested"
bluetooth_audio = "untested"
# 2026-11-30: a speaker paired, connected and played audio; pairing survived overlay restore.
bluetooth_audio = "working"
cellular = "none"
battery = "untested"
charging = "untested"
# 2026-11-30: capacity, current, voltage and status read from the gauge.
battery = "working"
# 2026-11-30: +220 mA into the battery at full brightness on a computer port and
# on a 2 A wall charger. The driver caps the input limit at 975 mA, so wall
# charging is slower than iOS (linux#36; charger-type detection is future work).
charging = "working"
charging_control = "untested"
suspend = "missing"
resume = "missing"
Expand All @@ -76,7 +104,8 @@ resume = "missing"
usb_serial = "working"
usb_network = "working"
usb_host = "missing"
audio_output = "untested"
# 2026-11-30: the built-in speakers played audio through PipeWire.
audio_output = "working"
audio_input = "missing"
camera = "missing"
video_decode_hevc = "missing"
2 changes: 1 addition & 1 deletion docs/bring-up/p105-16gb.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ failed=0`, with 210 MB in use (210 to 221 MB across boots).
| Bluetooth | Working | A Bluetooth speaker paired, connected and played audio. The pairing survived overlay restore. | [linux #35][linux-35] |
| Built-in audio | Working | The built-in speaker played audio. | β€” |
| Browser | Firefox/Omafox unusable on 512 MB | It opened after about three minutes. The slim armv7 package set replaces it with NetSurf. | β€” |
| Power and Home | Kernel events verified; desktop daemon crashes | The pins change level and GPIO interrupts fire, but `omarchy-powerd` crashes on each press. | [omarchy-a #167][omarchy-167] |
| Power and Home | Kernel events verified; daemon crash fixed | The pins change level and GPIO interrupts fire. `omarchy-powerd` crashed on each press until omarchy-a#167 (merged 2026-12-01) fixed it. | [omarchy-a #167][omarchy-167] |
| Volume buttons | Working | The owner confirmed both buttons worked throughout testing. | β€” |
| Side switch | Polarity verified | The device tree changed from `SW_MUTE_DEVICE` to `KEY_MUTE`, the mainline convention. The silent position is active. | [linux #36][linux-36] |
| Battery gauge | Working | The charging tests used capacity, current, voltage and status readings. | β€” |
Expand Down
2 changes: 1 addition & 1 deletion docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Every device Orchard installs on. βœ… works Β· ❌ doesn't work yet Β· – no su

| Device | Chip | Installs | GPU | Touch | Wi-Fi | Bluetooth | Sound | Charges | Sleep | Rotation | Tested by |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| [iPad mini 1 (Wi-Fi)](devices/p105.md) | A5 | βœ… | ❌ | πŸ€” | πŸ€” | πŸ€” | πŸ€” | πŸ€” | ❌ | ❌ | [shaynelegault](https://github.com/shaynelegault) |
| [iPad mini 1 (Wi-Fi)](devices/p105.md) | A5 | πŸ€” | ❌ | βœ… | βœ… | πŸ€” | βœ… | βœ… | ❌ | βœ… | [shaynelegault](https://github.com/shaynelegault) |
| [iPad Air (Cellular)](devices/j72.md) | A7 | βœ… | ❌ | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | [thisiscamk](https://github.com/thisiscamk) |
| [iPad Air (China)](devices/j73.md) | A7 | πŸ€” | ❌ | πŸ€” | πŸ€” | πŸ€” | πŸ€” | πŸ€” | πŸ€” | πŸ€” | – |
| [iPad Air (Wi-Fi)](devices/j71.md) | A7 | βœ… | ❌ | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | [ricktav](https://github.com/ricktav) |
Expand Down
22 changes: 11 additions & 11 deletions docs/devices/p105.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ Driver: this board's device tree has not been read yet (`tools/catalog/generate
- πŸ€” **Screen on/off**
- πŸ€” **Backlight**
- ❌ **GPU desktop**
- πŸ€” **Touchscreen**
- πŸ€” **Buttons**
- ❌ **Accelerometer**
- βœ… **Touchscreen**: 16 GB P105, 2026-11-30, Omarchy A running from the iPad's flash on kernels with linux#33/#35/#36 (docs/bring-up/p105-16gb.md, "Results on 2026-11-30"): touch unlocked the PIN screen and drove the desktop (small targets are hard to hit). The N1 boot sequence runs in the kernel (apple-z2, linux#35). Those boots supplied a per-unit panel calibration file (mtcal.bin) that the orchard firmware recipe does not produce: it is private and comes from the unit's iOS through `orchard mixin`. The driver starts without it (warning "starting without panel calibration"), but no boot has measured touch that way.
- βœ… **Buttons**: Volume buttons worked throughout; Power and Home raise GPIO interrupts and worked once the omarchy-powerd 32-bit event crash was patched (omarchy-a#167).
- βœ… **Accelerometer**: Rotation correct in all four orientations with the mount matrix of -I (linux#35).
- ❌ **Gyroscope**
- ❌ **Light sensor**
- ❌ **Touch ID**
- βœ… **Internal storage read**: On the 64 GB P105, the whole logical disk matched an independent reconstruction from raw flash captured during the same boot. A 64 MiB file written through SFTL survived fresh Linux recovery and two iOS boots with an unchanged SHA-256. The 16 GB package's layout (Cascadia's, mtd 0018) is read-only (no writer modelled) and has not run on a tablet.
- βœ… **Internal storage write**
- πŸ€” **Wi-Fi**
- πŸ€” **Bluetooth input devices**
- πŸ€” **Bluetooth audio**
- βœ… **Internal storage read**: On the 64 GB P105, the whole logical disk matched an independent reconstruction from raw flash captured during the same boot. A 64 MiB file written through SFTL survived fresh Linux recovery and two iOS boots with an unchanged SHA-256. The 16 GB P105 reads its disk (applesftl0, read-only: no writer is modelled) and ran Omarchy A from it through dm-linear on 2026-11-30 (linux#33). The merged 16 GB reader refuses the disk (-EBADMSG, -74) on many boots after iOS has written to it (the loop of 2026-12-01: 9 of 13 boots refused); a fix is pending. storage_read stays "working" on the 64 GB evidence.
- πŸ€” **Internal storage write**: Qualified on the 64 GB model only (the SFTL writer above). The 16 GB package (4 dies x 1064 blocks) mounts read-only: its layout is not modelled for writing, as the kernel says at boot ("read-only"). Seen on a 16 GB iPad mini 1, 2026-11-30. "untested" is for the 16 GB model; see README.md.
- βœ… **Wi-Fi**: 2026-11-30, 16 GB P105: joined a WPA2 network, DHCP and NTP worked, the saved profile reconnected on a later boot. An intermittent HSIC re-enumeration race can leave wlan0 missing after boot until the EHCI controller is rebound. The race was seen on 1 of about 8 boots; a candidate fix is not merged.
- πŸ€” **Bluetooth input devices**: Only a Bluetooth speaker was paired; no input device has been tried.
- βœ… **Bluetooth audio**: 2026-11-30: a speaker paired, connected and played audio; pairing survived overlay restore.
- – **Cellular**
- πŸ€” **Battery status**
- πŸ€” **Charging**
- βœ… **Battery status**: 2026-11-30: capacity, current, voltage and status read from the gauge.
- βœ… **Charging**: 2026-11-30: +220 mA into the battery at full brightness on a computer port and on a 2 A wall charger. The driver caps the input limit at 975 mA, so wall charging is slower than iOS (linux#36; charger-type detection is future work).
- πŸ€” **Charging control**
- ❌ **Suspend**
- ❌ **Resume**
- βœ… **USB serial**: The issue #79 RAM boot verified both functions over the attached cable. Cold-handoff qualification is tracked in docs/bring-up/p105-usb-handoff.md.
- βœ… **USB network**
- ❌ **USB host**
- πŸ€” **Speakers**
- βœ… **Speakers**: 2026-11-30: the built-in speakers played audio through PipeWire.
- ❌ **Microphone**
- ❌ **Cameras**
- ❌ **Hardware H.265 video decoding**
Expand Down
Loading