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

Issue 6307007: Implement bmpblk_utility tool that creates bmp block from image files. (Closed)

Created:
9 years, 11 months ago by Tom Wai-Hong Tam
Modified:
9 years, 5 months ago
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

This change define the data structure of bmp block and implements the create more of bmpblk_utility. It reads a YAML config file, parse the informations, and creates bmpblock file as output. The list mode and extract mode will be implemented later. Change-Id: I2b34b323814b1d6b0a369b0e4b2bfa7cf960ff4a BUG=chromium-os:11017 TEST=build and run, use bvi to check its output. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=95b0ae0

Patch Set 1 #

Patch Set 2 : more readable #

Patch Set 3 : use yaml as config #

Patch Set 4 : ready for review #

Total comments: 12

Patch Set 5 : fix reviewer suggested #

Patch Set 6 : fix comment #

Patch Set 7 : rename layout_config_example.yaml #

Patch Set 8 : rename config file #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+892 lines, -0 lines) Patch
A firmware/include/bmpblk_header.h View 1 2 3 4 5 1 chunk +122 lines, -0 lines 1 comment Download
A scripts/bitmaps/example_config.yaml View 1 2 3 4 5 6 7 1 chunk +100 lines, -0 lines 0 comments Download
M utility/Makefile View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A utility/bmpblk_utility.cc View 1 2 3 4 1 chunk +554 lines, -0 lines 0 comments Download
A utility/include/bmpblk_utility.h View 1 2 3 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Tom Wai-Hong Tam
9 years, 11 months ago (2011-01-21 06:45:02 UTC) #1
Hung-Te
http://codereview.chromium.org/6307007/diff/7001/firmware/include/bmpblk_header.h File firmware/include/bmpblk_header.h (right): http://codereview.chromium.org/6307007/diff/7001/firmware/include/bmpblk_header.h#newcode65 firmware/include/bmpblk_header.h:65: uint32_t number_of_screenlayouts; /* Number of screen layouts */ adding ...
9 years, 11 months ago (2011-01-21 07:45:41 UTC) #2
Tom Wai-Hong Tam
http://codereview.chromium.org/6307007/diff/7001/firmware/include/bmpblk_header.h File firmware/include/bmpblk_header.h (right): http://codereview.chromium.org/6307007/diff/7001/firmware/include/bmpblk_header.h#newcode65 firmware/include/bmpblk_header.h:65: uint32_t number_of_screenlayouts; /* Number of screen layouts */ Done. ...
9 years, 11 months ago (2011-01-21 08:32:09 UTC) #3
Hung-Te
LGTM - but please also wait for Bill's approval to confirm if such implementation matches ...
9 years, 11 months ago (2011-01-21 08:37:13 UTC) #4
Bill Richardson
LGTM. Very nice!
9 years, 11 months ago (2011-01-21 18:39:50 UTC) #5
Tom Wai-Hong Tam
This change has been reverted. Since it lacks of libyaml in the buildbot. I discussed ...
9 years, 10 months ago (2011-01-28 04:00:32 UTC) #6
Hung-Te
Actually adding libyaml in the dependency of vboot reference seem to be the correct solution; ...
9 years, 10 months ago (2011-01-28 06:32:16 UTC) #7
Bill Richardson
9 years, 10 months ago (2011-01-28 19:23:19 UTC) #8
While we're waiting for the build to stabilize, we should tweak the allowed
compression modes. I've put some notes in the BMPBLOCK document.

https://docs.google.com/a/google.com/document/d/1pkA34BOpBm2OlPln4ltE3YrFuSvR...

http://codereview.chromium.org/6307007/diff/28001/firmware/include/bmpblk_hea...
File firmware/include/bmpblk_header.h (right):

http://codereview.chromium.org/6307007/diff/28001/firmware/include/bmpblk_hea...
firmware/include/bmpblk_header.h:119: COMPRESS_LZMA,
"LZMA" isn't specific enough to identify the compression scheme supported by the
x86 BIOS. This needs a little tweaking.

Powered by Google App Engine
This is Rietveld 408576698