Repository navigation
32-bit boards: a hang resets the device, scattered LwVM roots boot by PARTUUID, iPad mini 1 flash fixes - #445
Merged
Merged
Conversation
…ni flash fix Orchard's 32-bit kernel now builds OrchardLinux/linux armv7 at fba8865f5, which brings three merged changes to every A5, A5X, A6 and A6X board: - A hung system resets the device on its own within 60 s, and power off restarts into iOS instead of sitting there: Linux keeps the watchdog m1n1 hands it armed and pets it until systemd takes over (linux#88). The same change gives the iPhone 5 both CPU cores, USB serial and network, and restart, and the A6X its second-core timer and watchdog counter. - A Linux partition that iOS scattered over the flash gets its normal PARTUUID on the read-only disk applesftlNlwvm, so root=PARTUUID= finds it without a device-mapper table (linux#89). - The 16 GB iPad mini 1 no longer refuses its flash (-74) after iOS has written to it: the reader accepts iOS 9's flag-1 records (linux#87; 6 of 6 cold boots read the flash). The expanded config copy is unchanged: the new tip's defconfig gives the same config. Device data keeps its states; only the p105 notes say the 16 GB refusal is fixed. Assisted-by: LLM
The armv7 lock moves on to a9b8e0344, which adds linux#90: the iPad mini 1 (P105) raw flash capture device now lives in the kernel (CONFIG_MTD_APPLE_H2FMI_P105_CAPTURE, built as a module by the defconfig). orchard#433 removed orchard's own copy, so P105 images carry p105_capture.ko from the kernel again, and CI now always checks that the P105 measurement build has it. Assisted-by: LLM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What owners of 32-bit iPhones and iPads (A5, A5X, A6, A6X) get from the kernel Orchard builds for them:
/dev/watchdog(ARM: apple: iPhone 5 (A6) and its watchdog, ready for the iPad 4 (A6X) too linux#88). So far this has been seen on the iPhone 5 only; every other board has the same kernel.applesftlNlwvm.root=PARTUUID=finds them like on every other board, with no device-mapper table typed in by hand (mtd: apple-sftl: Boot from LwVM partitions iOS scattered over the flash linux#89). Not booted on a device yet. The 16 GB iPad mini 1 needs this, because its Linux partition is in three pieces. This makes the initrd workaround in initrd: boot a read-only root on a scattered LwVM partition (16 GB iPad mini 1) #438 unnecessary.-74) after iOS has written to it. Before the fix it was refused on 9 of 13 boots; with it, 6 of 6 cold boots read the flash (mtd: apple-sftl: accept iOS 9's flag-1 records on 16 GB media (fixes the -74 refusal) linux#87).p105_capturemodule now comes from the kernel (mtd: apple-h2fmi: move the P105 raw flash capture module in from orchard linux#90). orchard#433 removed orchard's copy, so with this change P105 images carryp105_capture.koagain. CI now always checks that the P105 measurement build includes it.The armv7 kernel lock moves to the
armv7tip (a9b8e0344), done withtools/kernel-tree/take. The only change to the config copy isCONFIG_MTD_APPLE_H2FMI_P105_CAPTURE=m. Device states stay as they were. The p105 notes, the 32-bit platform doc and the CHANGELOG now describe these changes as built rather than pending.Checks run locally: the catalog, platform, routes, armv7 and p105 tests (all pass) and
tools/catalog/generate matrix --check.