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 · 1 comment
Open

Enhancement: option to reduce TLV re-reads #1895

de-nordic opened this issue Jan 29, 2024 · 1 comment

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.

Copy link

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant