Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1244)

Unified Diff: saft_utility.py

Issue 6649008: Fix SAFT operation on Alex. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/saft.git@master
Patch Set: Fix SAFT operation. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « saft_flashrom_util.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: saft_utility.py
diff --git a/saft_utility.py b/saft_utility.py
index 61bac55f29b79636aa9e16df5a3b513971a40cd9..3d68f51a007b1e9f6712128c3dbd959c849f33f8 100755
--- a/saft_utility.py
+++ b/saft_utility.py
@@ -798,6 +798,15 @@ def main(argv):
usage(retv=1)
FST.init_fw_test(opt_dictionary, CHROS_IF)
+
+ if not FLASHROM_HANDLER.firmware_sections_equal():
+ # This is a temporary measure needed to address the fact that the
+ # development BIOS image is built with 'normal' firmware in section B
+ # and 'development' firmware in section A. SAFT operation requires
+ # 'normal' flavor in both sections. Note that this fix does not affect
+ # the file of the new image, only the flashrom contents.
+ CHROS_IF.log('modify firmware A to match B')
+ FLASHROM_HANDLER.copy_from_to('b', 'a')
CHROS_IF.log('program the new image')
FLASHROM_HANDLER.write_whole()
CHROS_IF.log('restart')
« no previous file with comments | « saft_flashrom_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698