tools: mkeficapsule: allow for specifying GUID explicitly
The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule does the exact same job in creating a capsule file whatever the firmware binary type is. To prepare for the future extension, the command syntax will be a bit modified to allow users to specify arbitrary GUID for their own FMP driver. OLD: [--fit <image> | --raw <image>] <capsule file> NEW: [--fit | --raw | --guid <guid-string>] <image> <capsule file> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
bad58cb308
commit
d9612f4426
@@ -375,8 +375,8 @@ and used by the steps highlighted below.
|
||||
--private-key CRT.key \
|
||||
--certificate CRT.crt \
|
||||
--index 1 --instance 0 \
|
||||
[--fit <FIT image> | --raw <raw image>] \
|
||||
<capsule_file_name>
|
||||
[--fit | --raw | --guid <guid-string] \
|
||||
<image_blob> <capsule_file_name>
|
||||
|
||||
4. Insert the signature list into a device tree in the following format::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user