firmware-ota-updates
/firmware-ota-updates
Pomaga wdrażać aktualizacje firmware przez sieć z slotami A/B, podpisanymi obrazami, odpornością na utratę zasilania i etapowym wdrożeniem na flocie, także przy przeglądzie systemu aktualizacji urządzeń.
- Autor
- Amey-Thakur ↗
- Repozytorium
- AI-SKILLS ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pomaga wdrażać aktualizacje firmware przez sieć z slotami A/B, podpisanymi obrazami, odpornością na utratę zasilania i etapowym wdrożeniem na flocie, także przy przeglądzie systemu aktualizacji urządzeń.
Oryginalny opis (EN)
Ship over-the-air firmware with A/B slots, signed images, power-loss resilience, and staged fleet rollout. Use when building device update systems or reviewing one before it bricks a fleet.
Jak działa
- Method
- Boundaries
Podgląd SKILL.md
--- name: firmware-ota-updates description: Ship over-the-air firmware with A/B slots, signed images, power-loss resilience, and staged fleet rollout. Use when building device update systems or reviewing one before it bricks a fleet. --- # Firmware OTA updates OTA is the highest-stakes code you will ship: a bug in the updater bricks devices you cannot touch. Every design choice serves one invariant: the device can always boot *something* that can take another update. ## Method 1. **Use A/B slots with an immutable recovery floor.** Two application slots: write the new image to the inactive slot, verify, mark bootable, reboot into it; the old slot remains intact for rollback. Beneath both, a minimal bootloader that never updates OTA (or only via a separately-armored path) and can always reach the update channel: that is the unbrickable floor (see cloud-disaster-recovery's tiered thinking, in silicon). 2. **Verify signatures before *and* at every boot.** Images signed (ed25519-class) with keys the device holds only the public half of; verify after download, and secure-boot verifies the active slot each boot so corrupted flash fails to rollback instead of executing garbage. Include version anti-rollback (monotonic counters) so an attacker cannot downgrade to a vulnerable build (see crypto-usage, supply-chain-defense for the signing pipeline). 3. **Make the state machine power-loss-proof.** Update state (downloading, verified, trial-boot, confirmed) lives in flash with atomic transitions (see script-idempotency's atomicity at byte scale); yank power at *any* point and the device resumes or reverts cleanly: test exactly that with automated power-cycling rigs, hundreds of cycles across the state transitions (see chaos-testing, made literal). 4. **Confirm health before committing.** First boot on the new slot is a trial: the application must positively confirm (connectivity up, watchdog quiet, self-tests pass: see health-checks' readiness idea) within a window, or the bootloader auto-reverts to the old slot. The confirm bar is "can take the *next* update", minimum: a device that boots but cannot update again is slow-motion bricked. 5. **Roll out to the fleet in stages.** Canary cohort (lab devices, then 1%), watch update-success and post-update health telemetry (see mobile-observability's release-health twin, canary-analysis), expand on evidence with numeric halt criteria; jitter download windows so a million devices do not hit the CDN and the cell network at once (see scheduled-jobs' jitter, cdn-strategy). Delta updates cut bandwidth 5-10x for constrained links (see iot-messaging's budget reality); resumable downloads for flaky connectivity. 6. **Version compatibility beyond the binary.** Config and data formats migrate forward across versions (see game-save-systems' migration discipline); hardware revisions gate image selection (right image for the right board, enforced by device-reported IDs); and the fleet dashboard answers "which versions are out there" at all times: you will support every version that exists until it does not (see api-versioning's usage-measurement rule). ## Boundaries - Managed OTA services (Mender/Memfault/AWS-class) implement much of this; evaluate them against the checklist above rather than rebuilding (see managed-vs-selfhosted): the power-loss and confirm-health testing remains yours either way. - Tiny MCUs without space for two slots need swap-with-scratch schemes (MCUboot-style) with their own fine print; the invariants stay identical, the mechanics get harder. - Update *content* policy (what ships when, regulatory re-certification for medical/automotive) is a release process on top (see mobile-release-strategy's cadence ideas); this skill is the mechanism that makes any policy survivable.
Wersje
W bazie nie ma innych skilli o nazwie firmware-ota-updates.
Migawka bazy z 13.11.2026 · wersja paczki 600558d28f92 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100ota-update-integration
Pomaga projektować, integrować, testować i debugować aktualizacje firmware OTA na urządzeniach wbudowanych: formaty pakietów, transport, rollback, wersjonowanie i odporność na utratę zasilania. - 100volt-ota
Projektuje kompletny system aktualizacji OTA: układ partycji, przebieg aktualizacji, warunki wycofania, walidację, zarządzanie flotą oraz scenariusze awarii i odzyskiwania. - 85esp32-secure-ota-production
Projektuje produkcyjne aktualizacje OTA ESP32 z podpisanym firmware, wycofywaniem, bezpiecznym rozruchem i wdrożeniem na całą flotę. - 90ota-power-loss-fault-injection
Sprawdza, czy aktualizacje firmware przetrwają utratę zasilania, reset, przerwę w sieci i uszkodzone fragmenty, dzięki kontrolowanemu wstrzykiwaniu błędów. - 95expo-updates
Opisuje aktualizacje over-the-air (OTA) w Expo Updates: konfigurację, sprawdzanie aktualizacji i strategie aktualizowania. - 100ota-updates
Wdraża aktualizacje EAS Update over-the-air w Expo: fingerprint runtime'ów, kanał na wariant, rollout i rollback, także gdy aktualizacja nie dociera.