-
Notifications
You must be signed in to change notification settings - Fork 1
Building Environment
Before compiling the prplSecureBoot™ for the first time, you need to setup a building environment on your host machine. An install script will automatize the most of the steps. Around 900MB will be downloaded.
- Ubuntu 64-bit 14.04 LTS or higher. It should work on Debian as well;
- A PIC32MZ supported board;
- Cables for the corresponding board.
Note: The installation script supports only 64-bit systems.
- gcc-multilib;
- libc6:i386;
- libncurses5:i386;
- libstdc++6:i386;
- libexpat1-dev:i386;
- libX11-dev:i386;
- libXext-dev:i386;
- srecord;
- libconfig-dev;
- git.
- MPLABX IPE.
Install the git client.
sudo apt-get install gitClone the prplSecureBoot™ repository.
git clone https://github.com/prplfoundation/prpl-secure-bootThe git clone command will create a prpl-secure-boot folder. Now, you can perform the install-tools.sh script. This script will download and install the packages and tools needed to compile prpl-secure-boot. You can find the install-tools.sh script in the prpl-secure-boot/bin folder.
chmod +x prpl-secure-boot/scripts/install-tools.sh
sudo prpl-secure-boot/scripts/install-tools.sh
Follow the instruction on the screen. You will need to restart your computer after the installation.
If you have any problem with the install-tools.sh script, please, install the tools and packages manually following the steps here.