the following patch was just integrated into master: commit bb826ef661f7ff390e284bcae6b0b330ca48ceb3 Author: Aaron Durbin adurbin@chromium.org Date: Mon Jan 4 13:56:00 2016 -0600
cbfstool: correct add-master-header logic to match runtime expectations
The cbfs master header's offset and romsize fields are absolute values within the boot media proper. Therefore, when adding a master header provide the offset of the CBFS region one is operating on as well as the absolute end offset (romsize) to match expectations.
Built with and without CBFS_SIZE != ROM_SIZE on x86 and ARM device. Manually inspected the master headers within the images to confirm proper caclulations.
Change-Id: Id0623fd713ee7a481ce3326f4770c81beda20f64 Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: https://review.coreboot.org/12825 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand noreply@raptorengineeringinc.com Reviewed-by: Timothy Pearson tpearson@raptorengineeringinc.com
See https://review.coreboot.org/12825 for details.
-gerrit