~/talk

CPatch: Optimising OTA Upgrades Through Binary Diffs

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

CPatch is a binary patch algorithm for Zephyr FOTA that claims single‑step embedded apply with no decompression and constant compile‑time RAM, using a C native Zephyr implementation with constant memory and a Python generator that tries many heuristics and picks the smallest output. It requires reproducible builds and a readable original image, needs a small extra flash slot, and fails on encrypted images. Demo updates three devices and produces 24 kB patch vs 440 kB image (~6%); comparisons show size typically second best vs bsdiff/xdelta/joro diff.

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.