-
Notifications
You must be signed in to change notification settings - Fork 7
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
TODO: create initial TODO for proddevel discussions #7
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Dmytro Firsov <[email protected]>
Well, you forgot list of actually requirements. Something like this:
|
@lorc, thank you for a comment. I thought this part (at least initial version) will be described by @klogg (as he said in #general), I just summarized some of the potential challenges related to implementation. |
my 5c. i could be wrongly understood things, so sorry and just ignore below. As I understood the main goal is to pass safety certification. Now why Zephyr is passing it? Its simple and mostly 100% static - no memory allocations, minimal FS support, no console, high code coverage by tests .. Single multi-threaded binary. So if goal is to pass certification the all dynamic things has to be minimized. In general, Zephyr Dom0 (somebody loading it - i assume u-boot) should just take cfg from place A, binaries for domX form place B (A may be eq B) and just read/apply cfg (which should be well defined), load bins and start them. What can be place A (cfg):
What is place B (bin):
No need to rebuild zephyr every time if cfg data and binaries are well prepared and separated from Zephyr. |
After studding what we have Xen + Zephyr Dom0 area, I come up with following ideas related to this "Simple/thin" Dom0 application. Configuration:
Loading 'static' binaries: How DomD/U binaries attached and processed now is definitely no convenient, so the proposal is to use Firmware Image Package (FIP) [1] from TF-A with standard or lightly modifying TF-A tools.
Benefits:
Of course, there are will be more technical details to solve, like probably adding custom header in front of FIP image. |
maybe we can reuse LLEXT somehow for loading binaries |
No description provided.