MeshCore FUOTA Entwurf zur PrüfungDraft for review

Was ein Update das Mesh kostet

Über Funk geht nur der Patch, beim kleinen Release 10.076 B gemessen. Das sind 63 Datenpakete an einen Nachbarn berechnet, und jeder Knoten sendet höchstens 0,3 % Airtime im Code geprüft. Für 152 verbundene Repeater um Hamburg sind es 1.400 bis 1.800 Datenpakete berechnet.

What an update costs the mesh

Only the patch travels over the air, 10,076 B for the small release measured. That is 63 data packets to one neighbour calculated, and every node sends at most 0.3 % airtime checked in the code. For 152 connected repeaters around Hamburg it takes 1,400 to 1,800 data packets calculated.

Patch, Datenpakete und Airtime je Release

Ein Patch ist der Unterschied zwischen 2 Images. Airtime ist die Sendezeit auf dem Kanal. Die Größen stammen von echten MeshCore-Releases. Wir haben ihre Tags für den FakeTec gebaut, ein nRF52840-Board. Gebaut ist Stock (MeshCore unverändert) mit -Os, also auf Größe übersetzt gemessen. Daraus folgt, was ein Knoten sendet, der einen Nachbarn versorgt berechnet:

UpdatePatchDatenpaketeAirtime CR 4/8Airtime CR 4/5
kleines Release (1.17.0 nach 1.17.1)10.076 B63108 s72 s
Release ohne Compilerwechsel (1.17.1 mit GCC 14 nach 1.18.0)22.680 B138238 s158 s
mittleres Release (1.16.0 nach 1.17.0)34.179 B207356 s237 s

Die Airtime-Spalten zeigen die Sendezeit für ein Release. Sie gilt für alle Datenpakete, einmal an einen Nachbarn gesendet. Datenpakete sind alle Fragmente einer Kampagne: das Manifest (beim kleinen Release 2), die Prüftabelle mit einem Prüfwert je Patch-Fragment (3) und der Patch selbst (58), zusammen 63 berechnet.

Patch, data packets and airtime per release

A patch is the difference between 2 images. Airtime is the time a node transmits on the channel. The sizes come from real MeshCore releases. We built their tags for the FakeTec, an nRF52840 board. We built stock (MeshCore unchanged) with -Os, that is for size measured. From them follows what a node sends that supplies one neighbour calculated:

UpdatePatchData packetsAirtime CR 4/8Airtime CR 4/5
small release (1.17.0 to 1.17.1)10,076 B63108 s72 s
release without compiler change (1.17.1 with GCC 14 to 1.18.0)22,680 B138238 s158 s
medium release (1.16.0 to 1.17.0)34,179 B207356 s237 s

The airtime columns show the transmit time for one release. It covers all data packets, sent once to one neighbour. Data packets are all fragments of a campaign: the manifest (2 for the small release), the check table with one check value per patch fragment (3) and the patch itself (58), 63 in total calculated.

Airtime-Budget

Jeder Knoten sendet höchstens 0,3 % Airtime im Code geprüft. Das Budget ist eine harte Grenze für alle FUOTA-Pakete zusammen. Nur Knoten, die Nachbarn versorgen, senden Daten. Im Testaufbau galt ein Budget von 10 %. In FUOTAs eigener Rechnung war der höchste Anteil je 120 s 10,1 % berechnet. Das Funkmodul meldete 10,8 % gemessen. Der Unterschied sind die normalen lokalen Adverts (Selbstmeldungen) des Repeaters, alle 2 min, 449 ms. Ohne sie stimmt die Rechnung mit der gemessenen Sendezeit überein.

Kanallast

Jeder Sender nutzt höchstens sein Budget. In Hamburg hört ein Knoten im Median 2 Sender in Reichweite, im 90. Perzentil (p90) 6. Bei 0,3 % Budget sind es im dichtesten Zehntel bis rund 1,8 % Update-Verkehr berechnet. Bei 1 % sind es rund 6 % berechnet. Eine Anfrage nennt genau einen Anbieter. Auch wenn mehrere das Update haben, sendet für einen Fragenden immer nur einer. Die Zahlen für ganz Hamburg stehen unter Verteilung in Hamburg.

Airtime budget

Every node sends at most 0.3 % airtime checked in the code. The budget is a hard limit for all FUOTA packets together. Only nodes that supply neighbours send data. On the bench the budget was 10 %. By FUOTA's own count the highest share per 120 s was 10.1 % calculated. The radio module reported 10.8 % measured. The difference is the repeater's normal local adverts (self-announcements), every 2 min, 449 ms. Without them the calculation matches the measured transmit time.

Channel load

Each sender uses at most its budget. In Hamburg a node hears 2 senders in range (median). At the 90th percentile (p90) it hears 6. At 0.3 % the densest tenth sees up to about 1.8 % update traffic calculated. At 1 % it is about 6 % calculated. A request names exactly one provider. Even when several have the update, only one sends for a given puller. The figures for all of Hamburg are under Distribution in Hamburg.

Dauer je Hop

Ein Hop ist der Weg eines Updates von einem Knoten zu seinem direkten Nachbarn. Die Rechnung nimmt SF8, CR 4/5, 1.144 ms je Datenpaket und 4-KB-Seiten berechnet.

  • Hop 1 braucht alle Datenpakete der Kampagne.
  • Jeder weitere Hop braucht nur eine Seite mehr, weil geprüfte Seiten sofort weitergehen.
  • Eine Seite sind 23,3 Datenpakete. Bei 0,3 % dauert jeder weitere Hop rund 2,5 h berechnet.
  • Bei 1 % sind es rund 0,7 h berechnet.
  • Im Testaufbau trifft die Rechnung. Hop 1 dauerte bei 10 % 484,5 s gemessen, gerechnet waren es 486 bis 490 s berechnet. Hop 2 lag eine Seite dahinter gemessen.

Aus den gemessenen Patches folgt die Dauer berechnet:

Duration per hop

A hop is an update's way from one node to its direct neighbour. The calculation uses SF8, CR 4/5, 1,144 ms per data packet and 4 KB pages calculated.

  • Hop 1 needs all data packets of the campaign.
  • Each further hop needs only one page more, because checked pages move on at once.
  • A page is 23.3 data packets. At 0.3 % each further hop takes about 2.5 h calculated.
  • At 1 % it is about 0.7 h calculated.
  • On the bench the calculation holds. Hop 1 took 484.5 s at 10 % measured. The calculation gave 486 to 490 s calculated. Hop 2 was one page behind measured.

From the measured patches follows the duration calculated:

UpdatePatch mit -Os (mit -Ofast)SeitenDatenpaketeHop 1 bei 0,3 / 1 %5 Hops bei 0,3 / 1 / 2 %Anwenden
kleines Release (1.17.0 nach 1.17.1)10,1 KB (14,3)3636,7 / 2,0 h16,5 / 5,0 / 2,5 hhinter dem Image
Release ohne Compilerwechsel (1.17.1 nach 1.18.0, beide GCC 14)22,7 KB (32,6)613814,6 / 4,4 h24,5 / 7,3 / 3,7 hhinter dem Image
mittleres Release (1.16.0 nach 1.17.0)34,2 KB (41,8)920721,9 / 6,6 h31,8 / 9,5 / 4,8 hhinter dem Image
Compilerwechsel (1.17.1 nach 1.18.0)135 KB (219)338073,6 Tage / 25,6 h4,0 Tage / 28,6 / 14,3 hüberlappend (33 Seiten, hinter das Image mit 74 Seiten passen 23)
UpdatePatch with -Os (with -Ofast)PagesData packetsHop 1 at 0.3 / 1 %5 hops at 0.3 / 1 / 2 %Applied
small release (1.17.0 to 1.17.1)10.1 KB (14.3)3636.7 / 2.0 h16.5 / 5.0 / 2.5 hbehind the image
release without compiler change (1.17.1 to 1.18.0, both GCC 14)22.7 KB (32.6)613814.6 / 4.4 h24.5 / 7.3 / 3.7 hbehind the image
medium release (1.16.0 to 1.17.0)34.2 KB (41.8)920721.9 / 6.6 h31.8 / 9.5 / 4.8 hbehind the image
compiler change (1.17.1 to 1.18.0)135 KB (219)338073.6 days / 25.6 h4.0 days / 28.6 / 14.3 hoverlapping (33 pages; 23 fit behind the 74-page image)

Verteilung in Hamburg

Grundlage sind echte Nachbardaten von Repeatern im Umkreis von 50 km um das Rathaus. Stand ist der 18. Oktober 2026. Das sind 168 Repeater und 534 Verbindungen mit mindestens −7 dB SNR. Von den 168 Repeatern sind 152 verbunden. Positionen sind auf 0,5 km gerundet, ohne Namen.

Sendungen je Kampagne

Senden müssen nur Knoten, die Nachbarn versorgen. Das sind mindestens etwa 22 von 152, die kleinste verbundene Sendermenge berechnet. Die Animation unten kommt auf 28 (Seed in der Mitte, am Rand sind es 36), weil dort jede Seite vom schnellsten Nachbarn kommt berechnet. Daraus folgen die Datenpakete im ganzen Gebiet, gerechnet als 22 bis 28 Sender mal die Pakete je Sender (kleines Release 63, Compilerwechsel 807):

UpdateDatenpakete im ganzen Gebiet
kleines Release1.400 bis 1.800 berechnet
Compilerwechsel17.800 bis 22.600 berechnet

Fluten heißt: Jeder Repeater sendet jedes Datenpaket einmal weiter. Update-Daten fluten bei FUOTA nie. Sie gehen nur an direkte Nachbarn oder auf einem festen Pfad. Geflutet werden nur kleine Nachrichten: Angebot, Retract (signierter Rückruf) und Schlüssel-Widerruf. Wann und wie oft, steht unter Warum es funktioniert.

Animation

Die Animation rechnet die Verteilung selbst, mit dem Ablauf von oben. Sie geht Hop für Hop und Seite für Seite vor. Jede Seite kommt von dem Nachbarn, der sie am frühesten liefern kann.

Du wählst Update, Budget, den Anteil der Repeater mit FUOTA und den Seed. Der Seed ist der erste Knoten mit dem neuen Release. Er ist per USB oder BLE installiert und gibt es weiter. Er sitzt in der Mitte oder am Rand. Spiele die Verteilung ab oder geh sie Schritt für Schritt durch.

Distribution in Hamburg

The basis is real neighbour data of repeaters within 50 km of city hall. The data is from 18 October 2026. That is 168 repeaters and 534 links with at least −7 dB SNR. Of the 168 repeaters, 152 are connected. Positions are rounded to 0.5 km, without names.

Transmissions per campaign

Only nodes that supply neighbours have to send. That is at least about 22 of 152, the smallest connected set of senders calculated. The animation below uses 28 (seed in the centre, 36 at the edge), because every page comes from the fastest neighbour there calculated. From this follow the data packets for the whole area, calculated as 22 to 28 senders times the packets per sender (small release 63, compiler change 807):

UpdateData packets in the whole area
small release1,400 to 1,800 calculated
compiler change17,800 to 22,600 calculated

Flooding means that every repeater re-sends every data packet once. With FUOTA, update data never floods. It only goes to direct neighbours or along a fixed path. Only small messages are flooded: the offer, the retract (signed recall) and a key revocation. When and how often is explained under Why it works.

Animation

