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 support for partial RAM_LOADING #1186

Merged
merged 3 commits into from
Nov 5, 2021
Merged

Add support for partial RAM_LOADING #1186

merged 3 commits into from
Nov 5, 2021

Conversation

RcColes
Copy link
Contributor

@RcColes RcColes commented Oct 27, 2021

Add new public API function to perform RAM_LOADING on a specific image. Designed to be used when only a subset of the images need to be loaded, or images need to be loaded in multiple stages.

In order to do this, change how context_boot_go handles state. It now doesn't clear the context when called. Add a new API function to clear this state so that external callers can still use context_boot_go. The semantics of boot_go are unchanged.

Also moves slot_usage into the bootloader state.

@RcColes RcColes force-pushed the master branch 2 times, most recently from a598c47 to c178b1b Compare October 28, 2021 11:53
Signed-off-by: Raef Coles <raef.coles@arm.com>
@RcColes RcColes force-pushed the master branch 2 times, most recently from 544d4b6 to a0510b2 Compare October 28, 2021 14:23
Signed-off-by: Raef Coles <raef.coles@arm.com>
Signed-off-by: Raef Coles <raef.coles@arm.com>
Copy link
Member

@d3zd3z d3zd3z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@d3zd3z d3zd3z merged commit 3fd3ecc into mcu-tools:main Nov 5, 2021
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.

2 participants