[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110573":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":14,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},110573,"orchard","OrchardLinux\u002Forchard","OrchardLinux","Linux on Apple devices: hardware support, kernel patches, recipes and the orchard tool","",null,"Python",111,31,3,10,0,11,48,14,60.77,"Other",false,"main",true,[],"2026-11-23 20:03:05","2026-11-23 13:55:03","# Orchard\n\nLinux on Apple devices. This repository holds everything a device needs and the\n`orchard` tool that builds, boots and installs it: device descriptions, kernel\npatches and configuration, m1n1 and Pongo patches, firmware recipes, the recovery\nand device runtime, and the host side (USB transports, firmware conversion,\ninstallation, launch). Distributions such as\n[omarchy-a](https:\u002F\u002Fgithub.com\u002FOrchardLinux\u002Fomarchy-a) and\n[minimal-linux](https:\u002F\u002Fgithub.com\u002FOrchardLinux\u002Fminimal-linux) build on it.\n\n## Start\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002FOrchardLinux\u002Forchard && cd orchard\n.\u002Fsetup\norchard run examples\u002Fminimal-boot\n```\n\n`.\u002Fsetup` shows what this computer needs to build and boot (uv, Podman, libusb,\npalera1n, the `orchard` command), asks, and sets it up; rerun it until it says\nReady. `orchard doctor` shows the same without changing anything. Put the device\nin DFU mode before `orchard run`: it builds what is missing for the attached\nboard, then boots it. The first build compiles Linux, which takes a while; later\nones reuse it.\n\n## Supported hardware\n\nCurrently: iPad 6 Wi-Fi (`iPad7,5`, J71b), experimental. Boot is tethered and GPU acceleration is not available.\n\nThe iPhone 6 (`iPhone7,2`, N61AP) has experimental tethered support. See the [bring-up record](docs\u002Fn61-bringup.md) for its tested features and remaining work.\n\nEvery board, chip and feature state: [device compatibility](docs\u002Fcompatibility.md).\n\n## Install a system\n\nFollow the install instructions of a distribution, e.g. omarchy-a. Every release\nof a distribution carries its installer:\n\n```sh\ncurl -fsSL https:\u002F\u002Fgithub.com\u002FOrchardLinux\u002Fomarchy-a\u002Freleases\u002Flatest\u002Fdownload\u002Finstall.sh | sh\n```\n\nIt needs no Python, uv or checkout: `install.sh` downloads a pinned standalone\nPython and the release's `orchard-install.pyz`, checks both, and installs. It\nleaves the user's `orchard` on PATH (`install`, `launch`, `devices`, `update`),\nwhich a later installer replaces only with a newer one. Releases built before\norchard 0.2 install with the released Orchard 0.1.10\n([OrchardLinux\u002Fcli releases](https:\u002F\u002Fgithub.com\u002FOrchardLinux\u002Fcli\u002Freleases)).\n\nTo start an installed system again, connect the device in DFU mode and run\n`orchard launch`. The host sends only Pongo and m1n1; m1n1 reads the boot entries\nfrom the device's boot partition and starts the one you choose (`--entry ID` picks\none without asking). Any computer with Orchard can launch any installed system.\n\n## Connect to a running system\n\n`orchard shell`, `exec`, `push` and `pull` discover a running device over USB by\ndefault. To use Wi-Fi instead, pass an SSH address, for example\n`orchard shell --host 192.168.0.19 --user tablet` or\n`orchard exec --host 192.168.0.19 --user tablet -- uname -a`. The installed\nsystem must allow this computer's Orchard SSH key. For a RAM payload, use\n`--host 192.168.0.19 --ram` instead; it connects as root with the RAM key.\nThe payload must have SSH and Wi-Fi configured.\n\nNetwork connections accept and remember a new SSH host key on first use; unlike\nUSB RAM sessions, this does not verify the device's identity over serial. Verify\nthe key out of band. Changed keys are rejected. RAM payloads generate a new\nkey each boot; to trust a new boot, remove the old address with\n`ssh-keygen -R 192.168.0.19 -f ~\u002F.cache\u002Forchard\u002Fprivate\u002Fram-ssh\u002Fnetwork_known_hosts`\n(adjust the cache path if configured differently).\n\n## Develop\n\nThe `orchard` command `.\u002Fsetup` puts on your PATH (`tools\u002Flauncher`) runs the\nnewest nightly of orchard, its tooling and its components, looked up once per\ncommand; `ORCHARD_VERSION` pins one, and `orchard update` installs the newest\nnightly's launcher. To work on orchard itself, run a checkout's own\n`bin\u002Forchard` by its path: it runs that checkout, from any directory, with\nits hardware data and recipes beside `src\u002F`.\n\nA payload is built for every board of one platform (`out\u002Fapple-16k\u002F`, `out\u002Fapple-4k\u002F`).\n`orchard run` takes the platform from the attached board; `orchard build` from\n`--device BOARD`, `--platform`, a `device` in the checkout's `orchard.local.toml`\n(never committed) or the attached board. Nothing in a repository names a board.\n\nBring up a device or try a driver in a worktree of its own:\n\n```sh\ngit worktree add ..\u002Forchard-gpu -b gpu-a10\ncd ..\u002Forchard-gpu\u002Fexamples\u002Fminimal-boot\norchard run\n```\n\nThe [examples](examples\u002F) are starting points: `minimal-boot` (a serial shell),\n`charger-001` (a read-only observation), `hardware-check` (a report on what a device\noffers). `orchard python ARGS` runs Python in the checkout's environment, e.g. a\ndistribution's own scripts or `orchard python -m unittest discover -s tests`. See\n[BUILD.md](BUILD.md) for building components directly.\n\nA distribution checkout has an `orchard.toml` with a `[release]` table naming its\nbuild entry (`name = \"...\"`, `[release] build = \"tools\u002Fbuild.py\"`). There\n`orchard build` builds a whole release into `out\u002Freleases\u002Fdev-DATE-TIME`,\n`orchard run` boots its recovery on the attached device without installing, and\n`orchard install` installs the last build ([tooling](docs\u002Ftooling.md)).\n\n- [Kernel producers](kernel\u002FREADME.md)\n- [Device bring-up](docs\u002Fdevice-bring-up.md)\n- [RAM builds and development](docs\u002Fram-development.md)\n- [Firmware recipes](docs\u002Ffirmware-recipes.md)\n- [Device operation protocol](docs\u002Fdevice-protocol.md)\n- [Host adapter contract](docs\u002Fadapter-contract.md)\n- [SSH lifecycle](docs\u002Fssh-lifecycle.md)\n- [Recovery tools](boot\u002Finitramfs\u002Frecovery\u002FREADME.md)\n- [Quiet boot patches](boot\u002Fquiet\u002FREADME.md)\n- [J71b compatibility audit and validation limits](docs\u002Fj71b-compatibility-audit.md)\n- [GitHub builds](docs\u002Fci.md)\n- [Tooling design](docs\u002Ftooling.md)\n- [Platforms, kernel trees, builds and boot](docs\u002Fplatforms-and-builds.md)\n- [Contributing](CONTRIBUTING.md)\n\nThe repository contains recipes and code, not private Apple firmware, calibration,\ndevice trees captured from hardware, or session credentials. Device-specific inputs\nare prepared on the user's host.\n\n## License\n\nSee [LICENSE](LICENSE), [NOTICE](NOTICE), `LICENSES\u002F`, and per-file SPDX identifiers for component licenses and upstream credits.\n","Orchard 是一个为苹果设备（如 iPad 6、iPhone 6）提供 Linux 支持的开源工具集，涵盖硬件适配、内核补丁、固件构建与启动管理。其核心是 `orchard` 命令行工具，支持 DFU 模式下 tethered 启动、系统安装、远程 shell\u002F文件传输及多设备运行时管理；依赖 m1n1 和 Pongo 引导层，采用 Python 实现主机侧逻辑。适用于嵌入式 Linux 爱好者、ARM64 架构研究者及苹果旧设备再利用场景，当前支持有限但具备可扩展的设备描述与构建框架。",2,"2026-11-24 04:39:20","CREATED_QUERY"]