9elements/firmware-action
Build system for open source firmware (coreboot, linux, EDK2, ...) with unified builds across development and CI environments.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Build system for open source firmware (coreboot, linux, EDK2, ...) with unified builds across development and CI environments.
Basic Info
- Host: GitHub
- Owner: 9elements
- License: mit
- Language: Go
- Default Branch: main
- Homepage: https://9elements.github.io/firmware-action/
- Size: 1.29 MB
Statistics
- Stars: 19
- Watchers: 8
- Forks: 1
- Open Issues: 21
- Releases: 34
Topics
Metadata Files
README.md
Firmware-Action
Description
Firmware-action is a tool to simplify building firmware. Think of it as Makefile or Taskfile but specifically for firmware. The tool it-self is written entirely in Golang.
Motivation behind the creation is to unify building of firmware across development environments. The goal of firmware-action is to run on your local machine but also in your CI/CD pipeline, with the same configuration producing the same output.
There is also an independent python tool to prepare Docker containers to be used with firmware-action. These are hosted on GitHub and are freely available (no need to build any Docker containers yourself).
There is also a GitHub action integration allowing you to use firmware-action in your GitHub CI/CD.
At the moment firmware-action has modules to build:
- coreboot
- linux
- tianocore / edk2
- firmware stitching (populating IFD regions with binaries)
- u-root
- u-boot
- universal module (run arbitrary commands in arbitrary Docker container)
This list should expand in the future (see issue 56).
Firmware-action is using dagger under the hood, which makes it a rather versatile tool. When firmware-action is used, it automatically downloads user-specified Docker containers in which it will attempt to build the firmware.
If your firmware consists of multiple components, such as coreboot with linux as the payload, you can simply define each as a module and define dependency between them. Each module is built separately, but can use the output of another module as input. In the coreboot + linux example, you can call firmware-action to build coreboot recursively, which will also build linux due to the dependency definition. This way, you can build complex stacks of firmware in a single call.
Documentation is hosted in pages.
There is a standalone repository with usage examples at firmware-action-example.
Pre-compiled coreboot toolchains for docker containers are stored in separate directory firmware-action-toolchains.
Containers
We maintain multiple containers that can be freely used with firmware-action. They are hosted both in GitHub registry as well as in DockerHub.
DockerHub registry contains only releases, while GitHub registry contains also containers build on main branch.
Here is a list of all containers:
| Container | Maintained | Note |
| -------------------- | ---------- | ------------------------------------------ |
| coreboot4.19 | [x] | |
| coreboot4.20 | [ ] | discontinued in favor of 4.20.1 |
| coreboot4.20.1 | [x] | |
| coreboot4.21 | [x] | |
| coreboot4.22 | [ ] | discontinued in favor of 4.22.1 |
| coreboot4.22.01 | [x] | |
| coreboot24.02 | [ ] | discontinued in favor of 24.02.01 |
| coreboot24.02.01 | [x] | |
| coreboot24.05 | [x] | |
| coreboot25.03 | [x] | |
| udk2017 | [x] | |
| edk2-stable202008 | [x] | |
| edk2-stable202105 | [x] | |
| edk2-stable202111 | [x] | |
| edk2-stable202205 | [x] | |
| edk2-stable202208 | [x] | |
| edk2-stable202211 | [x] | |
| edk2-stable202302 | [x] | |
| edk2-stable202305 | [x] | |
| edk2-stable202308 | [x] | |
| edk2-stable202311 | [x] | |
| edk2-stable202402 | [x] | |
| edk2-stable202405 | [x] | |
| edk2-stable202408 | [ ] | discontinued in favor of stable202408.01 |
| edk2-stable202408.01 | [x] | |
| edk2-stable202411 | [x] | |
| edk2-stable202502 | [x] | |
| linux6.1.111 | [ ] | discontinued in favor of `linux6.1|
| linux_6.1.45 | [ ] | discontinued in favor oflinux6.1` |
| linux6.1 | [x] | |
| linux6.6.52 | [ ] | discontinued in favor of `linux6.6` |
| linux6.6 | [x] | |
| linux6.9.9 | [ ] | discontinued because not LTS |
| linux6.11 | [ ] | discontinued because not LTS |
| linux6.12 | [x] | |
| uroot0.14.0 | [x] | |
| uboot2025.01 | [x] | |
| uboot_2025.04 | [x] | |
Legacy containers
These were created by hand long time ago and since then have been replaced.
| Container | Maintained | Note | | --------------------------------------------------------------------------------- | ---------- | ------------ | | coreboot | [ ] | discontinued | | uefi | [ ] | discontinued |
Owner
- Name: 9elements
- Login: 9elements
- Kind: organization
- Location: Bochum, Germany
- Website: https://9elements.com
- Repositories: 185
- Profile: https://github.com/9elements
Digital product and design studio. High on code.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: firmware-action
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- name: 9elements
address: Kortumstraße 19-21
city: Bochum
country: DE
post-code: '44787'
email: contact@9elements.com
website: 'https://9elements.com/'
tel: +49-234-6894188
repository-code: 'https://github.com/9elements/firmware-action'
repository: 'https://github.com/9elements/firmware-action-example/'
abstract: >-
Firmware-action is a tool to simplify building firmware.
It is like Makefile or Taskfile but specifically for
firmware.
keywords:
- firmware
- coreboot
- u-boot
- linuxboot
- UEFI
- edk2
- BIOS
- GitHub action
license: MIT
GitHub Events
Total
- Create event: 586
- Release event: 18
- Issues event: 84
- Watch event: 9
- Delete event: 577
- Issue comment event: 284
- Push event: 956
- Pull request review comment event: 100
- Pull request review event: 420
- Pull request event: 573
- Fork event: 3
Last Year
- Create event: 586
- Release event: 18
- Issues event: 84
- Watch event: 9
- Delete event: 577
- Issue comment event: 284
- Push event: 956
- Pull request review comment event: 100
- Pull request review event: 420
- Pull request event: 573
- Fork event: 3
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| AtomicFS | v****y@9****m | 689 |
| dependabot[bot] | 4****] | 179 |
| AtomicFS | v****y@w****u | 27 |
| Marvin Drees | m****s@9****m | 19 |
| Patrick Rudolph | p****h@9****m | 13 |
| Vojtech Vesely | v****y@s****m | 5 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 81
- Total pull requests: 446
- Average time to close issues: 2 months
- Average time to close pull requests: 3 days
- Total issue authors: 4
- Total pull request authors: 5
- Average comments per issue: 0.67
- Average comments per pull request: 0.78
- Merged pull requests: 382
- Bot issues: 0
- Bot pull requests: 187
Past Year
- Issues: 38
- Pull requests: 381
- Average time to close issues: 26 days
- Average time to close pull requests: 2 days
- Issue authors: 3
- Pull request authors: 4
- Average comments per issue: 0.47
- Average comments per pull request: 0.71
- Merged pull requests: 323
- Bot issues: 0
- Bot pull requests: 187
Top Authors
Issue Authors
- AtomicFS (104)
- PatrickRudolph (7)
- LeanSheng (2)
- dependabot[bot] (2)
- mynetz (1)
- bcran (1)
Pull Request Authors
- AtomicFS (405)
- dependabot[bot] (276)
- github-actions[bot] (59)
- MDr164 (8)
- PatrickRudolph (7)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 4
- Total downloads: unknown
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 72
proxy.golang.org: github.com/9elements/firmware-action/cmd/firmware-action
Package main implements the core logic of running composable Dagger pipelines Documentation [is hosted in GitHub pages](https://9elements.github.io/firmware-action/)
- Homepage: https://github.com/9elements/firmware-action
- Documentation: https://pkg.go.dev/github.com/9elements/firmware-action/cmd/firmware-action#section-documentation
- License: MIT
Rankings
proxy.golang.org: github.com/9elements/firmware-action/action
Package main implements the core logic of running composable Dagger pipelines Documentation [is hosted in GitHub pages](https://9elements.github.io/firmware-action/)
- Homepage: https://github.com/9elements/firmware-action
- Documentation: https://pkg.go.dev/github.com/9elements/firmware-action/action#section-documentation
- License: MIT
-
Latest release: v0.0.0-20231103134955-934a72f88f5f
published over 2 years ago
Rankings
proxy.golang.org: github.com/9elements/firmware-action
- Homepage: https://github.com/9elements/firmware-action
- Documentation: https://pkg.go.dev/github.com/9elements/firmware-action#section-documentation
- License: MIT
-
Latest release: v0.18.0
published 6 months ago
Rankings
github actions: 9elements/firmware-action
Compile a selected firmware solution like coreboot, EDKII, OpenBMC and more
- Homepage: https://9elements.github.io/firmware-action/
- License: mit
-
Latest release: v0.18.0
published 6 months ago
Rankings
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- ./ * composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/setup-go v4 composite
- golangci/golangci-lint-action v3 composite
- oxsecurity/megalinter/flavors/cupcake v7 composite
- wagoid/commitlint-github-action v5 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- dist/invoke-action.mjs node20 javascript
- base latest build
- ubuntu jammy build
- ${INTERMEDIATE_IMAGE} latest build
- ${SOURCE_IMAGE} latest build
- base latest build
- ${SOURCE_IMAGE} latest build
- dagger.io/dagger v0.8.3
- github.com/99designs/gqlgen v0.17.36
- github.com/Khan/genqlient v0.6.0
- github.com/Masterminds/semver v1.5.0
- github.com/adrg/xdg v0.4.0
- github.com/davecgh/go-spew v1.1.1
- github.com/iancoleman/strcase v0.3.0
- github.com/mitchellh/go-homedir v1.1.0
- github.com/plus3it/gorecurcopy v0.0.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/sethvargo/go-envconfig v0.9.0
- github.com/sethvargo/go-githubactions v1.1.0
- github.com/stretchr/testify v1.8.4
- github.com/vektah/gqlparser/v2 v2.5.8
- golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63
- golang.org/x/sync v0.3.0
- golang.org/x/sys v0.11.0
- gopkg.in/yaml.v3 v3.0.1
- dagger.io/dagger v0.8.3
- github.com/99designs/gqlgen v0.17.36
- github.com/Khan/genqlient v0.6.0
- github.com/Masterminds/semver v1.5.0
- github.com/adrg/xdg v0.4.0
- github.com/agnivade/levenshtein v1.1.1
- github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883
- github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0
- github.com/davecgh/go-spew v1.1.0
- github.com/davecgh/go-spew v1.1.1
- github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48
- github.com/google/go-cmp v0.5.8
- github.com/iancoleman/strcase v0.3.0
- github.com/kr/pretty v0.1.0
- github.com/kr/pretty v0.2.1
- github.com/kr/pty v1.1.1
- github.com/kr/text v0.1.0
- github.com/mitchellh/go-homedir v1.1.0
- github.com/plus3it/gorecurcopy v0.0.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/sergi/go-diff v1.3.1
- github.com/sethvargo/go-envconfig v0.9.0
- github.com/sethvargo/go-githubactions v1.1.0
- github.com/stretchr/objx v0.1.0
- github.com/stretchr/testify v1.4.0
- github.com/stretchr/testify v1.7.0
- github.com/stretchr/testify v1.8.4
- github.com/vektah/gqlparser/v2 v2.5.8
- golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63
- golang.org/x/sync v0.3.0
- golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359
- golang.org/x/sys v0.11.0
- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
- gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15
- gopkg.in/yaml.v2 v2.2.2
- gopkg.in/yaml.v2 v2.4.0
- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
- gopkg.in/yaml.v3 v3.0.1
- 418 dependencies
- mega-linter-runner ^6.19.0 development
- PyYAML *
- anyio *
- dagger-io *
- humanize *
- prettytable *
- pytest *
- pytest-benchmark *
- pytest-cov *
- pytest-flake8 *
- pytest-pylint *
- pytest-timeout *