Skip to content
Snippets Groups Projects
  • AKASHI Takahiro's avatar
    d9612f44
    tools: mkeficapsule: allow for specifying GUID explicitly · d9612f44
    AKASHI Takahiro authored and Heinrich Schuchardt's avatar Heinrich Schuchardt committed
    
    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: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
    Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    d9612f44
    History
    tools: mkeficapsule: allow for specifying GUID explicitly
    AKASHI Takahiro authored and Heinrich Schuchardt's avatar Heinrich Schuchardt committed
    
    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: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
    Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>