-
Notifications
You must be signed in to change notification settings - Fork 3k
Allows placing KVStore and update images on separate storage devices - to internal and external flash #11165
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
Allows placing KVStore and update images on separate storage devices - to internal and external flash #11165
Conversation
This is needed. |
@VeijoPesonen, thank you for your changes. |
@VeijoPesonen can you clarify the commit and fix description? There is no presumption that KVstore is always in external flash. We do already have configurations with do not use external storage at all. Instead the KVStore always has at least one part in internal flash. |
Fixes a bug where it has not been possible to have KVStore in internal flash while an update image image has been kept in external storage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. You could update also the title.
I'm not assigned as a reviewer, but this looks good to me. |
@ARMmbed/team-embeddedplanet |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Seems to fail with NUCLEO_F429ZI, with all compilers.
|
|
TDBStore's default location has been changed and test cases adjusted accordingly as a fix for the earlier PR check issues. Please re-review. |
Thus far the default position has been after the application plus two spare sectors. For simplicity and to have a predictable location for the TDBStore with the default configuration the location is now switched to the end of the flash. Two last sectors to be exact.
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
Script failure, unit tests are passing.
|
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
@0xc0170 Please remove the "Needs Work" label and add "Ready for Merge" This has now been reviewed and tests have passed. (Yossi will probably not spend time anymore for this). |
Allows having KVStore in internal and update image in external flash
Fixes a bug where it has not been possible to have KVStore in internal
flash while an update image image has been kept in external storage.
[TDBStore] changes the default TDBStore location. Instead of placing the TDBStore after the application - plus two spare sectors if a new app image is bigger than the original - now it's kept at the end of the flash
Description
Pull request type
Reviewers
@SeppoTakalo
@yossi2le
@teetak01
Release Notes
Fixes TDB_INTERNAL configuration - makes possible to have the KVStore inside internal flash while update images are kept in an external storage.