| commit | c0d0a16cb335b3a36e72490ece8a8030708ebbc8 | [log] [tgz] |
|---|---|---|
| author | Mike Frysinger <[email protected]> | Mon Sep 12 18:41:44 2022 |
| committer | Chromeos LUCI <[email protected]> | Tue Sep 13 13:55:41 2022 |
| tree | ae0f71fc5fdf9a085bf895a4eb19394d7c2cac53 | |
| parent | fc49054007a161e329c970e9a5267de284f8fd91 [diff] |
Update license boilerplate text in source code files Normally we don't do this, but enough changes have accumulated that we're doing a tree-wide one-off update of the name & style. BRANCH=None BUG=chromium:1098010 TEST=`repo upload` works Change-Id: I6db205486f6a5e1be734e456330b57d383a7e8bc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/bmpblk/+/3891181 Tested-by: Mike Frysinger <[email protected]> Commit-Queue: Mike Frysinger <[email protected]> Reviewed-by: Hung-Te Lin <[email protected]>
Note: Because the bitmaps are stored in RO firmware, back-porting any new bitmaps to already shipped devices is not possible.
To build images for board $BOARD with default locales, do:
(chroot) cd ~/trunk/src/platform/bmpblk (chroot) BOARD="$BOARD" make
To override the locale list defined in boards.yaml (for instance, to build with only English locale to speed up testing flow), pass LOCALES=<locale-list> as an environment variable. For example,
(chroot) LOCALES="en ja es" BOARD="$BOARD" make
The default output folder is ./build/$BOARD. To override output folder, specify OUTPUT=<path_to_output> as an environment variable.
Add an entry for the new board in boards.yaml. See the description at the top of boards.yaml. For example, add the following for board link:
link: screen: [1920, 1080] dpi: 112 # List of locales to include. locales: [en, es-419, pt-BR, fr, es, it, de, nl, da, 'no', sv, ko, he] # Right-to-left locales. rtl: [he]
Note: The locale no will be interpreted as boolean False in YAML, so we need to quote it as 'no'.
If your configuration is exactly the same as existing ones, add your new board into the existing entry. For example:
asurada,link: screen: [1920, 1080] dpi: 112 # DO NOT COPY-PASTE -- follow instructions at top of file.
After emerging chromeos-bmpblk, bitmaps will be stored in the following files:
vbgfx.bin: archive of generic (locale-independent) bitmapslocale_${LOCALE}.bin: archive of bitmaps for locale ${LOCALE}font.bin: archive of glyph bitmapsThese archive files for Chromium OS firmware will be created using the archive command from coreboot utils (src/third_party/coreboot/util/archive). These files will end up being stored in the FMAP region COREBOOT in the image.
To show these files in an image $IMAGE, run:
cbfstool $IMAGE print -r COREBOOT
To extract an archive $NAME from an image as $FILE, run:
cbfstool $IMAGE extract -r COREBOOT -n $NAME -f $FILE
Also see the firmware UI troubleshooting doc for bitmap-related issues.