Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 1.15 KB

INSTALL.md

File metadata and controls

68 lines (51 loc) · 1.15 KB

wolfBoot Setup Instructions

Gathering Sources

Git Command Line

git clone https://github.com/wolfSSL/wolfBoot.git
cd wolfBoot
git submodule init
git submodule update

Using browser only

Download these: https://github.com/wolfSSL/wolfBoot/archive/master.zip https://github.com/wolfSSL/wolfssl/archive/master.zip

  1. Extract wolfBoot
  2. cd wolfBoot/lib
  3. 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

Configuration

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

Setup the Key

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

Building

make

Building with Cross Compile

QNX Example:

source ~/qnx700/qnxsdp-env.sh
make CROSS_COMPILE=aarch64-unknown-nto-qnx7.0.0-