[coreboot-gerrit] Patch merged into coreboot/master: util/cbfstool: add 'compact' command

gerrit at coreboot.org gerrit at coreboot.org
Thu Jan 28 19:26:04 CET 2016


the following patch was just integrated into master:
commit 71c60ca4821f9ebd51066b2fb4166fd974755666
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Tue Jan 26 17:08:56 2016 -0600

    util/cbfstool: add 'compact' command
    
    While assembling CBFS images within the RW slots on Chrome OS
    machines the current approach is to 'cbfstool copy' from the
    RO CBFS to each RW CBFS. Additional fixups are required such
    as removing unneeded files from the RW CBFS (e.g. verstage)
    as well as removing and adding back files with the proper
    arguments (FSP relocation as well as romstage XIP relocation).
    This ends up leaving holes in the RW CBFS. To speed up RW
    CBFS slot hashing it's beneficial to pack all non-empty files
    together at the beginning of the CBFS. Therefore, provide
    the 'compact' command which bubbles all the empty entries to
    the end of the CBFS.
    
    Change-Id: I8311172d71a2ccfccab384f8286cf9f21a17dec9
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://review.coreboot.org/13479
    Tested-by: build bot (Jenkins)
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>


See https://review.coreboot.org/13479 for details.

-gerrit



More information about the coreboot-gerrit mailing list