[coreboot-gerrit] Patch merged into coreboot/master: 9588706 cbfstool: provide structure to linux payload builder

gerrit at coreboot.org gerrit at coreboot.org
Fri Mar 28 14:40:58 CET 2014


the following patch was just integrated into master:
commit 95887069dd905c7aab4c451f508adc3c1c6f48ea
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Wed Mar 26 22:57:55 2014 -0500

    cbfstool: provide structure to linux payload builder
    
    This change started with tracking down a bug where the trampoline
    size was not being taken into account for sizing the output buffer
    leading to a heap corruption.  I was having a hard time keeping
    track of what num_segments actually tracked as well as what parts
    were being placed in the output buffer. Here's my attempt at
    hopefully providing more clarity.
    
    This change doesn't crash when adding a bzImage:
    $ dd if=/dev/zero of=bb.bin bs=64 count=1
    $ ./cbfstool tmp.rom create -s 4M -B bb.bin -m x86 -a 64
    $ ./cbfstool tmp.rom add-payload -f ~/Downloads/bzImage -C "1" -n
    "fallback"/payload
    
    Change-Id: Ib1de1ddfec3c7102facffc5815c52b340fcdc628
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>


See http://review.coreboot.org/5408 for details.

-gerrit



More information about the coreboot-gerrit mailing list