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

Issue 4481001: autotest: enable and verify write protection by status registers (Closed)

Created:
10 years, 1 month ago by Hung-Te
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, truty+cc_chromium.org, sosa+cc_chromium.org, seano+cc_chromium.org, ericli, petkov+cc_chromium.org, Randall Spangler
Visibility:
Public.

Description

autotest: enable and verify write protection by status registers Bit-by-bit verification (hardware_EepromWriteProtect) should be only in qualification process; in factory process, we only need to check if the WP status registers are correctly configured and protected. BUG=chrome-os-partner:1569 TEST=manually executed on a device with following conditions: (1) hardware WP=off => test failed (expected) (2) hardware WP=on, software WP=off => test pass, WP enabled (3) hardware WP=on, software WP=on, range set to correct => test pass (4) hardware WP=on, software WP=on, range set to incorrect => test fail (expected) Change-Id: I1b104ead04cb7799806514f04142bf623e775e8e Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=2d11f27

Patch Set 1 #

Total comments: 2

Patch Set 2 : refine according to suggestions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -28 lines) Patch
M client/common_lib/flashrom_util.py View 2 chunks +92 lines, -5 lines 0 comments Download
M client/site_tests/factory_EnableWriteProtect/factory_EnableWriteProtect.py View 1 3 chunks +26 lines, -13 lines 0 comments Download
M client/site_tests/factory_Verify/factory_Verify.py View 1 4 chunks +9 lines, -10 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Hung-Te
10 years, 1 month ago (2010-11-04 09:22:04 UTC) #1
Nick Sanders
lgtm w/ added comments. thanks for the quick work! http://codereview.chromium.org/4481001/diff/1/3 File client/site_tests/factory_EnableWriteProtect/factory_EnableWriteProtect.py (right): http://codereview.chromium.org/4481001/diff/1/3#newcode80 client/site_tests/factory_EnableWriteProtect/factory_EnableWriteProtect.py:80: ...
10 years, 1 month ago (2010-11-04 09:48:55 UTC) #2
Hung-Te
http://codereview.chromium.org/4481001/diff/1/3 File client/site_tests/factory_EnableWriteProtect/factory_EnableWriteProtect.py (right): http://codereview.chromium.org/4481001/diff/1/3#newcode80 client/site_tests/factory_EnableWriteProtect/factory_EnableWriteProtect.py:80: if (not (self.flashrom.verify_write_protect(layout, 'ro') or On 2010/11/04 09:48:56, Nick ...
10 years, 1 month ago (2010-11-04 10:19:59 UTC) #3
Tammo Spalink
10 years, 1 month ago (2010-11-04 10:41:06 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698