git clone https://github.com/wolfSSL/wolfBoot.git
cd wolfBoot
git submodule init
git submodule update
Download these: https://github.com/wolfSSL/wolfBoot/archive/master.zip https://github.com/wolfSSL/wolfssl/archive/master.zip
- Extract wolfBoot
cd wolfBoot/lib
- Extact wolfSSL (should be named
lib/wolfssl
)
Directory should look like:
wolfBoot
-> config
-> docs
-> hal
-> IDE
-> include
-> lib
-> wolfssl
-> src
-> wolfcrypt/src
-> src
-> test-app
-> tools
Use make config
to walk-through setting up the platform, architecture and partition settings.
OR
Use the config/examples
as a template to wolfBoot root as .config
.
Example: cp ./config/examples/zynqmp.config .config
Use the key generation tool in tools/keytool
or get existing keys.
Copy rsa4096.der
to wolfBoot root
Copy rsa4096_pub_key.c
to ./src
make
QNX Example:
source ~/qnx700/qnxsdp-env.sh
make CROSS_COMPILE=aarch64-unknown-nto-qnx7.0.0-