ESP Delta Usage
Posted: Tue Jun 04, 2024 10:36 pm
Hello All,
I hope this forum post finds you well. I've got a question about using the esp delta ota library and tools. I've looked as much as I can for an answer (I crashed this site's search feature a couple of times) so I thought I'd post my question here (instead of raising an issue on the esp github).
Would anyone happen to have experience with / know how one does repeated patching on firmware using esp delta ota? My assumption is something like the following:
patch = create new firmware patch (base firmware, new firmware)
patch 2 = create new firmware patch (new firmware, edited new firmware)
Basically your edited firmware becomes your new "base firmware" for the purposes of applying the procedure again. Like, if you were emitting continuous updates to an esp board, would you just keep creating patches from the rolling binary? Is the "patched" binary an exact copy of the new binary? For example, let's say I have base_binary. I then edit base_binary to get edited_binary. I create a patch called patch from base_binary and edited_binary. I then apply this patch to an esp board. Is that update that has been stored in flash (using the patch) equal to a fresh build (using the same esp-idf version) of the edited_binary?
idf.py build (edited_binary) === board update by patch (base_binary, patch) ?
Thanks for your time in shedding some light on this question. Let me know if any clarification of the question is needed. Sorry if I come off like a newb, but what ya gonna do.
Cheers,
The Beepiest and the Boppiest
I hope this forum post finds you well. I've got a question about using the esp delta ota library and tools. I've looked as much as I can for an answer (I crashed this site's search feature a couple of times) so I thought I'd post my question here (instead of raising an issue on the esp github).
Would anyone happen to have experience with / know how one does repeated patching on firmware using esp delta ota? My assumption is something like the following:
patch = create new firmware patch (base firmware, new firmware)
patch 2 = create new firmware patch (new firmware, edited new firmware)
Basically your edited firmware becomes your new "base firmware" for the purposes of applying the procedure again. Like, if you were emitting continuous updates to an esp board, would you just keep creating patches from the rolling binary? Is the "patched" binary an exact copy of the new binary? For example, let's say I have base_binary. I then edit base_binary to get edited_binary. I create a patch called patch from base_binary and edited_binary. I then apply this patch to an esp board. Is that update that has been stored in flash (using the patch) equal to a fresh build (using the same esp-idf version) of the edited_binary?
idf.py build (edited_binary) === board update by patch (base_binary, patch) ?
Thanks for your time in shedding some light on this question. Let me know if any clarification of the question is needed. Sorry if I come off like a newb, but what ya gonna do.
Cheers,
The Beepiest and the Boppiest