The animation computes the spread itself, using the sequence from above. It works hop by hop and page by page. Each page comes from the neighbour that can deliver it earliest.

You choose the update, the budget, the share of repeaters running FUOTA and the seed. The seed is the first node with the new release. It is installed by USB or BLE and passes it on. It sits in the centre or at the edge. Play the spread or step through it.

0 h
Angebotoffer Anfragerequest Datendata
wartetwaiting holt (Ring = Seiten)pulling (ring = pages) fertigdone ohne FUOTAno FUOTA nie erreichtnever reached
Was das Modell nicht kann
  • Es rechnet keine Kollisionen ein, auch keine durch versteckte Knoten (die einander nicht hören).
  • Es rechnet keinen normalen Verkehr und keine Paketverluste ein.
  • Es nimmt einen Anbieter je Seite. Mehrere würden schneller liefern. Am 18. Oktober 2026 waren es im Testaufbau mit der alten Regel, nach der zwei Anbieter sich abwechselten, 235 s statt 464 s, also doppelt so schnell gemessen. Heute nennt jede Anfrage genau einen Anbieter. Am 3. November 2026 sendete in beiden Läufen mit zwei Anbietern nur einer gemessen.
  • Ein Anbieter, der mehrere Nachbarn mit verschiedenem Stand versorgt, teilt sein Budget. Das rechnet das Modell nicht ein.
  • Nachbardaten gibt es nur von Repeatern, deren Nachbarn jemand abgerufen hat.
  • Die Patch-Größen stammen vom Stock-FakeTec mit -Os aus den Release-Tags.
  • Mit 33 Seiten passt der Compilerwechsel nicht hinter das Image mit 75 Seiten (22 frei) berechnet. Das ist das Image von 1.18.0-b3. Am 8. November 2026 waren es 74 Seiten und 23 frei. Ein Knoten wendet ihn überlappend an, erst nach dem Fenster, in dem er weitergibt. Diese Wartezeit rechnet das Modell nicht ein.
  • Real dauert es eher länger: Kollisionen, Paketverluste und normaler Verkehr kommen dazu.
What the model cannot do
  • It does not model collisions, also none from hidden nodes (that cannot hear each other).
  • It does not model normal traffic or packet loss.
  • It assumes one provider per page. Several would deliver faster. On 18 October 2026 on the bench, with the old rule under which two providers took turns, it was 235 s instead of 464 s, so twice as fast measured. Today each request names exactly one provider. On 3 November 2026 only one of the two providers sent in both runs measured.
  • A provider that serves several neighbours with different states shares its budget. The model does not account for that.
  • Neighbour data exists only for repeaters whose neighbours somebody has fetched.
  • The patch sizes come from the stock FakeTec with -Os from the release tags.
  • At 33 pages the compiler change does not fit behind the 75-page image (22 free) calculated. That is the image of 1.18.0-b3. On 8 November 2026 it was 74 pages and 23 free. A node applies it overlapping, only after the window in which it passes it on. The model does not include that wait.
  • Real runs tend to take longer: collisions, packet loss and normal traffic add to it.

Warum Patches klein bleiben

Das Ziel ist, dass alle dieselben signierten Images aus den Releases auf GitHub installieren. Dann erreicht ein Patch, eine Kampagne jeden Repeater mit FUOTA. Ein Knoten mit selbst gebautem Image bekommt keinen Patch von seinen Nachbarn. Seit dem 11. November 2026 läuft ein Alpha-Test mit 1.17.1-b2 und 1.18.0-b3. Eine allgemeine Freigabe gibt es nicht offen.

Einen Compilerwechsel wie von 1.17.1 nach 1.18.0 gibt es mit FUOTA nur mit Absicht. Die FUOTA-Builds frieren Compiler und Bibliotheken ein.

Eingefrorene Toolchain, reproduzierbarer Build

Ein Patch bleibt nur klein, wenn beide Images dieselbe Toolchain nutzen. Die Toolchain sind Compiler und Bibliotheken. Der Wechsel von GCC 7 auf GCC 14 machte aus 32,6 KB 219 KB gemessen. Beide Patches sind mit bsdiff und -Ofast gebaut.

Die Stock-Konfiguration von MeshCore erlaubt neuere Versionen:

  • die Platform ohne Version
  • die Toolchain und 14 Bibliotheken mit ^
  • transitive Bibliotheken (die Bibliotheken der Bibliotheken) ohne Version

Eine neue Bibliotheksversion ändert dort das Image, ohne dass sich der Quelltext ändert. Die FUOTA-Builds legen darum alles exakt fest:

  • Platform nordicnrf52 11.0.0
  • GCC 14.2.1 (toolchain-gccarmnoneeabi 1.140201.0)
  • Framework und Git-Bibliotheken per Commit
  • alle Bibliotheken, auch die transitiven, die ins Image gehen

Zwei Builds desselben Commits wichen nur an einer Stelle ab. Das ist der Build-Stempel der Funkbibliothek (__DATE__, __TIME__). Der Release-Build setzt SOURCE_DATE_EPOCH auf die Commit-Zeit.

  • Zwei Builds desselben Commits in verschiedenen Verzeichnissen sind byte-gleich gemessen.
  • Ein Linux-Build ist nicht byte-gleich zu einem macOS-Build. Das Toolchain-Paket einer Version enthält für beide Systeme dieselben 376 Objektdateien der C-Mathebibliothek. Im Archiv liegen sie in anderer Reihenfolge. Der Linker ordnet die Funktionen entsprechend anders: gleicher Code, Patch zwischen beiden 8.259 B gemessen.

Release-Images entstehen darum immer im selben Linux-Container:

  • Basis-Image per Digest und auf linux/arm64 festgelegt
  • PlatformIO 6.2.0 und seine Python-Pakete mit Version und Hash
  • dazu die festgelegten Versionen von oben
  • gebaut wird genau ein Commit

Zwei Läufe und ein unabhängiger Linux-Build ohne dieses Container-Image ergaben alle Images byte-gleich gemessen. Der unabhängige Build nutzte Python-Pakete ohne Hashes und einen anderen Pfad. Ob ein x86_64-Rechner dasselbe Image baut, ist nicht geprüft offen.

Patches entstehen immer gegen das archivierte Release-Image, das auf den Geräten läuft. Nie gegen einen Neubau. Ein Patch für das falsche Image zerstört nichts. Der Knoten zieht nur, wenn der Quell-Hash im Angebot zu seinem Image passt.

Kleineres Image, kleinere Patches

Der Adafruit-Core übersetzt nRF52-Firmware mit -Ofast, also auf Tempo. FUOTA-Builds übersetzen mit -Os, also auf Größe, und ändern außerdem:

  • USB: Die ungenutzten Klassen sind aus (Massenspeicher, HID, MIDI, Vendor, Video). Die serielle Schnittstelle bleibt, das UF2-Laufwerk gehört dem Bootloader.
  • Sensoren: Es fehlen die Treiber für
    • den Laser-Abstandssensor VL53L0X
    • das Infrarot-Thermometer MLX90614
    • den alten Drucksensor BMP085
    • den Bodenfeuchtesensor RAK12035
  • Funkbibliothek: Es fehlt die Tonausgabe.
  • Uhrenchip RX8130CE: Die Zeit wird ohne die Zeitzonen-Funktionen der C-Bibliothek gerechnet.
  • Einheits-Image (ein Image für alle Boards): kein Display-Treiber mehr, die Taste bleibt.

So schrumpft das Image gemessen:

Einheits-ImageGrößeSeitenRAM
vorher375.040 B9237,5 KB
nach diesen Änderungen257.768 B6332,5 KB

