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

Issue 6173001: vboot_reference: add creation of GBB blob to gbb_utility (Closed)

Created:
9 years, 11 months ago by Hung-Te
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

vboot_reference: add creation of GBB blob to gbb_utility Non-x86 platforms (ex, ARM) may need to create GBB from scratch. The new "create" (-c) creates a GBB blob by given property maximum sizes. The list must follow same order as specified in GBB header. BUG=chromium-os:1302 TEST=gbb_utility -c 0x100,0x1000,0x03DE80,0x1000 gbb.blob gbb_utility -s --hwid='test' gbb_blob gbb_utility -s --rootkey='some_rootkey' gbb_blob gbb_utility -g --hwid --rootkey='rk.bin' gbb_blob # output hwid=test Change-Id: Ic854609effa32020f9536bc2d3f8457dff1c3719 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=a59a029

Patch Set 1 #

Total comments: 6

Patch Set 2 : refine by reviewer's comments #

Patch Set 3 : let getopt handle parameter stuff. #

Patch Set 4 : fix lint warnings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -9 lines) Patch
M utility/gbb_utility.cc View 1 2 3 10 chunks +111 lines, -8 lines 0 comments Download
M utility/include/gbb_utility.h View 1 3 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Hung-Te
9 years, 11 months ago (2011-01-07 10:33:30 UTC) #1
Randall Spangler
http://codereview.chromium.org/6173001/diff/1/utility/gbb_utility.cc File utility/gbb_utility.cc (right): http://codereview.chromium.org/6173001/diff/1/utility/gbb_utility.cc#newcode487 utility/gbb_utility.cc:487: static string create_new_gbb(const std::vector<uint32_t> &create_param) { The current implementation ...
9 years, 11 months ago (2011-01-07 21:47:34 UTC) #2
Che-Liang Chiou
LGTM with nits. You also need Randall's approval. http://codereview.chromium.org/6173001/diff/1/utility/gbb_utility.cc File utility/gbb_utility.cc (right): http://codereview.chromium.org/6173001/diff/1/utility/gbb_utility.cc#newcode548 utility/gbb_utility.cc:548: myopts.get_mode ...
9 years, 11 months ago (2011-01-10 02:55:19 UTC) #3
Hung-Te
Thanks for the comments! Please take a look again. http://codereview.chromium.org/6173001/diff/1/utility/gbb_utility.cc File utility/gbb_utility.cc (right): http://codereview.chromium.org/6173001/diff/1/utility/gbb_utility.cc#newcode487 utility/gbb_utility.cc:487: ...
9 years, 11 months ago (2011-01-10 03:40:57 UTC) #4
Che-Liang Chiou
LGTM. On 2011/01/10 03:40:57, Hung-Te wrote: > Thanks for the comments! Please take a look ...
9 years, 11 months ago (2011-01-10 05:05:18 UTC) #5
Randall Spangler
9 years, 11 months ago (2011-01-12 22:48:55 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698