add ota_update app (ESP32-C3 NOR flash OTA, XIP stream install) - #19
Open
jinwjinl wants to merge 2 commits into
Open
add ota_update app (ESP32-C3 NOR flash OTA, XIP stream install)#19jinwjinl wants to merge 2 commits into
jinwjinl wants to merge 2 commits into
Conversation
ESP32-C3 OTA update app: reboot-based OTA model. Boot applies pending update (load ELF from /data -> stream XIP image to on-chip flash -> copy RW segs), connects wifi, runs the installed image inline on the main thread (no second 24KB thread stack -> avoids heap OOM), then enters the auto OTA watch loop. Components: - main.rs: boot flow + inline run + auto_ota_loop entry - download.rs: watch protocol, pull path (command), FS_LOCK serialization - image.rs: XIP stream install (build_xip/derive_drom/map+call), DROM-aware - wifi.rs: scan + connect via SIOCSIWSCAN/SIOCSIWESSID ioctls - transfer.rs / http.rs: transfer permit + plain HTTP client - app.conf: NET/WLAN + SPI_CORE/LCD (slint UI needs the display) - BUILD.gn: reload_autoconf + esp32_app image action Co-Authored-By: Claude <noreply@anthropic.com>
Author
|
build_prs |
|
Job is started, see https://github.com/vivoblueos/apps_example/actions/runs/32961349906. |
|
❌ Job failed. Failed jobs: check_format (failure), check_license (failure), see https://github.com/vivoblueos/apps_example/actions/runs/32961349906. |
Author
|
build_prs |
|
Job is started, see https://github.com/vivoblueos/apps_example/actions/runs/32968865231. |
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/apps_example/actions/runs/32968865231. |
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.
ESP32-C3 OTA update app: reboot-based OTA model. Boot applies pending update (load ELF from /data -> stream XIP image to on-chip flash -> copy RW segs), connects wifi, runs the installed image inline on the main thread (no second 24KB thread stack -> avoids heap OOM), then enters the auto OTA watch loop.
Components: