ota-firmware-update

Solid

Over-the-air firmware update implementation expertise for embedded systems. Expert skill for delta updates, image signing, update protocols, partition management, and rollback mechanisms.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# OTA Firmware Update Skill Expert skill for over-the-air firmware update implementation in embedded systems. Provides expertise in update image generation, signing, transport protocols, partition management, and rollback mechanisms. ## Overview The OTA Firmware Update skill enables comprehensive firmware update capabilities: - Delta update generation (diff algorithms) - Image signing and encryption - Update manifest generation - MCUboot configuration - A/B partition management - Rollback mechanism implementation - Cloud integration (AWS IoT, Azure IoT Hub) - Update progress and status reporting ## Capabilities ### 1. Update Image Generation Generate firmware update images with metadata: ```javascript // Example: Update image generation configuration const imageConfig = { type: 'full', // or 'delta' input: 'build/firmware.bin', output: 'release/firmware-v1.2.0.update', version: { major: 1, minor: 2, patch: 0, build: 456 }, compression: 'lz4', // none, lz4, zlib, lzma encryption: { algorithm: 'aes-128-ctr', keyFile: 'keys/update-key.bin' } }; ``` ### 2. Image Signing Sign firmware images for secure boot chain: ```bash # Sign image with MCUboot imgtool imgtool sign \ --key keys/signing-key.pem \ --align 4 \ --version 1.2.0 \ --header-size 0x200 \ --slot-size 0x60000 \ --pad-header \ build/firmware.bin \ release/firmware-v1.2.0-signed.bin # Verify signature imgtool verify \ --key keys/signing-key.pub.pem \ ...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills