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

Issue 1616002: GPIO button test (Closed)

Created:
10 years, 8 months ago by Nick Sanders
Modified:
9 years, 7 months ago
Reviewers:
petkov
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano, ericli, petkov+cc_chromium.org
Visibility:
Public.

Description

GPIO button test This checks recovery mode button, developer mode, firmware write protect states and logs them as perf variables, so that expected values can be specified on test invocation. Also, added iotools to deps folder so that GPIO registers can be read.

Patch Set 1 #

Total comments: 27

Patch Set 2 : Add ARM build #

Total comments: 6

Patch Set 3 : Tested on proto machine, fix typo, iotools unpacking #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -0 lines) Patch
A client/deps/iotools/common.py View 1 chunk +8 lines, -0 lines 0 comments Download
A client/deps/iotools/control View 1 chunk +1 line, -0 lines 0 comments Download
A client/deps/iotools/iotools.py View 1 1 chunk +29 lines, -0 lines 0 comments Download
A client/deps/iotools/iotools-1.2.tar.gz View Binary file 0 comments Download
A client/deps/iotools/iotools.arm.patch View 1 chunk +35 lines, -0 lines 0 comments Download
A client/site_tests/hardware_GPIOSwitches/control View 1 chunk +16 lines, -0 lines 0 comments Download
A client/site_tests/hardware_GPIOSwitches/hardware_GPIOSwitches.py View 2 1 chunk +98 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Nick Sanders
iotools doesn't compile on arm, but is also only needed for x86 right now, how ...
10 years, 8 months ago (2010-04-03 01:10:37 UTC) #1
petkov
A few comments, mostly nits. Also, what is the SAT tarball doing in this CL? ...
10 years, 8 months ago (2010-04-05 18:26:40 UTC) #2
Nick Sanders
I believe I have a patch for iotools to build on arm. http://codereview.chromium.org/1616002/diff/1/7 File client/site_tests/hardware_GpioSwitches/hardware_GpioSwitches.py ...
10 years, 8 months ago (2010-04-05 20:19:54 UTC) #3
petkov
One real issue, and a couple of nits. LGTM otherwise. http://codereview.chromium.org/1616002/diff/8001/9007 File client/site_tests/hardware_GPIOSwitches/hardware_GPIOSwitches.py (right): http://codereview.chromium.org/1616002/diff/8001/9007#newcode21 ...
10 years, 8 months ago (2010-04-05 21:21:00 UTC) #4
Nick Sanders
10 years, 8 months ago (2010-04-05 23:03:31 UTC) #5
http://codereview.chromium.org/1616002/diff/8001/9007
File client/site_tests/hardware_GPIOSwitches/hardware_GPIOSwitches.py (right):

http://codereview.chromium.org/1616002/diff/8001/9007#newcode21
client/site_tests/hardware_GPIOSwitches/hardware_GPIOSwitches.py:21: 'recovery':
6, 'developer': 7, 'fwwp': 10},
On 2010/04/05 21:21:00, petkov wrote:
> indent seems OFF
> 

Done.

http://codereview.chromium.org/1616002/diff/8001/9007#newcode43
client/site_tests/hardware_GPIOSwitches/hardware_GPIOSwitches.py:43: 'grep -qe
"N4[0-9[0-9]"')
On 2010/04/05 21:21:00, petkov wrote:
> Does this work? It seems you're missing a ]
It worked at one point, seems to have lost a char somewhere. Thanks for catching
this!

http://codereview.chromium.org/1616002/diff/8001/9007#newcode75
client/site_tests/hardware_GPIOSwitches/hardware_GPIOSwitches.py:75: 
On 2010/04/05 21:21:00, petkov wrote:
> Too many blank lines?
> 

Done.

Powered by Google App Engine
This is Rietveld 408576698