loader: add ota#424
Open
gibix wants to merge 3 commits into
Open
Conversation
gibix
marked this pull request as ready for review
May 14, 2026 10:25
gibix
force-pushed
the
feat/ota
branch
2 times, most recently
from
June 15, 2026 09:28
05e8558 to
6d33c9d
Compare
andreagilardoni
force-pushed
the
feat/ota
branch
3 times, most recently
from
July 21, 2026 13:07
f39142e to
d756b49
Compare
|
This PR needs to be merged on top of #550 |
moved sketch header outside of loader main, in order to favor reuse of that code section, it can then be used by the sketch itself for ota Signed-off-by: Andrea Gilardoni <a.gilardoni@arduino.cc>
On boot, install /ota:/UPDATE.BIN into the user_sketch partition when the file is present. Validates the inner sketch header and bounds, and keeps UPDATE.BIN on post-erase failure so the next boot can retry. Signed-off-by: Gilberto Conti <g.conti@arduino.cc>
andreagilardoni
force-pushed
the
feat/ota
branch
from
July 21, 2026 13:16
d756b49 to
bac80f7
Compare
Built
|
| Artifact | Board | Core | Tests | RAM | Sketches | Warnings | Errors |
|---|---|---|---|---|---|---|---|
✅* zephyr_contrib |
ek_ra8d1
| 1 🏷️ | ✅* |
11.9% |
2 | 2 | - |
frdm_mcxn947
| 7 🏷️ | ✅* |
58.6% |
2 | 2 | - | |
frdm_rw612
| 2 🏷️ | ✅* |
83.2% |
2 | 2 | - | |
✔️* zephyr_main |
giga
| 5 🏷️ | ✅* |
39.3% |
72 | 40 | - |
nano33ble
| 1 🏷️ | ✅* |
78.9% |
42 | 18 | - | |
nano_connect
| 📗 | ✅* |
48.1% |
32 | 18 | - | |
nano_matter
| 2 🏷️ | ✅* |
|
22 | 10 | - | |
nicla_sense
| 3 🏷️ | ✅* |
|
18 | 10 | - | |
nicla_vision
| 4 🏷️ | ✔️* |
39.5% |
56 | 28 | (2*) | |
opta
| 4 🏷️ | ✅* |
42.4% |
66 | 44 | - | |
portentac33
| 3 🏷️ | ✅* |
81.8% |
70 | 70 | - | |
portentah7
| 3 🏷️ | ✅* |
41.2% |
84 | 52 | - | |
✅* zephyr_unoq |
unoq
| 1 🏷️ | ✅* |
43.5% |
56 | 12 | - |
Legend
Board Test Status description 🔥 🔥 Test run failed to complete. ❌ 🔴 Test completed with unexpected errors. ⁉️ ⁉️ Test was expected to fail but passed; exception entry is outdated. ✔️* 🚫 Test completed with errors, but all are known/expected. ✅* 🟡 Test completed with some warnings; no errors detected. ✅ 🟢 Test passed successfully, with no warnings or errors. 🌑 🌑 Test was skipped.
enable ota support for tested boards Signed-off-by: Andrea Gilardoni <a.gilardoni@arduino.cc>
andreagilardoni
force-pushed
the
feat/ota
branch
from
July 23, 2026 08:40
bac80f7 to
e5a9a3b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a first porting of portenta_ota and
The main "change" is that now the ota payload contains
<llext loader + padding + user sketch>Features
Boards
Step to reproduce
extra/ota-pack.otafile from the output dirpython -m http.server 8000in the directory that contains the sketch