Clone this repo:

Branches

  1. bf97fae firmware: add blinky code for launchpad by Michał Headcrab Barnaś · 2 days ago main
  2. 51ee8fa firmware: prepare dockerfile to build the firmware by Michał Headcrab Barnaś · 3 days ago
  3. f4e89a2 README.md: update file with getting started instructions by Łukasz Hajec · 6 days ago
  4. c27ec90 maui: Standard boilerplate layout and presubmit checks. by Łukasz Hajec · 7 days ago
  5. fc35da5 maui: Initial check in with OWNERS and DIR_METADATA by Łukasz Hajec · 9 days ago

Maui

Maui is device to streamline DUT debugging by combining ADB, CCD, and power delivery functionalities. This repo would be used for: MCU Firmware: - based on Zephyr RTOS - control of on-board ICs: PDC, signal muxing, etc. - host interface Host Software: - Linux-based tools - Integration with standard Google debugging tools (adb, fastboot, servod), - Provide maintenance tools: all system components firmware updates, managing in fleet - General host interface for additional features: remote DUT disconnection, etc.

Getting started

Create a directory to checkout the Maui source:

mkdir maui_source
cd maui_source

Get the source code:

git clone https://chromium.googlesource.com/chromiumos/platform/hwtools/maui
cd maui

This repository uses pre-commit hooks to enforce code style. Please make sure you have them installed by running:

pip install pre-commit --break-system-packages
pre-commit install

To upload your changes to gerrit you can use:

git push origin HEAD:refs/for/main

Build firmware using Docker

While being in maui directory (root of this repository), execute:

docker build -t maui -f dockerfiles/Dockerfile .
docker run -it -v `pwd`:/repo maui:latest

This will generate a txt firmware file in firmware/build_docker/zephyr/zephyr.txt
This file can be used to flash Maui using BSL.