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.
Pull Request Overview
[2022-07-02] First prototype
[2022-07-23] Change Log
[2022-08-02] Change Log
[2022-08-11] Change Log
[2022-08-14] Change Log
tockloader erase-apps
[2022-08-15] Change Log
nonvolatile_storage_driver
.Testing Strategy
[2022-07-02] First prototype. It is not necessary to test.
[2022-07-23] Change Log
[2022-08-02] Change Log
[2022-08-11] Change Log
tockloader list --verbose
. If the app bundles are loaded successfully, tockloader can read the loaded apps successfully. [2022-08-11 Done and Pass]Alignment_Test.xlsx
in /doc/OTA_app[2022-08-14] Change Log
tockloader erase-apps
[2022-08-15] Change Log
TODO or Help Wanted
[2022-07-02] First prototype.
[2022-07-23]
[2022-08-02]
[2022-08-11]
Is it worthy to improve finding a start address based on MPU rules including subregion?
(Currently, I didn't consider subregion rules) => Not priority for now.
If we load a new app, but another app that has same name as the new app, I think, it is reasonable to erase the old app and flash the new app again. However, we can't assure that the new app uses the same size of sram and flash memory as the old app. How to deal with this situation? Although they have same flash size, they can use different size of sram.
[2022-08-14]
Documentation Updated
/docs/OTA_app
, Please refer to 'OTA_app_system_documnet.md' at docs directory. I summarized the OTA app design concept.Formatting
make prepush
.