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

Issue 6677007: Expose and augment parser enum and field name tables to bct_dump. (Closed)

Created:
9 years, 9 months ago by robotboy
Modified:
9 years, 7 months ago
Reviewers:
pchen, Vincent Palatin
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Expose and augment parser enum and field name tables to bct_dump. This adds the nvbctlib id value to the field_item struct and makes the parser tables available outside of parse.c. This lets bct_dump use these to pretty print a BCT in a format that the parser can later read back in. BUG=chromium-os:11981 TEST=Sign and boot a U-Boot image on Seaboard using: sudo emerge -av cbootimage USE="recovery flasher" emerge-tegra2_seaboard -av chromeos-u-boot-next cros_write_firmware --board tegra2_seaboard --firmware /build/tegra2_seaboard/u-boot/u-boot-recovery.bin --sign Change-Id: Ibcc8ce5c2c62cbfea8ca2850ddd8122b84c0f78f Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=e517a4f

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address Vincent's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -481 lines) Patch
M GNUmakefile View 1 chunk +1 line, -0 lines 0 comments Download
M bct_dump.c View 1 6 chunks +90 lines, -248 lines 0 comments Download
M parse.h View 2 chunks +14 lines, -0 lines 0 comments Download
M parse.c View 6 chunks +150 lines, -233 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
robotboy
Hi guys, this is the first step towards making bct_dump generate valid cbootimage parsable config ...
9 years, 9 months ago (2011-03-11 00:02:11 UTC) #1
Vincent Palatin
LGTM, nice improvement a few tabs and printf nits. http://codereview.chromium.org/6677007/diff/1/bct_dump.c File bct_dump.c (right): http://codereview.chromium.org/6677007/diff/1/bct_dump.c#newcode96 bct_dump.c:96: ...
9 years, 9 months ago (2011-03-11 14:32:10 UTC) #2
robotboy
Done, thanks. http://codereview.chromium.org/6677007/diff/1/bct_dump.c File bct_dump.c (right): http://codereview.chromium.org/6677007/diff/1/bct_dump.c#newcode96 bct_dump.c:96: int i; On 2011/03/11 14:32:10, Vincent Palatin ...
9 years, 9 months ago (2011-03-11 19:28:53 UTC) #3
robotboy
Peer, are you OK with the changes I've made to the common parse.[ch] code? Thanks, ...
9 years, 9 months ago (2011-03-11 19:30:11 UTC) #4
pchen
9 years, 9 months ago (2011-03-14 06:12:02 UTC) #5
It's ok, LGTM.

Powered by Google App Engine
This is Rietveld 408576698