Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modular OTA improvements #104

Merged

Conversation

chuyue-luo-arm
Copy link
Contributor

Description

Add the following features to modular OTA:

  • Metadata printing: OTA orchestrator now prints metadata of job document when it is received
  • Check for firmware version: OTA orchestrator now checks if the update app firmware version is higher than the current app firmware version. If not, the update is rejected. This involves sending the updater firmware version to the cloud and retrieving it on reboot.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

An OTA image should be accepted only if the update version is higher
than the current firmware version. This commit adds an out-of-tree patch
to the Jobs-for-AWS-IoT-embedded-sdk library which adds functionality
for sending the updatedBy version to the cloud and retrieving it when
the device reboots.

Signed-off-by: Chuyue Luo <[email protected]>
The OTA orchestrator now checks if the updated firmware version is
higher than the previous firmware version.

Signed-off-by: Chuyue Luo <[email protected]>
The OTA Agent should not shut down after rebooting, since there may be
further OTA updates sent.

Signed-off-by: Chuyue Luo <[email protected]>
@urutva urutva merged commit 79a7f2c into FreeRTOS:main Jan 13, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants