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

Skiroot dependencies for Secure & Trusted Boot #2915

Open
sammj opened this issue Jun 4, 2019 · 5 comments
Open

Skiroot dependencies for Secure & Trusted Boot #2915

sammj opened this issue Jun 4, 2019 · 5 comments

Comments

@sammj
Copy link
Contributor

sammj commented Jun 4, 2019

Incoming changes for Secure & Trusted Boot on OpenPOWER platforms will have a few dependencies in the Skiroot image.
This may apparently include efivar and utilities from efitools.

There may be some porting work to be done here which the STB team will handle. More generally this will probably push up hard against the 16MB size limit for BOOTKERNEL or blow right past it.
The STB team will need to work with upstream op-build to work out

  • What utilities are needed
  • What their dependencies are
  • What their size requirements are.

Possibly we'll have to look into increasing BOOTKERNEL size or potentially packing some tools as pb-plugins if possible.

@naynajain
Copy link
Contributor

We would want to submit the op-build patch for efivar asap, however we might have to do some changes to it in context of POWER. This might take us some time.
But as Sam mentioned that it can push hard against the size limit. To get the confirmation on the size issue at the earliest, is it ok if we send the op-build patch now itself ? We will keep working on our POWER changes parallely and share the update once that is done.

I would like to get the feedback that if the suggested approach looks fine, or is there a better way ?

Thanks & Regards,
- Nayna

@sammj
Copy link
Contributor Author

sammj commented Jun 18, 2019

Sending through a patch now is the best way :) Then it can run through the pull-request CI and we can see how it handles it.

@naynajain
Copy link
Contributor

Thanks Sam !! We will try to send the patch asap.

Thanks & Regards,
- Nayna

@naynajain
Copy link
Contributor

Eric had tried building efivar into skiroot image. It seems it adds additional 300kb approximately.. He tested it and there was no complain on the size.
Also, it seems efivar is already available from buildroot. It just needs to be enabled via an openpower config - BR2_PACKAGE_EFIVAR=y.
To try it now, we did via "op-build menuconfig". We are not very sure which config is the right one to be edited for the patch submission. Will it be openpower/configs/witherspoon_defconfig ?

@ghost
Copy link

ghost commented Jul 17, 2019 via email

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