Von English mit KI übersetzt ·
Das mit den Blöcken stimmt, ist aber nicht wirklich der Grund. Flash wird in 4-KB-Sektoren gelöscht und seitenweise geschrieben, daher kann man Bytes nicht direkt an Ort und Stelle patchen. Delta-Updates sind trotzdem möglich: Das Gerät baut das neue Image aus dem alten Image plus Patch in einer Ersatzpartition neu auf. Dafür braucht es zusätzlichen Code auf dem Gerät und ein Patch-Werkzeug auf Herstellerseite. Die meisten kleinen Hersteller machen sich diese Mühe nicht.Der Sicherheitspunkt, nach dem du fragen solltest, ist, ob sie zwei OTA-Partitionen haben. Dann wird das neue Image in die inaktive geschrieben, und das alte bleibt erhalten, falls der Start fehlschlägt.
The block thing is true but not really why. Flash is erased in 4 KB sectors and written in pages, so you can’t patch bytes in place. Delta updates are still possible, the device rebuilds the new image from old image plus patch into a spare partition. It needs extra code on the device and a patch tool on the vendor’s side. Most small vendors don’t bother.
The safety bit you want to ask about is whether they have two OTA partitions. Then the new image goes into the inactive one and the old one is still there if it fails to boot.

