fix: harden LoRa OTA chain and storage

This commit is contained in:
mikecarper committed 2026-08-29 06:58:48 -07:00
1 parent 400aa710a2
commit b40d2e6cb2
29 files changed
+7497 -528

No files matched your search

+10 -1
View File
@@ -824,7 +824,7 @@ ota rescue install <base_hash16> internal-flash nRF52 only: recover from failed
ota bootloader [status] capable allowlisted nRF52 repeater: installed BL identity/caps + staged confirmation
ota bootloader install <MID8> <HASH16>
explicitly verify/arm one complete trusted v3 package; never automatic
ota cancel | drop | stop drop the current fetch session (frees the slot)
ota cancel | drop | stop drop the fetch; durably invalidate device staging, or retain a folder partial for resume
ota announce | adv serve self + send a beacon now
ota self | id print this firmware's EndF (body/image size, base_hash)
ota qspi | storage QSPI nRF52 only: JEDEC/SR1/stage/latched storage error (read-only)
@@ -834,6 +834,15 @@ ota key | keys [add|rm <hex>] trusted signer allowlist ; bare = list
ota dev ... bring-up helpers (stage/recv/serve/resume <MID8>/verify)
```
For a device-backed pull, current firmware returns success only after the
persistent store can no longer be reopened; flash/SD/QSPI I/O or readback
failure is reported as an error even though the in-memory manager session was
dropped. For a `folder` pull, cancellation detaches the live transfer but
deliberately leaves the host `.part` file available for a later resume.
If the shared receive engine is currently performing the MeshTower SD
auto-archive capture, cancellation likewise detaches that archive transfer and
retains its `.part` file; it does not erase the unrelated manual-install store.
---
<a id="12-apply-bootloader-contract"></a>