Skip to content
OrchardLinuxPublic

About

Orchard's installer, launcher and command line for Linux on iPhones and iPads

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Orchard tools

The programs that run on your computer to put Linux on an iPad or iPhone and start it, built in Rust on shared libraries:

  • The installer: a graphical app that splits the device's storage, installs a distribution such as Omarchy A, and sets up the launcher. One generic build; each distribution stamps it with its name, wordmark and release.
  • Orchard: the launcher, which starts an installed system. It is neutral and shared by every distribution.
  • The command line (orchard2, in progress): the same building blocks for scripts and development. Its documentation is in docs/.

They build on orchard, which holds what runs on the device. macOS (Apple Silicon and Intel) and Linux (x86_64 and aarch64).

Layout

Path What it is
crates/app The installer and Orchard windows (GPUI)
crates/flow Their state: one statechart, one update function, no I/O
crates/runtime Runs the flow: downloads, boots, the companion link (usbmux), the install
crates/usb USB transports: DFU, recovery, Pongo, m1n1
crates/boards Device descriptions and firmware recipes
crates/formats File formats Apple devices and Linux boots use
crates/cache Pinned downloads and the cache
crates/build build: the component cache and orchard's producers
crates/remote shell, exec, push, pull: a running system over SSH or the serial console
crates/device, crates/cli The command line
docs What orchard2 does, command by command
TODO.md What is decided but not done
companion The iPad app that splits the storage, with its helper
packaging Release builds, stamping (stamp.py) and install.sh
vendor Patched or pinned third-party code (see each PATCHED.md)

Build

cargo build --release -p orchard-installer-app   # orchard-installer and orchard
cargo test --workspace

Linux needs libxkbcommon and the Wayland, X11 (xcb), Vulkan, fontconfig, FreeType, ALSA and OpenSSL headers for the windows (packaging/linux/Containerfile lists the packages); the command line alone needs none of them, and nothing needs libusb. The companion needs Xcode (companion/build.sh). Release artifacts: packaging/build-macos.sh, packaging/build-linux.sh <arch> (Podman) and packaging/package-linux.sh <arch>, then packaging/stamp.py per distribution.

License

GPL-2.0-or-later (LICENSE). Vendored code keeps its own license, in its directory.

About

Orchard's installer, launcher and command line for Linux on iPhones and iPads

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages