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

Variable update at runtime #63

Closed
xypron opened this issue Nov 6, 2020 · 3 comments
Closed

Variable update at runtime #63

xypron opened this issue Nov 6, 2020 · 3 comments

Comments

@xypron
Copy link
Contributor

xypron commented Nov 6, 2020

In chapter 4 this requirement is made:

"Firmware needs a method to modify variable storage at runtime while the OS controls access to the device."

In the footnote: "If firmware doesn't have a dedicated channel to the storage device, then the OS must proxy all runtime storage IO."

  • The requirement is superfluous if we do not require SetVariable() to be implemented.
  • It is completely unclear how an OS could proxy runtime storage IO.

The requirement should be removed.

@glikely
Copy link
Collaborator

glikely commented Nov 16, 2020

There is a working implementation of runtime SetVariable() that passes the requests to StMM running under OPTEE, that then uses the normal world optee-supplicant to commit the changes to flash.

It is very important for distros. I'm still on the fence on whether or not it should be required. Not all platforms will be able to implement it, but there really isn't a great alternative at this time without re-architecting distro installers.

@glikely
Copy link
Collaborator

glikely commented Mar 15, 2021

Comment from today's EBBR biweekly (Loic Minier): Are there minimum size requirements on variable store?

There are no requirements at this time. Something to investigate. Bill remembers seeing 64k somewhere. Should open another issue to track this

@xypron
Copy link
Contributor Author

xypron commented Mar 15, 2021

Cf. #77

@xypron xypron closed this as completed Aug 29, 2023
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

2 participants