Clone this repo:
  1. d1b6c0a firmware_builder: Migrate to parallel runs by Jon Murphy · 17 hours ago main
  2. 2c044ee firmware_builder: Add tests by Jon Murphy · 19 hours ago
  3. 6670653 firmware_builder: Add avb-enabled flag by Jon Murphy · 2 days ago
  4. 88670d2 ti50sdk: Update tag since github changed it by Jett Rink · 5 months ago factory-skywalker-16393.B firmware-ec-R137-16267.2.B firmware-ec-R138-16295.2.B firmware-ec-R139-16328.2.B firmware-ec-R140-16371.2.B firmware-ec-R141-16404.2.B firmware-skywalker-16378.B release-R137-16267.B release-R138-16295.B release-R139-16328.B release-R140-16371.B release-R141-16404.B stabilize-16267.43.B stabilize-16267.61.B stabilize-16267.66.B stabilize-16295.54.B stabilize-16295.65.B stabilize-16328.65.B stabilize-cfm-16295.54.B stabilize-hana-16295.54.B stabilize-pujjoga-16267.60.B stabilize-starline-16261.12.B stabilize-starline-16261.2.B stabilize-starline-16261.4.B stabilize-starline-16261.5.B stabilize-starline-16261.7.B stabilize-starline-16261.9.B stabilize-starline-16261.B stabilize-starline-16294.10.B stabilize-starline-16294.15.B stabilize-starline-16294.18.B stabilize-starline-16294.6.B stabilize-starline-16294.7.B stabilize-starline-16294.B stabilize-starline-16370.B stabilize-starline-16397.B stabilize-starline2-16295.54.B stabilize-starmie-16371.49.B stabilize-zork-16371.20.B
  5. d1e65b3 Correctly consume firmware_targets in bundle function. by Gilberto Contreras · 7 months ago firmware-ec-R136-16238.2.B release-R136-16238.B stabilize-16238.47.B stabilize-starline-16232.2.B stabilize-starline-16232.5.B stabilize-starline-16232.B stabilize-starline-16234.2.B stabilize-starline-16234.B stabilize-starline-16245.B stabilize-starline-16246.B

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.