commit | d37ae02c7cc60483fbda6e3a2ef7b512575d2e35 | [log] [tgz] |
---|---|---|
author | Simon Glass <[email protected]> | Tue Aug 28 17:51:05 2012 |
committer | Katie Roberts-Hoffman <[email protected]> | Thu Aug 30 00:25:29 2012 |
tree | d48884c3006f50de67ebbd106188180d45029048 | |
parent | ff120fcca4a9c4f5c65e45b065f3242aa323bd36 [diff] |
cros_bundle_firmware: Pollute EC RO binary FMAP signature We don't want to have two FMAP signatures in the image. At present the EC RO binary includes an FMAP signature since for write-enabled devices we still use flashrom to perform the EC RO update. This is a temporary situation since s/w sync will eventually do the RO bin image - see example CL here: https://gerrit.chromium.org/gerrit/#/c/30866/ For now, change the fmap signature on this blob to __fMAP__ for this blob only. BUG=chrome-os-partner:13143 BRANCH=snow,link TEST=manual Check flashrom's fmap.h and see the signature: Run 'cros_bundle_firmware -b daisy -d exynos5250-snow -O out' Use ghex to look at out/updated-ecro.bin and see that it does not include __FMAP__ anymore (the 'F' is changed to 'f'). Same with image: $ strings out/image.bin |grep -i __fmap__ __fMAP__ __FMAP__ (the last one is the real FMAP) Change-Id: I58789684184123bb2f914cbf2a28fc0199c5ddb2 Reviewed-on: https://gerrit.chromium.org/gerrit/31612 Reviewed-by: Randall Spangler <[email protected]> Commit-Ready: Simon Glass <[email protected]> Tested-by: Simon Glass <[email protected]> (cherry picked from commit 693b40ff91f27301091538098a2c366ce5849e18) Reviewed-on: https://gerrit.chromium.org/gerrit/31757 Reviewed-by: Simon Glass <[email protected]> Tested-by: Katie Roberts-Hoffman <[email protected]>