Heute kommen dazu:

  • Code, der Lücken bei normalen Repeatern überbrückt (Flut-Angebote und Retracts, Daten per Pfad)
  • die Betreiber-Befehle über LoRa
  • das Release-Paket
  • die Härtung nach dem externen Review
  • der Schutz gegen wiederholte Fern-Befehle
  • signierte Angebote
  • signierte Statusmeldungen

Die Testhilfe fuota hang ist nicht mehr dabei. Zusammen sind es im Image von 1.18.0-b3 306.104 B gemessen und 75 Seiten berechnet. Der RAM beträgt 45.768 B laut Bau-Bericht. Das Image von 1.17.1-b2 hat 301.928 B und 74 Seiten. Beim ersten Bau des Release-Env am 8. November 2026 waren es 299.284 B gemessen. Das waren 74 Seiten und 43.580 B RAM. Am 20. Oktober 2026 waren es 270.080 B, 66 Seiten und 37.036 B RAM.

Weil weniger eingebetteter Code mitwandert, sind die Patches 18 bis 39 % kleiner gemessen. Wir haben die Release-Tags am Stock-FakeTec gebaut, einmal mit -Ofast, einmal mit -Os. Jeder Patch hat eine Rundreise bestanden: anwenden, dann das neue Image prüfen. Beide Werte stehen in der Tabelle oben.

Hinter ein Image mit 75 Seiten passen Patches bis 22 Seiten berechnet. Größere wendet der Knoten überlappend an. Beim Image vom 8. November 2026 mit 74 Seiten waren es 23 Seiten.

Der erste echte Patch des Alpha-Tests führt von 1.17.1-b2 auf 1.18.0-b3. Er hat 28.630 B gemessen. Das sind 163 Fragmente zu 176 B und 7 Seiten berechnet. Dazu kommen das Manifest (3 Fragmente) und die Prüftabelle (8 Fragmente) berechnet. Das sind 174 Fragmente: Ein Knoten holte die Kampagne dc7b7cb0 mit 174 Fragmenten gemessen. Der Patch passt hinter das Image. Laut Bericht baute der Host-Test aus ihm ein Image, das Byte für Byte gleich ist.

Das kleinere Image kostet etwas Rechenzeit. Auf einem FakeTec gemessen:

Vorgangmit -Osmit -Ofast
Signieren eines eigenen Adverts12,9 ms11,7 ms
Schlüsseltausch bei einer Anmeldung30,6 ms30,3 ms

Prüfen, AES und SHA-256 laufen in der CryptoCell (Prüfen 17,8 ms). Sie hängen nicht am Compiler gemessen.

Ein Image für alle Boards

Ein Image für alle unterstützten Boards heißt eine Kampagne für das ganze Gebiet. Bei einem Image je Modell:

  • Jedes Modell bräuchte eine eigene Kampagne mit eigenem Patch.
  • Ein Knoten könnte nur von Knoten desselben Modells holen.
  • Die Datenpakete vervielfachten sich mit der Zahl der Modelle.

Why patches stay small

The goal is that everyone installs the same signed images from the releases on GitHub. Then one patch, one campaign reaches every repeater with FUOTA. A node with a self-built image gets no patch from its neighbours. An alpha test with 1.17.1-b2 and 1.18.0-b3 has been running since 11 November 2026. There is no general release open.

A compiler change like 1.17.1 to 1.18.0 happens with FUOTA only on purpose. The FUOTA builds freeze compiler and libraries.

Frozen toolchain, reproducible build

A patch stays small only when both images use the same toolchain. A toolchain is the compiler plus the libraries. The change from GCC 7 to GCC 14 turned 32.6 KB into 219 KB measured. Both patches use bsdiff and -Ofast.

The stock configuration of MeshCore allows newer versions:

  • the platform without a version
  • the toolchain and 14 libraries with ^
  • transitive libraries (the libraries of the libraries) without a version

