{"id":13699200,"url":"https://github.com/pop-os/system76-firmware","last_synced_at":"2025-04-05T21:07:24.241Z","repository":{"id":31189373,"uuid":"127165499","full_name":"pop-os/system76-firmware","owner":"pop-os","description":"System76 Firmware Tool and Daemon","archived":false,"fork":false,"pushed_at":"2025-03-27T21:06:32.000Z","size":476,"stargazers_count":78,"open_issues_count":21,"forks_count":27,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-29T20:04:51.065Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pop-os.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-28T16:04:03.000Z","updated_at":"2025-03-27T21:06:24.000Z","dependencies_parsed_at":"2024-02-28T18:29:55.983Z","dependency_job_id":"228c1140-2bca-4461-b862-6062dbfa7574","html_url":"https://github.com/pop-os/system76-firmware","commit_stats":null,"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pop-os%2Fsystem76-firmware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pop-os%2Fsystem76-firmware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pop-os%2Fsystem76-firmware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pop-os%2Fsystem76-firmware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pop-os","download_url":"https://codeload.github.com/pop-os/system76-firmware/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399876,"owners_count":20932876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T20:00:19.825Z","updated_at":"2025-04-05T21:07:24.219Z","avatar_url":"https://github.com/pop-os.png","language":"Rust","funding_links":[],"categories":["Firmware Tools, Libraries, and Frameworks","Rust"],"sub_categories":[],"readme":"# system76-firmware\n\nThe system76-firmware package has a CLI tool for installing firmware updates. Also included is the system76-firmware-daemon package, which has a systemd service that exposes a DBUS API for handling firmware updates.\n\n## Dependencies\n\n- cargo\n- dbus\n- rustc\n- systemd\n\n## Make Targets\n\nThe following make targets are supported:\n\n- `make all` - compile all binaries\n- `make clean` - remove compiled binaries\n- `make install` - install binaries and configuration files\n- `make uninstall` - uninstall binaries and configuration file\n- `make vendor` - prepare source for offline compilation\n- `make distclean` - remove prepared source and compiled binaries\n\n## Installation\n\n```\nmake\nsudo make install\n```\n\n## Packaging\n\nIn order to package this, you need `cargo-vendor`:\n\n```\ncargo install cargo-vendor\n```\n\nYou can then run the following to create an offline-capable package:\n\n```\nmake vendor\n```\n\nNow you can compile and install the package.\n\nTo clean out the vendor source, you can run this command:\n\n```\nmake distclean\n```\n\n## API\n\nThe system76-firmware-daemon will download the latest firmware package, if it has\nchanged, and will provide a DBUS interface for a user to query the current firmware\nstatus, query the update information, and schedule an update.\n\nThe DBUS API is as follows:\n\n- `Bios() -\u003e (String model, String version)`\n  Query the BIOS model and version.\n- `EmbeddedController(Boolean primary) -\u003e (String project, String version)`\n  Query the embedded controller for project and version. Optionally, a second\n  embedded controller can be queried.\n- `ManagementEngine() -\u003e (Boolean enabled, String version)`\n  Query the ME status and version.\n- `Download() -\u003e (String digest, String changelog)`\n  Download the latest changelog information\n- `Schedule(String digest) -\u003e ()`\n  Prepare the latest firmware update for installation\n- `Unschedule() -\u003e ()`\n  Cancel installation of the latest firmware update\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpop-os%2Fsystem76-firmware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpop-os%2Fsystem76-firmware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpop-os%2Fsystem76-firmware/lists"}