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

Enhancement: option to reduce TLV re-reads #1895

Open
de-nordic opened this issue Jan 29, 2024 · 0 comments
Open

Enhancement: option to reduce TLV re-reads #1895

de-nordic opened this issue Jan 29, 2024 · 0 comments

Comments

@de-nordic
Copy link
Collaborator

de-nordic commented Jan 29, 2024

What is a problem?

We keep on re-reading TLV in various places in MCUboot, which usually means that we try to access flash, and iterate over some are of it, several times.
We could probably have an option to cache the TLV read and keep it in memory to reduce on need to access storage.

What are the costs?

Some additional logic for read and additional memory for caching.

What do we gain?

Reduce need to access flash every time so improved boot time and reduced power consumption during boot phase, especially when it is needed to read TLV from externally connected device.

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

No branches or pull requests

1 participant