A new library release changes the image there without any change in the source. The FUOTA builds therefore pin everything exactly:

  • platform nordicnrf52 11.0.0
  • GCC 14.2.1 (toolchain-gccarmnoneeabi 1.140201.0)
  • framework and git libraries by commit
  • all libraries, including the transitive ones that end up in the image

Two builds of one commit differed only in one place. That is the build stamp of the radio library (__DATE__, __TIME__). The release build sets SOURCE_DATE_EPOCH to the commit time.

  • Two builds of the same commit in different directories are byte-identical measured.
  • A Linux build is not byte-identical to a macOS build. The toolchain package of one version holds the same 376 object files for both systems. They belong to the C math library and sit in another order in the archive. The linker orders the functions accordingly: same code, patch between the two 8,259 B measured.

Release images therefore always come from the same Linux container:

  • base image pinned by digest and to linux/arm64
  • PlatformIO 6.2.0 and its Python packages pinned by version and hash
  • plus the pinned versions above
  • exactly one commit is built

Two runs and an independent Linux build without this container image gave byte-identical images measured. The independent build used Python packages without hashes and another path. Whether an x86_64 machine builds the same image is not checked open.

Patches are always built against the archived release image on the devices. Never against a rebuild. A patch for the wrong image breaks nothing. The node only pulls when the source hash in the offer matches its image.

Smaller image, smaller patches

The Adafruit core compiles nRF52 firmware with -Ofast, that is for speed. FUOTA builds compile with -Os, that is for size, and also change:

  • USB: the unused classes are off (mass storage, HID, MIDI, vendor, video). The serial port stays, the UF2 drive belongs to the bootloader.
  • Sensors: the drivers are missing for
    • the VL53L0X laser distance sensor
    • the MLX90614 infrared thermometer
    • the old BMP085 pressure sensor
    • the RAK12035 soil moisture sensor
  • Radio library: the tone output is missing.
  • RX8130CE clock chip: times are converted without the time zone functions of the C library.
  • Unified image (one image for all boards): no display driver any more, the button stays.

The image shrinks like this measured:

Unified imageSizePagesRAM
before375,040 B9237.5 KB
after these changes257,768 B6332.5 KB

Today it also carries:

  • code that bridges gaps of normal repeaters (flooded offers and retracts, data along paths)
  • the operator commands over LoRa
  • the release package
  • the hardening after the external review
  • the protection against replayed remote commands
  • signed offers
  • signed status messages

The test helper fuota hang is no longer in it. Together the image of 1.18.0-b3 has 306,104 B measured and 75 pages calculated. The RAM is 45,768 B according to the build report. The image of 1.17.1-b2 has 301,928 B and 74 pages. At the first build of the release env on 8 November 2026 it was 299,284 B measured. That was 74 pages and 43,580 B RAM. On 20 October 2026 it was 270,080 B, 66 pages and 37,036 B RAM.

Because less inlined code moves along, patches are 18 to 39 % smaller measured. We built the release tags on the stock FakeTec, once with -Ofast, once with -Os. Every patch passed a round trip: apply it, then check the new image. Both values are in the table above.

Patches of up to 22 pages fit behind an image of 75 pages calculated. A node applies larger ones overlapping. For the image of 8 November 2026 with 74 pages it was 23 pages.

The first real patch of the alpha test goes from 1.17.1-b2 to 1.18.0-b3. It has 28,630 B measured. That is 163 fragments of 176 B and 7 pages calculated. The manifest (3 fragments) and the check table (8 fragments) come on top calculated. That makes 174 fragments: A node pulled the campaign dc7b7cb0 with 174 fragments measured. The patch fits behind the image. According to the report, a host test built a byte-identical image from it.

The smaller image costs some compute time. On a FakeTec measured:

Stepwith -Oswith -Ofast
signing the node's own advert12.9 ms11.7 ms
key exchange of a login30.6 ms30.3 ms

