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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ is on main, the release is published with that section as its notes (AGENTS.md,
route: the boot request can end in a USB protocol error while the iBSS
takes over, and the run no longer stops there.

- On Linux, the iPhone 5s and other A7 devices start by the ibss route:
the boot ROM's new DFU session after gaster can show as a USB protocol
error instead of a disconnect, and the start no longer stops there.

- The A13 iPhones (iPhone 11, 11 Pro, 11 Pro Max, SE 2nd generation) get
their boot firmware built as the A12's: their patched iBSS takes the same
borrowed manifest, so no manifest of your own is needed.
Expand Down
5 changes: 4 additions & 1 deletion crates/runtime/src/ibss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ fn fresh_dfu_after_gaster(session: &mut Session<Host>, say: &mut dyn FnMut(&str)
dfu.reset().map_err(usb::error)?;
break;
}
Err(e) if e.kind == orchard_usb::Kind::Disconnected => {
// Leaving mid-transfer can also end it with a protocol error
// (Linux EPROTO: Kind::Fault), as on an A7 (N51); wait_marked
// below still requires the boot ROM back with gaster's mark.
Err(e) if matches!(e.kind, orchard_usb::Kind::Disconnected | orchard_usb::Kind::Fault) => {
say("The boot ROM started a new DFU session");
break;
}
Expand Down
Loading