Bug 11538 - RMC: Bless data store
Summary: RMC: Bless data store
Status: RESOLVED OBSOLETE
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: Future
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-05-18 17:47 UTC by Todor Minchev
Modified: 2020-06-25 08:40 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todor Minchev 2017-05-18 17:47:56 UTC
RMC should be able to generate MD5 hash over the contents of the data store and store it in the last field of the data directory in the RMC.efi PE header.

https://upload.wikimedia.org/wikipedia/commons/1/1b/Portable_Executable_32_bit_Structure_in_SVG_fixed.svg

Example:

./rmc -d data_store_dir -f RMC.efi

This MD5 hash will then be used to verify the integrity of the data store when the system is booted in secure boot mode.
Comment 1 Todor Minchev 2017-05-18 17:59:11 UTC
This should be something like (-b for bless):

./rmc -b -d data_store_dir -f RMC.efi
Comment 2 Tim Orling 2020-06-25 08:40:29 UTC
Work on RMC has been discontinued and it is no longer supported.