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

Add RAM load single application commits back #2107

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

nordicjm
Copy link
Collaborator

@nordicjm nordicjm commented Oct 28, 2024

Adds commits that were removed to allow for a bug fix in zephyr 4.0

RAM loading code is currently under bootutil/loader.c, and it's not
accessible for different loaders, such as the single loaders. Future
patches will make use of the RAM loading code outside the
bootutil/loader.c context, and this patch prepares for that by making it
standalone on boot/bootutil/src/ram_load.c

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
(cherry picked from commit 9f1e573)
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Following the split of RAM code, these definitions will help use it with
single slot applications.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
(cherry picked from commit 5c67fb9)
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This option basically enables MCUBOOT_RAM_LOAD in a single
slot configuration, meaning the image on slot0 will be loaded into RAM.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
(cherry picked from commit 249a71d)
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Now that's possible to load image to RAM on single loaders, add support
on Zephyr port for that.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
(cherry picked from commit 4893193)
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
@nordicjm nordicjm merged commit 040fc42 into mcu-tools:main Nov 11, 2024
58 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