~/talk

CPatch: Optimising OTA Upgrades Through Binary Diffs

Talkat Open Source Summit Europe 2025 · on Monday, 2025-08-25· at 11:20· G105 (Level 1)· [web-performance]
links:none on file
slides:none on file

CPatch produces linear, single-step binary patches for Zephyr devices with a small constant-memory C runtime and a Python patch generation tool that heuristically picks the smallest diff. It validates input/output CRCs, streams writes to flash, and requires a readable original image plus a small flash slot for the patch. Real results: a 440,000-byte firmware becomes a 24,000-byte patch (≈6%), complex 568,000-byte apps drop to ~120KB (~20%), and one demo uses 1,900 patch instructions to change LED behavior. native Zephyr C implementation streaming flash writer

AI-written summary · about

  1. 0:00CPatch and OTA upgrades
  2. 2:29Problem with full firmware updates
  3. 6:23Existing binary diff limits
  4. 8:48CPatch optimizes embedded patching
  5. 13:42Binary diff encoding challenges
  6. 17:17CPatch instruction set
  7. 21:32CPatch efficiency gains
  8. 24:48CPatch versus other tools
  9. 27:00CPatch embedded implementation
  10. 30:13Python patch generation
  11. 33:47Live CPatch demo
  12. 38:36Q&A on CPatch
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.