bmcd
or 'BMC Daemon' is part of the
BMC-Firmware and is
responsible for hosting Restful APIs related to node management, and
configuration of a Turing-Pi 2 board.
This package will be built as part of the buildroot firmware located
here. If you want to
build bmcd in isolation, we recommend to use cargo cross
. Given you have a
Rust toolchain installed, execute the following commands:
# Install cross environment
cargo install cross --git https://github.com/cross-rs/cross
# Execute cross build command for the Turing-Pi target.
cross build --target armv7-unknown-linux-gnueabi --release --features vendored
# A self contained binary is build when the "vendored" feature flag is defined.
# i.e. Openssl will be statically linked into the binary. This is not desirable
# when building the actual BMC-Firmware, but works great for debugging scenario's.
# Copy to turing-pi.
scp target/armv7-unknown-linux-gnueabi/release/bmcd [email protected]:/usr/bin/