Verification, AES and SHA-256 run in the CryptoCell (verification 17.8 ms). They do not depend on the compiler measured.

One image for all boards

One image for all supported boards means one campaign for the whole area. With one image per model:

  • Every model would need its own campaign with its own patch.
  • A node could only pull from nodes of the same model.
  • The data packets would multiply with the number of models.

Ausfall und Wartezeit

Downtime and waiting

Ausfallzeit beim Anwenden

Das Anwenden dauerte am Test-Image rund 1 min: 12 s bauen, 30 bis 39 s tauschen, dazu der Start. Am Release-Image dauert das Bauen 10,2 s gemessen, die Gesamtzeit ist dort nicht gemessen. Bei sofortigem Anwenden fehlt der Knoten so lange als Anbieter. Im Testaufbau kostete das den nächsten Hop 56 s gemessen.

Wartezeit auf ein Angebot

Das Angebots-Intervall springt auf 10 s zurück im Code geprüft. Das passiert, wenn das Manifest geprüft oder der Patch vollständig ist. Ebenso, wenn ein Pull weitergeht oder das Anbieten startet, etwa nach einem Neustart. Danach verdoppelt es sich bis auf 2 Tage im Code geprüft. Diesen Zeitgeber nennt man Trickle (mehr dazu auf der Seite Funk).

Das Angebot liegt in der zweiten Hälfte des Intervalls. Wer später dazukommt, hört darum spätestens nach rund 3 Tagen ein Angebot im Code geprüft. Im Leerlauf lagen im Testaufbau kurz nach dem Anwenden 877 s zwischen zwei Angeboten gemessen, weil das Intervall erst wächst. Am 9. November 2026 stand es beim Geber im Brettlauf der Release-Kampagne bei einem Neustart des Empfängers schon auf 5,7 Stunden (20.480 s) gemessen. Das ist gewollt: Updates dürfen Tage dauern. Im Leerlauf bietet ein Knoten nur einmal je Intervall an.

Ein frisch aktualisierter Knoten braucht für den Probestart ein angenommenes Paket und einen eigenen Sendevorgang. Beides muss innerhalb der Frist T liegen. T liegt zwischen 15 Minuten und 6 Stunden im Code geprüft. Ohne einen Tag Laufzeit vor dem Update sind es 60 Minuten im Code geprüft. Am 9. November 2026 war das Brett ohne anderen Verkehr. Ein Knoten empfing dort 18 Minuten lang kein Paket gemessen. Ob das im Mesh mit normalem Verkehr vorkommt, ist nicht geprüft offen.

Downtime while applying

Applying took about 1 min on the test image: 12 s build, 30 to 39 s swap, plus the start. On the release image the build takes 10.2 s measured, the total has not been measured there. With immediate apply the node is missing as a provider for that long. On the bench this cost the next hop 56 s measured.

Waiting for an offer

The offer interval jumps back to 10 s checked in the code. This happens when the manifest is checked or the patch is complete. It also happens when a pull resumes or offering starts, for instance after a reboot. It then doubles up to 2 days checked in the code. This timer is called Trickle (more on the On air page).

The offer falls in the second half of the interval. A node that joins later therefore hears an offer within about 3 days checked in the code. On the bench 877 s passed between two offers when idle shortly after applying measured, because the interval is still growing. On 9 November 2026, in the bench run of the release campaign, it already stood at 5.7 hours (20,480 s) at the provider when a receiver restarted measured. This is intended: updates may take days. When idle, a node offers only once per interval.

A freshly updated node needs one accepted packet and one send of its own for the test boot. Both must come within the deadline T. T is between 15 minutes and 6 hours checked in the code. Without a day of uptime before the update it is 60 minutes checked in the code. On 9 November 2026 the bench had no other traffic. A node received no packet there for 18 minutes measured. Whether this happens in a mesh with normal traffic has not been checked open.

Weiter: NebenslotNext: Side slot →