summaryrefslogtreecommitdiff
path: root/scripts/newbitmaps/README
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/newbitmaps/README')
-rw-r--r--scripts/newbitmaps/README44
1 files changed, 32 insertions, 12 deletions
diff --git a/scripts/newbitmaps/README b/scripts/newbitmaps/README
index 0d8a6b49..362aa108 100644
--- a/scripts/newbitmaps/README
+++ b/scripts/newbitmaps/README
@@ -85,22 +85,35 @@ bitmap block structure incompatible with previous versions.
Instructions for manually rebuilding things:
-We do most of the image manipulation using ImageMagick, which is much easier
-and simpler to do OUTSIDE of the chroot. So the first step is to just build
-vboot_reference outside of the chroot.
+Some libraries and programs (ex, PIL, pango-view) used in generating image files
+need fonts set properly or specific version (ex, PIL is broken inside chroot),
+and simpler to do OUTSIDE of the chroot.
- cd src/platform/vboot_reference
- make
+On Ubuntu, you need to install following packages:
+
+ sudo apt-get install libpango1.0-dev python-imaging
+
+And you probably want to make sure all required fonts are installed:
+
+ sudo apt-get install fonts-nanum fonts-ipafont-gothic ttf-indic-fonts \
+ fonts-droid
+
+If you want to use the "bitmap viewer" utility, add these packages:
+
+ sudo apt-get install python-yaml python-wxgtk2.8
-You'll probably need to install several additional packages to make this
-work. On Ubuntu you may find you need libtspi-dev, uuid-dev, and
-imagemagick. If you want to use scripts/newbitmaps/bitmap_viewer, you may
-need python-yaml and python-wxgtk2.8.
+We also need some utilities from ChromiumOS source tree. You need to install
+dependency libraries for them:
+ sudo apt-get install libtspi-dev uuid-dev libyaml-dev liblzml-dev
+
+Now, time to build the utilities in vboot_reference outside of the chroot:
+
+ cd src/platform/vboot_reference
+ make
Once you've built vboot_reference you'll find the executables in
-./build/utility/ (and ./build/cgpt/cgpt, if you want it). Put these
-somewhere in your $PATH.
+./build/utility/bmpblk*. Put these somewhere in your $PATH.
Now you should be able to just run "make" and everything will be
regenerated:
@@ -108,8 +121,15 @@ regenerated:
cd scripts/newbitmaps
make
-This should generate BIOS bmpblock file for all platforms.
+This should generate BIOS bmpblock file for all platforms cross all locales,
+which takes a long time.
+
+If you simply want to build a en-US x standard resolution, do:
+ cd scripts/newbitmaps
+ make strings # You can do this only one time unless mofidication was made.
+ cd images
+ make # Builds only "STD" profile and only few seconds.
You can use the gbb_utility to modify your BIOS to contain this new set of
bitmaps: