Crates.io | pldm-fw |
lib.rs | pldm-fw |
version | 0.1.0 |
source | src |
created_at | 2024-06-24 08:04:19.084805 |
updated_at | 2024-06-24 08:04:19.084805 |
description | Platform Level Data Model (PLDM) for Firmware Update library and utilities |
homepage | |
repository | https://github.com/CodeConstruct/mctp-rs |
max_upload_size | |
id | 1281970 |
size | 71,540 |
This crate provides a PLDM for Firmware Update ("PLDM type 5") implementation in Rust, both as a library and a small command-line utility.
PLDM type 5 is defined by DMTF DSP0267. This crate supports v1.1.0 and v1.2.0 of that specification.
The pldm-fw
library provides type definitions and serialisation
implementations for type-5 communication. The pkg
module provides support for
reading PLDM package files, which can then be used for updates
pldm-fw
utilityThe pldm-fw
utility uses the library to implement a fairly basic firmware
updater. pldm-fw
provides a few subcommands for querying a device's firmware
inventory, printing the contents of an update package, and applying an
update package to a device.
$ pldm-fw --help
Usage: pldm-fw <command> [<args>]
PLDM update utility
Options:
--help display usage information
Commands:
inventory Query FD inventory
update Update FD from a package file
cancel Cancel ongoing update
pkg-info Query package contents
version Print pldm-fw version
extract Extract package contents