David Hendricks (dhendrix@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2352
-gerrit
commit 91f8b716989facc2fce9b018243829ea1bf7a408 Author: David Hendricks dhendrix@chromium.org Date: Sun Feb 10 16:05:26 2013 -0800
snow: make build script erase 192KB instead of 128KB
This will make the build script wipe out more flash memory content. Our image is a bit bigger now that we're testing with payloads, so this is just added paranoia to prevent weird surprises caused by not flashing the full image.
Change-Id: I31969922079e96886573d9d802266eb0052277cd Signed-off-by: David Hendricks dhendrix@chromium.org --- src/vendorcode/google/chromeos/build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/vendorcode/google/chromeos/build b/src/vendorcode/google/chromeos/build index 13f7d92..a749ba5 100755 --- a/src/vendorcode/google/chromeos/build +++ b/src/vendorcode/google/chromeos/build @@ -16,11 +16,11 @@ die() { exit 1 }
-create_diff_128k() { +create_diff_192k() { local image_file="$1" local diff_file="$2" cp -f "$image_file" "$diff_file" - dd if=/dev/zero of=$diff_file bs=1 count=$((128*1024)) conv=notrunc + dd if=/dev/zero of=$diff_file bs=1 count=$((192*1024)) conv=notrunc }
fast_flash_image() { @@ -67,7 +67,7 @@ is_servod_ready() { main() { make merge_bl1 "$OUTPUT" - create_diff_128k "$OUTPUT" "$TMP_DIFF" + create_diff_192k "$OUTPUT" "$TMP_DIFF" echo "OK: Generated image (with BL1) in $OUTPUT" if is_servod_ready; then echo "servod detected - flashing into device."