Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 953 Bytes

File metadata and controls

34 lines (23 loc) · 953 Bytes

PLDM firmware update utility

The PLDM firmware update utility has moved.

This code has been refactored into the mctp-rs workspace, so we now have separate components for the MCTP, PLDM, and PLDM for Firmware Update code.

These have all been published as Rust crates too; this particular one is pldm-fw.


Simple utility to talk PLDM for Firmware Update (type 5) to a Firmware Device, using the Linux MCTP networking support.

Building

If cross compiling, an appropriate linker path needs to be added to either ~/.cargo/config.toml, or .cargo/config.toml in the source directory.

[target.armv7-unknown-linux-musleabihf]
linker = "arm-linux-gnueabihf-gcc"

Cross compile to an AST2600:

cargo build --release --target armv7-unknown-linux-musleabihf

Output executable is ./target/armv7-unknown-linux-musleabihf/release/pldm-fw