Skip to content

turing-machines/bmcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bmcd

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.

Building

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/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages