-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Add retention subsystem #55125
Add retention subsystem #55125
Conversation
0b95ffa
to
5602ccf
Compare
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
825a50a
to
e6e0017
Compare
e6e0017
to
e7e16ff
Compare
e7e16ff
to
e15c204
Compare
Adds a boot mode system which allows for redirecting the boot target of a device depending upon the state of a retained value. Signed-off-by: Jamie McCrae <[email protected]>
Adds a command which can be used to enter mcuboot's serial recovery mode when the retention subsystem is enabled. Signed-off-by: Jamie McCrae <[email protected]>
Deprecates setting GPREGRET to the reset reason as this has been replaced with the boot mode retention subsystem for nRF51/nRF52. Signed-off-by: Jamie McCrae <[email protected]>
Adds a note that the old behaviour of setting the GPREGRET register to the parameter of sys_reboot() is no longer the default as the boot mode interface has replaced it. Signed-off-by: Jamie McCrae <[email protected]>
Adds documentation for the retention subsystem and boot mode interface. Also marks the retention subsystem as experimental. Signed-off-by: Jamie McCrae <[email protected]>
Adds a test that exercises the boot mode (retention subsystem) feature to check that an application can successfully boot into mcuboot's serial recovery mode. Signed-off-by: Jamie McCrae <[email protected]>
Adds mcuboot Kconfig options to the ignore list as these are defined in mcuboot but used in documentation and samples which utilise sysbuild to build mcuboot. Signed-off-by: Jamie McCrae <[email protected]>
Adds an optional Kconfig to disable use of mutexes in the retained memory driver. Signed-off-by: Jamie McCrae <[email protected]>
Adds an optional Kconfig to disable use of mutexes in the retention subsystem. Signed-off-by: Jamie McCrae <[email protected]>
Adds details on the newly introduced retention subsystem and boot mode APIs to the release notes. Signed-off-by: Jamie McCrae <[email protected]>
816c0d5
to
120c740
Compare
Once this is merged, sure, submit a PR to add support for more boards. |
Fixed |
Good, still missing the sample to show how multiple subsystems (independently) can enable/disable this functionality according to their needs. |
No different than flash partitions |
Flash partitions have a lot of limitations. There are afaik no subsystems that are making changes (e.g. inserting) to the flash partitions because it is error prone and not possible without prior knowledge. The only way that changes are applied is by deleting the complete partition layout and rebuilding it. So please again, show how to do it. |
Adds a retention system which builds on top of retained memory drivers to allow partitioning of areas and data integrity with magic header prefixes and checksum of stored data.