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

Issue 6465018: Add load_firmware_test utility program (Closed)

Created:
9 years, 10 months ago by Che-Liang Chiou
Modified:
9 years ago
CC:
chromium-os-reviews_chromium.org, Randall Spangler, Luigi Semenzato, gauravsh, Bill Richardson
Visibility:
Public.

Description

Add load_firmware_test utility program BUG=chromium-os:1302 TEST=emerge vboot_reference && (load_firmware_test firmware_image.bin | grep LOAD_FIRMWARE_SUCCESS) Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=305e9e5

Patch Set 1 #

Total comments: 46

Patch Set 2 : Code review & remove tabs #

Total comments: 42

Patch Set 3 : Code review #

Total comments: 2

Patch Set 4 : Code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -48 lines) Patch
M host/Makefile View 1 2 2 chunks +2 lines, -1 line 0 comments Download
A host/include/fmap.h View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
A host/lib/fmap.c View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M utility/Makefile View 1 4 chunks +7 lines, -3 lines 0 comments Download
M utility/dump_fmap.c View 1 2 3 6 chunks +20 lines, -44 lines 0 comments Download
A utility/load_firmware_test.c View 1 2 1 chunk +265 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Che-Liang Chiou
9 years, 10 months ago (2011-02-09 06:53:46 UTC) #1
Bill Richardson
I've added my nits. Randall? http://codereview.chromium.org/6465018/diff/1/utility/Makefile File utility/Makefile (right): http://codereview.chromium.org/6465018/diff/1/utility/Makefile#newcode67 utility/Makefile:67: $(CC) $(CFLAGS) $(INCLUDES) $< ...
9 years, 10 months ago (2011-02-09 16:01:46 UTC) #2
Randall Spangler
http://codereview.chromium.org/6465018/diff/1/utility/fmap.c File utility/fmap.c (right): http://codereview.chromium.org/6465018/diff/1/utility/fmap.c#newcode1 utility/fmap.c:1: /* Move this to host/lib Or firmware/lib if you're ...
9 years, 10 months ago (2011-02-09 19:42:13 UTC) #3
gauravsh
drive-by... (some comments may be duplicates of what Randall already mentioned. sorry about that.) http://codereview.chromium.org/6465018/diff/1/utility/Makefile ...
9 years, 10 months ago (2011-02-09 19:58:22 UTC) #4
Che-Liang Chiou
Thanks for comments. Please see below. http://codereview.chromium.org/6465018/diff/1/utility/Makefile File utility/Makefile (right): http://codereview.chromium.org/6465018/diff/1/utility/Makefile#newcode1 utility/Makefile:1: # Copyright (c) ...
9 years, 10 months ago (2011-02-10 09:11:03 UTC) #5
gauravsh
Thanks for incorporating the feedback. This time I mostly have nits - around comments and ...
9 years, 10 months ago (2011-02-10 20:02:05 UTC) #6
Randall Spangler
http://codereview.chromium.org/6465018/diff/5006/host/include/fmap.h File host/include/fmap.h (right): http://codereview.chromium.org/6465018/diff/5006/host/include/fmap.h#newcode38 host/include/fmap.h:38: const char *FindFmap(const char *ptr, size_t size); FmapFind() would ...
9 years, 10 months ago (2011-02-11 17:26:04 UTC) #7
Che-Liang Chiou
Thanks. Please take a look. http://codereview.chromium.org/6465018/diff/5006/host/Makefile File host/Makefile (right): http://codereview.chromium.org/6465018/diff/5006/host/Makefile#newcode1 host/Makefile:1: # Copyright (c) 2010 ...
9 years, 10 months ago (2011-02-14 02:27:53 UTC) #8
gauravsh
LGTM, Thanks!
9 years, 10 months ago (2011-02-14 03:34:57 UTC) #9
Randall Spangler
LGTM with one more change. http://codereview.chromium.org/6465018/diff/15001/host/lib/fmap.c File host/lib/fmap.c (right): http://codereview.chromium.org/6465018/diff/15001/host/lib/fmap.c#newcode16 host/lib/fmap.c:16: if (0 == strncmp(ptr, ...
9 years, 10 months ago (2011-02-14 17:42:21 UTC) #10
Che-Liang Chiou
Thanks for comments. http://codereview.chromium.org/6465018/diff/15001/host/lib/fmap.c File host/lib/fmap.c (right): http://codereview.chromium.org/6465018/diff/15001/host/lib/fmap.c#newcode16 host/lib/fmap.c:16: if (0 == strncmp(ptr, FMAP_SIGNATURE, 8)) ...
9 years, 10 months ago (2011-02-15 02:47:12 UTC) #11
Randall Spangler
9 years, 10 months ago (2011-02-15 03:50:49 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld 408576698