Reland "firmware_builder: Add bundle steps for AP FW"

This reverts commit 1c6e4f840712e23c62feaaa9277cff10708ae4bd.

Reason for revert: Resolve issues and reland

Original change's description:
> Revert "firmware_builder: Add bundle steps for AP FW"
>
> This reverts commit cf691820cee8b213d441d30bec8b4495820d3bce.
>
> Reason for revert: Breaks postsubmit builder
>
> Original change's description:
> > firmware_builder: Add bundle steps for AP FW
> >
> > Add bundle steps for archives containing only the AP fw image
> >
> > BUG=b:452574478
> > TEST=CQ
> >
> > Change-Id: I96d7869e580053582e667f5adaa02bea7a6d4660
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/rules_cros_firmware/+/7098605
> > Tested-by: Jon Murphy <[email protected]>
> > Reviewed-by: Leandro Lovisolo <[email protected]>
> > Commit-Queue: Jon Murphy <[email protected]>
>
> BUG=b:452574478, b:456608946
>
> Change-Id: Ie544d8d919eff2be7c3e718b66d3bf252c8295f8
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/rules_cros_firmware/+/7106019
> Bot-Commit: Rubber Stamper <[email protected]>
> Owners-Override: Pin-yen Lin <[email protected]>
> Commit-Queue: Pin-yen Lin <[email protected]>

BUG=b:452574478, b:456608946
TEST=./firmware_builder.py --metrics /tmp/tmpe_2kqwkg \
     --firmware-targets=skywalker --output-dir /tmp/tmp6hx5bpsg \
     --metadata /tmp/tmp6hx5bpsg/firmware_metadata.jsonpb bundle

Change-Id: Ib6635cd41a8ce736a5d5805b584d8828f9087bf4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/rules_cros_firmware/+/7106998
Tested-by: Jon Murphy <[email protected]>
Reviewed-by: Raul Rangel <[email protected]>
Commit-Queue: Jon Murphy <[email protected]>
Auto-Submit: Jon Murphy <[email protected]>
1 file changed
tree: 6c90bcf0d69da9b5cf920bd557da88072600755e
  1. ap/
  2. cros_firmware/
  3. repositories/
  4. default.xml
  5. DIR_METADATA
  6. fwsdk_smoke_test.py
  7. OWNERS
  8. PRESUBMIT.cfg
  9. README.md
README.md

rules_cros_firmware

This repository contains Bazel rules for building AP and EC firmware. It's the core build logic for the Firmware SDK project.

Getting Started

At the moment, we have a separate repo manifest in this repository (see default.xml). This will change in the future, and is only for early experimentation.

To setup the checkout:

$ mkdir ~/fwsdk
$ cd ~/fwsdk
$ repo init -u https://chromium.googlesource.com/chromiumos/platform/rules_cros_firmware
$ repo sync

Formatting files

All files should be formatted using cros format. Pre-upload checks should validate you did this.

Submitting changes

At the moment, we do not have CI setup in this repository, and it's not part of the main ChromeOS build, so changes should be chumped.

At a later point we'll have some CI going.