[Skiboot] [PATCH 08/19] libstb/cvc.c: import softrom behavior from drivers/sw_driver.c

Stewart Smith stewart at linux.vnet.ibm.com
Mon Dec 4 14:00:48 AEDT 2017


Claudio Carvalho <cclaudio at linux.vnet.ibm.com> writes:

>> On 21/11/2017 03:16, Oliver wrote:
>>> On Sun, Nov 12, 2017 at 4:28 AM, Claudio Carvalho
>>> <cclaudio at linux.vnet.ibm.com> wrote:
>>>> Softrom is used only for testing with mambo. By setting
>>>> compatible="ibm,secureboot-v1-softrom" in the "ibm,secureboot" node,
>>>> firmware images can be properly measured even if the
>>>> Container-Verification-Code (CVC) is not available. In this case, the
>>>> mbedtls_sha512() function is used to calculate the sha512 hash of the
>>>> firmware images.
>>> If this is only used for testing in mambo why not build your own CVC
>>> rom and load that into mambo? That way you can use the same interface
>>> for sim and bare metal.
>>
>> The CVC source code is now public:
>> https://github.com/open-power/hostboot/tree/master/src/securerom
>>
>> Maybe skiboot can build and load it into mambo as suggested by Oliver, 
>> what do you think?
>>
>> Claudio
>>
>
> What do you think Stewart?

I don't really mind. Building a copy of CVC ROM may just be added
complexity for us of course. Whatever you find is simplier I'm okay with.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list