Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.99 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.99 KB

orchard

orchard is the command line of the Orchard tools: it builds what runs on an iPad or iPhone, puts it there over USB and starts it. The graphical installer and the launcher are built on the same libraries; install and launch are their flow on a terminal.

To Read
install a distribution on a device install.md
start an installed system launch.md
make room for Linux beside iPadOS, or give it back resize.md
build a RAM payload or a distribution's release build.md
open a shell on a running system, run a command, copy a file, allow SSH afterwards, save Apple's device tree remote.md
see or clean what is cached cache.md
list devices, name one, keep one for several commands devices.md
boot a kernel in RAM, or start m1n1 alone run.md
talk to DFU mode, iBoot, Pongo or m1n1 directly low-level.md
look at board data and firmware data-and-firmware.md
install or update orchard, see what this computer lacks, and get it host.md
script it: options, environment, JSON, exit statuses reference.md

What every command shares

  • --json prints one JSON document on stdout instead of text (install and launch: one event per line). Progress and what tools print go to stderr.
  • --data DIR (ORCHARD_DATA) is the orchard data: board descriptions, and for build the recipes. Without it each command uses a copy it keeps in the cache (data-and-firmware.md, build.md).
  • --cache DIR (ORCHARD_CACHE) is the cache (cache.md).
  • --ecid and --location name one device (devices.md).

No command touches a device unless it says so: build, inputs, cache, doctor, boards, board, data, fw (except fw build --device-keys), and m1n1 pack work without one.