Skip to content

About

Official Repository for testing coreboot on QA devices.

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

49 Commits

Folders and files

Repository files navigation

coreboot-qa

FirmwareCI test definitions for QA-testing coreboot firmware on real and emulated devices.

What this repository contains

  • .firmwareci/ — the FirmwareCI project that drives the tests:
    • workflows — the test suites (e.g. Prodrive Hermes, QEMU), each a set of checks run against a device. The checks live in each workflow's tests/ directory.
    • DUTs — the devices under test the workflows run on (real hardware and QEMU boards), with their pre-/post-stage setup.
    • storage — the OS images the tests boot.
  • images/ + Taskfile.yaml — build the QEMU disk images used by the emulated targets (task build-images).
  • ci/jenkins.sh is the build step of the coreboot Jenkins job. It builds the roms and submits them to FirmwareCI.

How testing works

  1. For every Code-Review+2 vote on a patchset in Gerrit, Jenkins builds one coreboot.rom per target with ci/jenkins.sh.
  2. CI submits that rom to FirmwareCI, referencing this repository as the project (FWCI_PROJECT_LINK).
  3. FirmwareCI flashes/boots the rom on the matching DUT — real hardware (Prodrive Hermes) or an emulated board (QEMU) — and runs the workflow's checks: boot, serial output, coreboot tables (cbmem), PCI, SMBIOS, warm-reboot, and so on.
  4. Results are reported back per check to gerrit patchsets.

To add a target, add a DUT and a workflow under .firmwareci/, put its checks in the workflow's tests/ directory and build its rom in ci/jenkins.sh.

PR check

A PR that touches .firmwareci/, ci/, images/ or payloads/ builds the QEMU roms from coreboot main with ci/jenkins.sh and runs the QEMU-Q35 and QEMU-AArch64 workflows with the PR's tests on the GitHub runner. Hermes isn't part of it, the runner can't reach the board. To build another coreboot commit, start the build and test workflow by hand in the Actions tab.

CI targets

Workflow coreboot config Notes
QEMU-Q35 config.emulation_qemu_x86_q35_smm_tseg SeaBIOS payload, CONFIG_SEABIOS_HARDWARE_IRQ=n
Prodrive-Hermes config.prodrive_hermes.edk2 from the private blobs repo edk2 payload
QEMU-AArch64 config.emulation_qemu_aarch64_fit_support_timestamps payload is payloads/aarch64-hello/hello.elf from main, in the PR check from the PR

coreboot source

coreboot is developed upstream on Gerrit:

https://review.coreboot.org

About

Official Repository for testing coreboot on QA devices.

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages