Commit Graph
2 Commits
Author SHA1 Message Date
Claude d0b5933b93 FM-1 Rescue: restore JIANT by default (bundled), V15 as the option
JIANT runs under the boot head of V15 and of V16, while V15's app under
V16's head is untested; the rescue never writes the head, so an FM-1 that
came with V16 is restored to JIANT. The android workflow puts the public
JIANT package in the APK (android/rescue/fetch_jiant.py, same checks as
make_site.py, GPL + Apache-2.0 notices). The app offers JIANT (default),
the official V15 (downloaded once) or a .fwsc of your own; the web page
and make_uf2.mjs accept JIANT packages too (identity FM-1_9xx, flash.bin
exactly 0x93000, Felucca loader inside). Tested with a package made by
tools/fm1pkg_make.py: Java, JS and the page agree byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpwNe3f8G3bWubf9TX
2026-11-20 02:55:45 +00:00
Claude 57cd2a8d7f FM-1 Rescue for Android; live rescue progress on the data port
android/rescue: one-screen app that programs the RP2040 (RP2040-Zero or
XIAO) over PICOBOOT through an OTG cable with the rescue firmware, the
user's official V15 and JieLi's loader, reboots it, and follows the FM-1
repair on the board's data port. Core (RescueImage, Picoboot,
RescueStatus) tested on a computer against a mock RP2040: the flash ends
identical to the web page's .uf2. Built by the android workflow.

Firmware: `rescue` is answered on core 0 with phase and sector, so the
progress is readable during a restore. The done flag no longer survives a
watchdog reboot (a re-flashed board could have reported done for a new
unit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpwNe3f8G3bWubf9TX
2026-11-20 00:44:38 +00:00