diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2022-03-14 11:32:04 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-03-21 19:01:40 +0000 |
commit | 4d7c5c51b542bfc73b68d7395375d865f421d2d9 (patch) | |
tree | ec4892391ae142108407264561e718c982d37492 /docs | |
parent | 5596cd38c6ef1c1f7b378495e834ef63b383a94c (diff) | |
download | chrome-ec-4d7c5c51b542bfc73b68d7395375d865f421d2d9.tar.gz |
zephyr: remove Volteer board
Volteer was the first reference board with EC based on Zephyr. At this
stage of migrating to Zephyr, the support for Volteer can be dropped, so
remove volteer project.
BUG=b:218888909
TEST=zmake testall
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Ie78cc69e478267f45446b9d11fc2f433136ebfe0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3521781
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Dawid Niedzwiecki <dawidn@google.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reducing_ec_image_size.md | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/docs/reducing_ec_image_size.md b/docs/reducing_ec_image_size.md index 56fe78ae2d..5e09c99e51 100644 --- a/docs/reducing_ec_image_size.md +++ b/docs/reducing_ec_image_size.md @@ -13,7 +13,7 @@ The EC codebase supports two build types: 1. `cros-ec` builds are the legacy EC images built using Make (e.g. `make BOARD=volteer`) 1. `zephyr-ec` builds are the EC images built using the Zephyr RTOS kernel using - zmake/Cmake (e.g. `zmake build volteer`) + zmake/Cmake (e.g. `zmake build herobrine`) ### Checking a single cros-ec build @@ -88,17 +88,21 @@ By default, `zmake` will display the flash and SRAM usage of the board. ``` -$ zmake build volteer +$ zmake build herobrine ... -Building /mnt/host/source/src/platform/ec/build/zephyr/volteer:ro: /usr/bin/ninja -C /mnt/host/source/src/platform/ec/build/zephyr/volteer/build-ro +Building herobrine:ro: /usr/bin/ninja -C /mnt/host/source/src/platform/ec/build/zephyr/herobrine/build-ro +-- git describe warned: warning: tag 'upstream/v2.7.99' is externally known as 'v2.7.99' +-- Zephyr version: 3.0.99 (/mnt/host/source/src/third_party/zephyr/main), build: v2.7.99-5035-ga17c05c7228e Memory region Used Size Region Size %age Used - FLASH: 230852 B 512 KB 44.03% - SRAM: 51520 B 62 KB 81.15% + FLASH: 219920 B 256 KB 83.89% + SRAM: 49688 B 64 KB 75.82% IDT_LIST: 0 GB 2 KB 0.00% -Building /mnt/host/source/src/platform/ec/build/zephyr/volteer:rw: /usr/bin/ninja -C /mnt/host/source/src/platform/ec/build/zephyr/volteer/build-rw +Building herobrine:rw: /usr/bin/ninja -C /mnt/host/source/src/platform/ec/build/zephyr/herobrine/build-rw +-- git describe warned: warning: tag 'upstream/v2.7.99' is externally known as 'v2.7.99' +-- Zephyr version: 3.0.99 (/mnt/host/source/src/third_party/zephyr/main), build: v2.7.99-5035-ga17c05c7228e Memory region Used Size Region Size %age Used - FLASH: 230852 B 512 KB 44.03% - SRAM: 51520 B 62 KB 81.15% + FLASH: 219920 B 256 KB 83.89% + SRAM: 49688 B 64 KB 75.82% IDT_LIST: 0 GB 2 KB 0.00% ``` @@ -118,14 +122,14 @@ working outside the chroot. Follow the [instructions][1] for building zephyr-ec images outside chroot before running the commands below. ``` -# Configure the Volteer zephyr project, storing the build files in /tmp/zephyr-volteer -$ zmake configure -B /tmp/zephyr-volteer volteer +# Configure the Herobrine zephyr project, storing the build files in /tmp/zephyr-herobrine +$ zmake configure -B /tmp/zephyr-herobrine herobrine # Build the RO image -$ ninja -C /tmp/zephyr-volteer/volteer/build-ro +$ ninja -C /tmp/zephyr-herobrine/herobrine/build-ro # Generate the ROM report, report sent to stdout -$ ninja -C /tmp/zephyr-volteer/volteer/build-ro rom_report +$ ninja -C /tmp/zephyr-herobrine/herobrine/build-ro rom_report ``` Please refer to the [Zephyr Optimization Tools][3] documentation for details on |