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

Issue 3007036: Enable TPM in developer mode again. (Closed)

Created:
10 years, 4 months ago by Randall Spangler
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Bill Richardson
Base URL:
ssh://gitrw.chromium.org/vboot_reference.git
Visibility:
Public.

Description

Enable TPM in developer mode again. Also fix a few comments, and make extra debugging work when compiled in firmware. BUG=none TEST=make && make runtests; all pass

Patch Set 1 #

Patch Set 2 : Fix unused var #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -80 lines) Patch
M firmware/lib/rollback_index.c View 4 chunks +6 lines, -4 lines 1 comment Download
M firmware/lib/tpm_lite/tlcl.c View 2 chunks +12 lines, -16 lines 1 comment Download
M firmware/lib/vboot_firmware.c View 1 3 chunks +22 lines, -35 lines 1 comment Download
M firmware/lib/vboot_kernel.c View 3 chunks +18 lines, -24 lines 0 comments Download
M firmware/version.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Randall Spangler
10 years, 4 months ago (2010-08-05 19:18:00 UTC) #1
semenzato
This would look fine except I missed some earlier changes and I no longer understand ...
10 years, 4 months ago (2010-08-05 19:50:53 UTC) #2
semenzato
Ah OK, sorry, I missed the #ifdef DISABLE_ROLLBACK_TPM. LGTM On 2010/08/05 19:50:53, semenzato wrote: > ...
10 years, 4 months ago (2010-08-05 19:58:09 UTC) #3
Luigi Semenzato
10 years, 4 months ago (2010-08-05 20:03:27 UTC) #4
And my email is getting rejected even though I have permission to do the code
review :-(

On 2010/08/05 19:58:09, semenzato wrote:
> Ah OK, sorry, I missed the #ifdef DISABLE_ROLLBACK_TPM.  
> 
> LGTM
> 
> On 2010/08/05 19:50:53, semenzato wrote:
> > This would look fine except I missed some earlier changes and I no longer
> > understand what the goal is, so I'll come over and talk to you.
> > 
> > http://codereview.chromium.org/3007036/diff/3001/4001
> > File firmware/lib/rollback_index.c (right):
> > 
> > http://codereview.chromium.org/3007036/diff/3001/4001#newcode340
> > firmware/lib/rollback_index.c:340: TlclSelfTestFull();
> > This has changed a lot and I don't understand why it's not calling SetupTPM.

> > Maybe we can talk.
> > 
> > http://codereview.chromium.org/3007036/diff/3001/4002
> > File firmware/lib/tpm_lite/tlcl.c (right):
> > 
> > http://codereview.chromium.org/3007036/diff/3001/4002#newcode64
> > firmware/lib/tpm_lite/tlcl.c:64: #ifdef EXTRA_LOGGING
> > We should do something about VBDEBUG when compiling for user-level
execution. 
> > Right now it does nothing, but I'd like to see those messages.
> > 
> > Also, you don't like #if instead of #ifdef?  The advantage of #if is that
the
> > variable must always be defined, which makes it easier for the next
programmer
> > to figure out WHERE to define it.
> > 
> > http://codereview.chromium.org/3007036/diff/3001/4003
> > File firmware/lib/vboot_firmware.c (right):
> > 
> > http://codereview.chromium.org/3007036/diff/3001/4003#newcode66
> > firmware/lib/vboot_firmware.c:66: VBDEBUG(("Unable to setup TPM.\n"));
> > This message may be too scary when the firmware is just reenabling the TPM.

Powered by Google App Engine
This is Rietveld 408576698