This guide will take you from a clean board and a clean computer to having a board with the image and being able to connect the substrate node to it.
We start with compiling the substrate node first, since it takes a while as well, and we can do it beforehand easily:
- Clone our substrate fork (
git clone -b teekeystore https://github.com/Zondax/substrate.git
- Navigate inside the clone and start building
cargo build --release
You'll probably need to install wasm support for rust. If the build fails, execute the following command and re-compile.
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-04-25
Now that we are compiling the substrate node in the background, we can move onto the images (which will also take long to build!).
You can check how to do it here
After we are done building our image(s) we can flash the micro SDcard with it.
Each board requires a bit different setup, like connecting what cable to where, but the objective is the same: powering on the device and connecting to the serial port to inspect the output on the tty and verify the service is running.
Please refer to the specific hardware setup page for